hashmismatch / freertos.rs

A Rust wrapper for FreeRTOS.
232 stars 22 forks source link

Build broken #18

Closed marcelbuesing closed 5 years ago

marcelbuesing commented 6 years ago

I assume this is due to changes in the latest Rust version. Also happens to me using rustc 1.28.0and rustc 1.30.0-nightly

error[E0207]: the type parameter `O` is not constrained by the impl trait, self type, or predicates
   --> src/patterns/processor.rs:164:9
    |
164 | impl<I, O> ProcessorClient<I, SharedClientWithReplyQueue<O>> where I: ReplyableMessage + Copy, O: Copy {
    |         ^ unconstrained type parameter
error[E0207]: the type parameter `O` is not constrained by the impl trait, self type, or predicates
   --> src/patterns/processor.rs:175:9
    |
175 | impl<I, O> ProcessorClient<InputMessage<I>, SharedClientWithReplyQueue<O>> where I: Copy, O: Copy {
    |         ^ unconstrained type parameter
riaqn commented 6 years ago

There is this error in the log too:

error[E0432]: unresolved import `alloc::arc`
  --> src/prelude/no_std.rs:17:16
   |
17 | pub use alloc::arc::{Arc, Weak};
   |                ^^^ Could not find `arc` in `alloc`
rudib commented 5 years ago

Fixed.