error[E0107]: struct takes 3 generic arguments but 2 generic arguments were supplied
--> /home/arch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cbindgen-0.26.0/src/bindgen/ir/item.rs:84:11
|
84 | data: IndexMap<Path, ItemValue<T>>,
| ^^^^^^^^ ---- ------------ supplied 2 generic arguments
| |
| expected 3 generic arguments
|
note: struct defined here, with 3 generic parameters: `K`, `V`, `S`
--> /home/arch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:76:12
|
76 | pub struct IndexMap<K, V, S> {
| ^^^^^^^^ - - -
help: add missing generic argument
|
84 | data: IndexMap<Path, ItemValue<T>, S>,
| +++
For more information about this error, try `rustc --explain E0107`.
error: could not compile `cbindgen` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-c v0.9.29+cargo-0.76.0`, intermediate artifacts can be found at `/tmp/cargo-installxSECzg`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
cargo +nightly install cargo-c -Z build-std --target x86_64-pc-windows-gnullvm