Open ZhangHanDong opened 2 years ago
I haven't seen this particular message before, but I've seen similar messages sometimes. When I've seen them though they were a warning merely, sometimes the result of drawing "zero" geometries.
Are you seeing this as an error message or is this just output but otherwise cargo-ui works fine?
I came across the same issue today, as I was using the SOIL to load texture, still don't know how to solve it
I came across the same issue today, as I was using the SOIL to load texture, still don't know how to solve it
do you know how to solve it now?
any updates?
@FloVanGH can you reproduce this on your Apple silicon machine? (Using the femtovg renderer, not Qt)
@tronical
not that but I cannot build it.
Compiling libssh2-sys v0.2.23
error[E0277]: `<<I as IvarType>::Type as InnerIvarType>::Output` is not an iterator
--> /Users/flovansl/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.3.0-beta.3.patch-leaks.2/src/declare/ivar_forwarding_impls.rs:165:5
|
165 | fn nth(&mut self, n: usize) -> Option<<<Self as Deref>::Target as Iterator>::Item> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `<<I as IvarType>::Type as InnerIvarType>::Output` is not an iterator
|
= help: the trait `Iterator` is not implemented for `<<I as IvarType>::Type as InnerIvarType>::Output`
note: required for `ivar::Ivar<I>` to implement `Iterator`
--> /Users/flovansl/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.3.0-beta.3.patch-leaks.2/src/declare/ivar_forwarding_impls.rs:154:19
|
154 | impl<I: IvarType> Iterator for Ivar<I>
| ^^^^^^^^ ^^^^^^^
155 | where
156 | <Self as Deref>::Target: Iterator,
| -------- unsatisfied trait bound introduced here
help: consider further restricting the associated type
|
165 | fn nth(&mut self, n: usize) -> Option<<<Self as Deref>::Target as Iterator>::Item> where <<I as IvarType>::Type as InnerIvarType>::Output: Iterator {
| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
error[E0277]: `<<I as IvarType>::Type as InnerIvarType>::Output` is not an iterator
--> /Users/flovansl/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.3.0-beta.3.patch-leaks.2/src/declare/ivar_forwarding_impls.rs:165:5
|
165 | fn nth(&mut self, n: usize) -> Option<<<Self as Deref>::Target as Iterator>::Item> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `<<I as IvarType>::Type as InnerIvarType>::Output` is not an iterator
|
= help: the trait `Iterator` is not implemented for `<<I as IvarType>::Type as InnerIvarType>::Output`
help: consider further restricting the associated type
|
165 | fn nth(&mut self, n: usize) -> Option<<<Self as Deref>::Target as Iterator>::Item> where <<I as IvarType>::Type as InnerIvarType>::Output: Iterator {
| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Compiling winit v0.27.5
Compiling dark-light v1.0.0
Compiling qttypes v0.2.8
With stable I can build and cannot reproduce the error of the issue.
This error also happening when am trying passing texture using sf::Shader::setUniform. Can be related to that.
This error also happening when am trying passing texture using sf::Shader::setUniform. Can be related to that.
Could you elaborate what sf::Shader::setUniform
is?
Execute
cargo ui
on macbook m1(stable-aarch64-apple-darwin):