Skip to content

kagami Install Issue #515

@SamJones56

Description

@SamJones56

When using "cargo install --git https://github.com/hyperledger-iroha/iroha.git iroha_kagami" get a build fail

Image

"
error[E0107]: struct takes 1 lifetime argument but 2 lifetime arguments were supplied
--> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mv-0.1.0/src/storage.rs:308:61
|
308 | pub(crate) iter: concread::internals::bptree::iter::Iter<'slf, 'slf, K, V>,
| ^^^^ ------ help: remove the lifetime argument
| |
| expected 1 lifetime argument
|
note: struct defined here, with 1 lifetime parameter: 'n
--> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/concread-0.5.4/src/internals/bptree/iter.rs:306:12
|
306 | pub struct Iter<'n, K, V>
| ^^^^ --

error[E0107]: struct takes 1 lifetime argument but 2 lifetime arguments were supplied
--> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mv-0.1.0/src/storage.rs:313:61
|
313 | pub(crate) iter: concread::internals::bptree::iter::RangeIter<'slf, 'slf, K, V>,
| ^^^^^^^^^ ------ help: remove the lifetime argument
| |
| expected 1 lifetime argument
|
note: struct defined here, with 1 lifetime parameter: 'n
--> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/concread-0.5.4/src/internals/bptree/iter.rs:422:12
|
422 | pub struct RangeIter<'n, K, V>
| ^^^^^^^^^ --

For more information about this error, try rustc --explain E0107.
error: could not compile mv (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile iroha_kagami v2.0.0-rc.1.0 (https://github.com/hyperledger-iroha/iroha.git#d9683fca), intermediate artifacts can be found at /tmp/cargo-installOa3MAh.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions