-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
$ cargo install cocoonfs-cli 101 ↵
Updating crates.io index
Installing cocoonfs-cli v0.1.1
Updating crates.io index
Locking 75 packages to latest compatible versions
Adding generic-array v0.14.7 (available: v0.14.9)
Compiling typenum v1.19.0
[...]
Compiling cocoonfs-cli v0.1.1
error[E0308]: mismatched types
--> /home/osteffen/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cocoonfs-cli-0.1.1/src/main.rs:905:26
|
893 | let (transaction, rng) = match NvFsFutureAsCoreFuture::new(
| ____________________________________________-
894 | | fs_instance.clone(),
895 | | <CocoonFsType as NvFs>::write_inode(
896 | | &cocoonfs_mk_fs_instance_ref(&fs_instance),
... |
903 | | .block_on()
| |_______________________- this expression has type `Result<(Box<dyn RngCoreDispatchable + Send>, (Zeroizing<Vec<u8>>, ...)), ...>`
904 | {
905 | Ok((rng, Ok((transaction, _data, Ok(()))))) => (transaction, rng),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(Zeroizing<Vec<u8>>, Result<..., ...>)`, found `Result<_, _>`
|
= note: expected tuple `(Zeroizing<Vec<u8>>, Result<(cocoonfs::fs::Transaction, Result<(), NvFsError>), NvFsError>)`
found enum `Result<_, _>`
= note: the full name for the type has been written to '/tmp/cargo-installm0YdfA/release/deps/cocoonfs-63b5f2d19d7caac9.long-type-16384373978775605255.txt'
= note: consider using `--verbose` to print the full type name to the console
error[E0308]: mismatched types
--> /home/osteffen/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cocoonfs-cli-0.1.1/src/main.rs:906:24
|
893 | let (transaction, rng) = match NvFsFutureAsCoreFuture::new(
| ____________________________________________-
894 | | fs_instance.clone(),
895 | | <CocoonFsType as NvFs>::write_inode(
896 | | &cocoonfs_mk_fs_instance_ref(&fs_instance),
... |
903 | | .block_on()
| |_______________________- this expression has type `Result<(Box<dyn RngCoreDispatchable + Send>, (Zeroizing<Vec<u8>>, ...)), ...>`
...
906 | Ok((_, Ok((_, _, Err(e))))) | Ok((_, Err(e))) | Err(e) => {
| ^^^^^^^^^^^^^^^^^^ expected `(Zeroizing<Vec<u8>>, Result<..., ...>)`, found `Result<_, _>`
|
= note: expected tuple `(Zeroizing<Vec<u8>>, Result<(cocoonfs::fs::Transaction, Result<(), NvFsError>), NvFsError>)`
found enum `Result<_, _>`
= note: the full name for the type has been written to '/tmp/cargo-installm0YdfA/release/deps/cocoonfs-63b5f2d19d7caac9.long-type-16384373978775605255.txt'
= note: consider using `--verbose` to print the full type name to the console
error[E0308]: mismatched types
--> /home/osteffen/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cocoonfs-cli-0.1.1/src/main.rs:906:54
|
893 | let (transaction, rng) = match NvFsFutureAsCoreFuture::new(
| ____________________________________________-
894 | | fs_instance.clone(),
895 | | <CocoonFsType as NvFs>::write_inode(
896 | | &cocoonfs_mk_fs_instance_ref(&fs_instance),
... |
903 | | .block_on()
| |_______________________- this expression has type `Result<(Box<dyn RngCoreDispatchable + Send>, (Zeroizing<Vec<u8>>, ...)), ...>`
...
906 | Ok((_, Ok((_, _, Err(e))))) | Ok((_, Err(e))) | Err(e) => {
| ^^^^^^ expected `(Zeroizing<Vec<u8>>, Result<..., ...>)`, found `Result<_, _>`
|
= note: expected tuple `(Zeroizing<Vec<u8>>, Result<(cocoonfs::fs::Transaction, Result<(), NvFsError>), NvFsError>)`
found enum `Result<_, _>`
= note: the full name for the type has been written to '/tmp/cargo-installm0YdfA/release/deps/cocoonfs-63b5f2d19d7caac9.long-type-16384373978775605255.txt'
= note: consider using `--verbose` to print the full type name to the console
For more information about this error, try `rustc --explain E0308`.
error: could not compile `cocoonfs-cli` (bin "cocoonfs") due to 3 previous errors
error: failed to compile `cocoonfs-cli v0.1.1`, intermediate artifacts can be found at `/tmp/cargo-installm0YdfA`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels