Skip to content

i run the this command -> cargo install --git https://github.com/bwasty/gltf-viewer.git and i get this error which is added in the description #67

Description

@ugurberkecan

error[E0282]: type annotations needed --> /Users/ugurberkecanunlu/.cargo/registry/src/github.com-1ecc6299db9ec823/cocoa-0.17.0/src/appkit.rs:527:9 | 527 | msg_send![self, releaseGlobally]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider giving resulta type | = note: this error originates in the macromsg_send` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed
--> /Users/ugurberkecanunlu/.cargo/registry/src/github.com-1ecc6299db9ec823/cocoa-0.17.0/src/appkit.rs:2850:9
|
2850 | msg_send![self, setBezelStyle:style];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider giving result a type
|
= note: this error originates in the macro msg_send (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed
--> /Users/ugurberkecanunlu/.cargo/registry/src/github.com-1ecc6299db9ec823/cocoa-0.17.0/src/appkit.rs:3455:9
|
3455 | msg_send![self, setEditable:editable];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider giving result a type
|
= note: this error originates in the macro msg_send (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0282]: type annotations needed
--> /Users/ugurberkecanunlu/.cargo/registry/src/github.com-1ecc6299db9ec823/cocoa-0.17.0/src/appkit.rs:3458:9
|
3458 | msg_send![self, setStringValue:label];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider giving result a type
|
= note: this error originates in the macro msg_send (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try rustc --explain E0282.
error: could not compile cocoa due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile gltf-viewer v0.4.2-alpha.0 (https://github.com/bwasty/gltf-viewer.git#1cb99cb5), intermediate artifacts can be found at `/var/folders/vd/nwlpps592kj1xz_wldzvtwlr0000gn/T/cargo-install5VjFeu``

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions