Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error #1

Open
developerworks opened this issue Oct 2, 2023 · 0 comments
Open

Compile error #1

developerworks opened this issue Oct 2, 2023 · 0 comments

Comments

@developerworks
Copy link

error[E0277]: the trait bound `SubscribeError: std::error::Error` is not satisfied
   --> convex-ffi/src/lib.rs:170:1
    |
170 | #[uniffi::export(async_runtime = "tokio")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `SubscribeError`
    |
    = help: the trait `FfiConverter<UT>` is implemented for `Result<R, E>`
    = note: required for `Result<Arc<Subscription>, SubscribeError>` to implement `FfiConverter<UniFfiTag>`
    = note: this error originates in the attribute macro `uniffi::export` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `SubscribeError: std::error::Error` is not satisfied
   --> convex-ffi/src/lib.rs:170:1
    |
170 | #[uniffi::export(async_runtime = "tokio")]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `SubscribeError`
    |
    = help: the trait `FfiConverter<UT>` is implemented for `Result<R, E>`
    = note: required for `Result<Value, SubscribeError>` to implement `FfiConverter<UniFfiTag>`
    = note: this error originates in the attribute macro `uniffi::export` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `convex-ffi` (lib) due to 2 previous errors

Env:

  • MacOS
  • rustc 1.72.1 (d5c2e9c34 2023-09-13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant