Hi! I'm trying to build an empty application with Conrod (v0.61.1) as dependency on OSX (high sierra 10.13.6) and I got this error:
error[E0282]: type annotations needed
--> /Users/iota/.cargo/registry/src/github.com-1ecc6299db9ec823/cocoa-0.15.0/src/appkit.rs:526:9
|
526 | msg_send![self, releaseGlobally];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider giving `result` a type
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0282]: type annotations needed
--> /Users/iota/.cargo/registry/src/github.com-1ecc6299db9ec823/cocoa-0.15.0/src/appkit.rs:2849:9
|
2849 | msg_send![self, setBezelStyle:style];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider giving `result` a type
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0282]: type annotations needed
--> /Users/iota/.cargo/registry/src/github.com-1ecc6299db9ec823/cocoa-0.15.0/src/appkit.rs:3454:9
|
3454 | msg_send![self, setEditable:editable];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider giving `result` a type
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0282]: type annotations needed
--> /Users/iota/.cargo/registry/src/github.com-1ecc6299db9ec823/cocoa-0.15.0/src/appkit.rs:3457:9
|
3457 | msg_send![self, setStringValue:label];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider giving `result` a type
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
What am I doing wrong?
According to cargo-tree this crate cocoa 0.15.0 is required by:
glutin v0.17.0 required by glium v0.22.0 required by conrod v0.61.1
I don't know if this would actually fix your issue, but would you consider trying with conrod_core v0.70 and conrod_glium v0.70? conrod v0.61 is quite outdated.
Hi! I'm trying to build an empty application with Conrod (v0.61.1) as dependency on OSX (high sierra 10.13.6) and I got this error:
What am I doing wrong? According to
cargo-tree
this cratecocoa 0.15.0
is required by:glutin v0.17.0
required byglium v0.22.0
required byconrod v0.61.1