Skip to content

fix: add lint ignores to paperclip unit struct (#514) #104

fix: add lint ignores to paperclip unit struct (#514)

fix: add lint ignores to paperclip unit struct (#514) #104

Triggered via push October 13, 2023 19:00
Status Failure
Total duration 2m 19s
Artifacts

docs.yml

on: push
Matrix: GitHub Pages
Fit to window
Zoom out
Zoom in

Annotations

995 errors and 5 warnings
GitHub Pages (nightly)
Process completed with exit code 1.
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
accessing first element with `self.variants().get(0)`: src/v2/codegen/object.rs#L1008
error: accessing first element with `self.variants().get(0)` --> src/v2/codegen/object.rs:1008:28 | 1008 | if let Some(var) = self.variants().get(0) { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.variants().first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L991
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:991:48 | 991 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `field.delimiting.get(0)`: src/v2/codegen/impls.rs#L929
error: accessing first element with `field.delimiting.get(0)` --> src/v2/codegen/impls.rs:929:48 | 929 | if let Some(CollectionFormat::Multi) = field.delimiting.get(0) { | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `field.delimiting.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::get_first)]`
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<T>` is implemented for `std::vec::Vec<T>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2049:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3340d49d22b1aba425779767278c40781826c2f5/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3340d49d22b1aba425779767278c40781826c2f5/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: for that trait implementation, expected `indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`, found `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/3340d49d22b1aba425779767278c40781826c2f5/library/core/src/iter/traits/iterator.rs:2050:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3340d49d22b1aba425779767278c40781826c2f5/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3340d49d22b1aba425779767278c40781826c2f5/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3340d49d22b1aba425779767278c40781826c2f5/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3340d49d22b1aba425779767278c40781826c2f5/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3340d49d22b1aba425779767278c40781826c2f5/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3340d49d22b1aba425779767278c40781826c2f5/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<T>` is implemented for `std::vec::Vec<T>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2049:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/eeff92ad32c2627876112ccfe812e19d38494087/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/eeff92ad32c2627876112ccfe812e19d38494087/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: for that trait implementation, expected `indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`, found `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/eeff92ad32c2627876112ccfe812e19d38494087/library/core/src/iter/traits/iterator.rs:2050:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/eeff92ad32c2627876112ccfe812e19d38494087/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/eeff92ad32c2627876112ccfe812e19d38494087/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/eeff92ad32c2627876112ccfe812e19d38494087/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/eeff92ad32c2627876112ccfe812e19d38494087/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/eeff92ad32c2627876112ccfe812e19d38494087/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/eeff92ad32c2627876112ccfe812e19d38494087/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/de686cbc65478db53e3d51c52497685e852cc092/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/de686cbc65478db53e3d51c52497685e852cc092/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: for that trait implementation, expected `indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`, found `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/de686cbc65478db53e3d51c52497685e852cc092/library/core/src/iter/traits/iterator.rs:2050:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/de686cbc65478db53e3d51c52497685e852cc092/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/de686cbc65478db53e3d51c52497685e852cc092/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/de686cbc65478db53e3d51c52497685e852cc092/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/de686cbc65478db53e3d51c52497685e852cc092/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/de686cbc65478db53e3d51c52497685e852cc092/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/de686cbc65478db53e3d51c52497685e852cc092/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<T>` is implemented for `std::vec::Vec<T>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2049:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<T>` is implemented for `std::vec::Vec<T>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2049:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: for that trait implementation, expected `indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`, found `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/iter/traits/iterator.rs:2050:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<T>` is implemented for `std::vec::Vec<T>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2049:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/445177724ac2beebf4faa5a3ffacb2adbe7e7846/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/445177724ac2beebf4faa5a3ffacb2adbe7e7846/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: for that trait implementation, expected `indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`, found `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/445177724ac2beebf4faa5a3ffacb2adbe7e7846/library/core/src/iter/traits/iterator.rs:2050:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/445177724ac2beebf4faa5a3ffacb2adbe7e7846/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/445177724ac2beebf4faa5a3ffacb2adbe7e7846/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/445177724ac2beebf4faa5a3ffacb2adbe7e7846/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/445177724ac2beebf4faa5a3ffacb2adbe7e7846/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/445177724ac2beebf4faa5a3ffacb2adbe7e7846/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/445177724ac2beebf4faa5a3ffacb2adbe7e7846/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<T>` is implemented for `std::vec::Vec<T>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2049:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/6a62871320e262661bb1a0ea7f8aec9d3abeddf2/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/6a62871320e262661bb1a0ea7f8aec9d3abeddf2/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: for that trait implementation, expected `indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`, found `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/6a62871320e262661bb1a0ea7f8aec9d3abeddf2/library/core/src/iter/traits/iterator.rs:2050:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/6a62871320e262661bb1a0ea7f8aec9d3abeddf2/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/6a62871320e262661bb1a0ea7f8aec9d3abeddf2/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/6a62871320e262661bb1a0ea7f8aec9d3abeddf2/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/6a62871320e262661bb1a0ea7f8aec9d3abeddf2/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/6a62871320e262661bb1a0ea7f8aec9d3abeddf2/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/6a62871320e262661bb1a0ea7f8aec9d3abeddf2/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3f28fe133475ec5faf3413b556bf3cfb0d51336c/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3f28fe133475ec5faf3413b556bf3cfb0d51336c/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: for that trait implementation, expected `indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`, found `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/3f28fe133475ec5faf3413b556bf3cfb0d51336c/library/core/src/iter/traits/iterator.rs:2050:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3f28fe133475ec5faf3413b556bf3cfb0d51336c/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3f28fe133475ec5faf3413b556bf3cfb0d51336c/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3f28fe133475ec5faf3413b556bf3cfb0d51336c/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3f28fe133475ec5faf3413b556bf3cfb0d51336c/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3f28fe133475ec5faf3413b556bf3cfb0d51336c/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3f28fe133475ec5faf3413b556bf3cfb0d51336c/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<T>` is implemented for `std::vec::Vec<T>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2049:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/f704f3b93b1543cf504ecca0052f9f8531b1f61f/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/f704f3b93b1543cf504ecca0052f9f8531b1f61f/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: for that trait implementation, expected `indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`, found `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/f704f3b93b1543cf504ecca0052f9f8531b1f61f/library/core/src/iter/traits/iterator.rs:2050:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/f704f3b93b1543cf504ecca0052f9f8531b1f61f/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/f704f3b93b1543cf504ecca0052f9f8531b1f61f/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/f704f3b93b1543cf504ecca0052f9f8531b1f61f/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/f704f3b93b1543cf504ecca0052f9f8531b1f61f/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/f704f3b93b1543cf504ecca0052f9f8531b1f61f/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/f704f3b93b1543cf504ecca0052f9f8531b1f61f/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/5ac4c8a63ee305742071ac6dd11817f7c24adce2/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/5ac4c8a63ee305742071ac6dd11817f7c24adce2/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: for that trait implementation, expected `indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`, found `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/5ac4c8a63ee305742071ac6dd11817f7c24adce2/library/core/src/iter/traits/iterator.rs:2050:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/5ac4c8a63ee305742071ac6dd11817f7c24adce2/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/5ac4c8a63ee305742071ac6dd11817f7c24adce2/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/5ac4c8a63ee305742071ac6dd11817f7c24adce2/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/5ac4c8a63ee305742071ac6dd11817f7c24adce2/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/5ac4c8a63ee305742071ac6dd11817f7c24adce2/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/5ac4c8a63ee305742071ac6dd11817f7c24adce2/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<T>` is implemented for `std::vec::Vec<T>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2049:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<T>` is implemented for `std::vec::Vec<T>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2049:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3d0e6bed600c0175628e96f1118293cf44fb97bd/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3d0e6bed600c0175628e96f1118293cf44fb97bd/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: for that trait implementation, expected `indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`, found `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/3d0e6bed600c0175628e96f1118293cf44fb97bd/library/core/src/iter/traits/iterator.rs:2050:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3d0e6bed600c0175628e96f1118293cf44fb97bd/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3d0e6bed600c0175628e96f1118293cf44fb97bd/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3d0e6bed600c0175628e96f1118293cf44fb97bd/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3d0e6bed600c0175628e96f1118293cf44fb97bd/library/core/src/iter/traits/iterator.rs:2633:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3d0e6bed600c0175628e96f1118293cf44fb97bd/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/3d0e6bed600c0175628e96f1118293cf44fb97bd/library/core/src/iter/traits/iterator.rs:2633:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/contact.rs#L9
error[E0308]: mismatched types --> core/src/v3/contact.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/tag.rs#L9
error[E0308]: mismatched types --> core/src/v3/tag.rs:9:25 | 9 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L60
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:60:33 | 60 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L51
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:51:41 | 51 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L43
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:43:41 | 43 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/security_scheme.rs#L35
error[E0308]: mismatched types --> core/src/v3/security_scheme.rs:35:41 | 35 | ... 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/schema.rs#L180
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/schema.rs#L180
error[E0282]: type annotations needed --> core/src/v3/schema.rs:180:59 | 180 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 181 | i.insert(b.0.to_string(), b.1.deref().clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 180 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/schema.rs#L33
error[E0308]: mismatched types --> core/src/v3/schema.rs:33:37 | 33 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L96
error[E0308]: mismatched types --> core/src/v3/response.rs:96:33 | 96 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L95
error[E0308]: mismatched types --> core/src/v3/response.rs:95:28 | 95 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L93
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L75
error[E0308]: mismatched types --> core/src/v3/response.rs:75:30 | 75 | headers: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L59
error[E0308]: mismatched types --> core/src/v3/response.rs:59:20 | 59 | links: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L58
error[E0308]: mismatched types --> core/src/v3/response.rs:58:25 | 58 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L53
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/response.rs#L16
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/response.rs#L16
error[E0282]: type annotations needed --> core/src/v3/response.rs:16:51 | 16 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 17 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 16 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/request_body.rs#L57
error[E0308]: mismatched types --> core/src/v3/request_body.rs:57:29 | 57 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L54
error[E0308]: mismatched types --> 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-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L24
error[E0308]: mismatched types --> core/src/v3/request_body.rs:24:25 | 24 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/request_body.rs#L22
error[E0308]: mismatched types --> core/src/v3/request_body.rs:22:23 | 22 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/paths.rs#L29
error[E0308]: mismatched types --> core/src/v3/paths.rs:29:25 | 29 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/operation.rs#L124
error[E0308]: mismatched types --> core/src/v3/operation.rs:124:25 | 124 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>`: core/src/v3/operation.rs#L120
error[E0277]: a value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from an iterator over elements of type `indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>` --> core/src/v3/operation.rs:120:26 | 120 | .collect(), | ^^^^^^^ value of type `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` | = help: the trait `std::iter::FromIterator<indexmap::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` is not implemented for `std::vec::Vec<indexmap::map::IndexMap<std::string::String, std::vec::Vec<std::string::String>>>` = help: the trait `std::iter::FromIterator<T>` is implemented for `std::vec::Vec<T>` note: the method call chain might not have had the expected associated types --> 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 `std::iter::Iterator::collect` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2049:5
mismatched types: core/src/v3/operation.rs#L91
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/operation.rs#L91
error[E0282]: type annotations needed --> core/src/v3/operation.rs:91:55 | 91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| { | ^^^^^ ... 94 | i.insert( | - type must be known at this point | help: consider giving this closure parameter an explicit type | 91 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/openapi.rs#L97
error[E0308]: mismatched types --> core/src/v3/openapi.rs:97:25 | 97 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L89
error[E0308]: mismatched types --> core/src/v3/openapi.rs:89:29 | 89 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L80
error[E0308]: mismatched types --> core/src/v3/openapi.rs:80:37 | 80 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/openapi.rs#L48
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L35
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L30
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
mismatched types: core/src/v3/openapi.rs#L23
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed --> core/src/v3/openapi.rs:23:47 | 23 | .fold(indexmap::IndexMap::new(), |mut i, b| { | ^^^^^ 24 | i.insert(b.0.to_string(), b.1.clone().into()); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 23 | .fold(indexmap::IndexMap::new(), |mut i: /* Type */, b| { | ++++++++++++
mismatched types: core/src/v3/license.rs#L8
error[E0308]: mismatched types --> core/src/v3/license.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/info.rs#L13
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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::IndexMap<_, _>` due to the type of the argument passed --> 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/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/iter/traits/iterator.rs:2632:8
type annotations needed: core/src/v3/info.rs#L14
error[E0282]: type annotations needed --> core/src/v3/info.rs:14:18 | 14 | |mut i, (k, v)| { | ^^^^^ 15 | i.insert(k, v); | - type must be known at this point | help: consider giving this closure parameter an explicit type | 14 | |mut i: /* Type */, (k, v)| { | ++++++++++++
mismatched types: core/src/v3/header.rs#L13
error[E0308]: mismatched types --> core/src/v3/header.rs:13:23 | 13 | examples: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L12
error[E0308]: mismatched types --> core/src/v3/header.rs:12:25 | 12 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
mismatched types: core/src/v3/header.rs#L10
error[E0308]: mismatched types --> 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::IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | 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.4/src/parameter.rs:58:5 | 58 | Content(Content), | ^^^^^^^
mismatched types: core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types --> core/src/v3/external_documentation.rs:8:25 | 8 | extensions: indexmap::IndexMap::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>` | = note: `indexmap::IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types note: `indexmap::IndexMap<_, _>` is defined in crate `indexmap` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.1.0/src/map.rs:81:1 | 81 | 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-1.9.3/src/map.rs:71:1 | 71 | pub struct IndexMap<K, V, S = RandomState> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `indexmap` are being used?
GitHub Pages (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
GitHub Pages (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
GitHub Pages (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
GitHub Pages (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
GitHub Pages (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/