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: 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:~#
OS: Ubuntu 22.04 LTS CPU: arm64
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:67Vec<*const i8>
cannot be built fromstd::iter::Iterator<Item=*const u8>
note: required by a bound in
collect
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 compileqcow2-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:~#