You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0277]: a value of type Vec<*const i8> cannot be built from an iterator over elements of type *const u8
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/fuse-0.2.8/src/channel.rs:65:67
|
65 | let argptrs: Vec<*const i8> = args.iter().map(|s| s.as_ptr()).collect();
| ^^^^^^^ value of type Vec<*const i8> cannot be built from std::iter::Iterator<Item=*const u8>
|
= help: the trait FromIterator<*const u8> is not implemented for Vec<*const i8>
note: required by a bound in collect
error[E0308]: mismatched types
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/fuse-0.2.8/src/channel.rs:66:54
|
66 | f(&fuse_args { argc: argptrs.len() as i32, argv: argptrs.as_ptr(), allocated: 0 })
| ^^^^^^^^^^^^^^^^ expected u8, found i8
|
= note: expected raw pointer *const *const u8
found raw pointer *const *const i8
Some errors have detailed explanations: E0277, E0308.
For more information about an error, try rustc --explain E0277.
error: failed to compile qcow2-fuse v0.1.1, intermediate artifacts can be found at /tmp/cargo-installJLmlCk
Caused by:
could not compile fuse due to 2 previous errors
root@primary:~#
The text was updated successfully, but these errors were encountered:
OS: Ubuntu 22.04 LTS
CPU: arm64
error[E0277]: a value of type
Vec<*const i8>
cannot be built from an iterator over elements of type*const u8
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/fuse-0.2.8/src/channel.rs:65:67
|
65 | let argptrs: Vec<*const i8> = args.iter().map(|s| s.as_ptr()).collect();
| ^^^^^^^ value of type
Vec<*const i8>
cannot be built fromstd::iter::Iterator<Item=*const u8>
|
= help: the trait
FromIterator<*const u8>
is not implemented forVec<*const i8>
note: required by a bound in
collect
error[E0308]: mismatched types
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/fuse-0.2.8/src/channel.rs:66:54
|
66 | f(&fuse_args { argc: argptrs.len() as i32, argv: argptrs.as_ptr(), allocated: 0 })
| ^^^^^^^^^^^^^^^^ expected
u8
, foundi8
|
= note: expected raw pointer
*const *const u8
found raw pointer
*const *const i8
Some errors have detailed explanations: E0277, E0308.
For more information about an error, try
rustc --explain E0277
.error: failed to compile
qcow2-fuse v0.1.1
, intermediate artifacts can be found at/tmp/cargo-installJLmlCk
Caused by:
could not compile
fuse
due to 2 previous errorsroot@primary:~#
The text was updated successfully, but these errors were encountered: