Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

Fail to build runtime 0.3.0-alpha.6 from crates.io #90

Closed
oxalica opened this issue Aug 14, 2019 · 1 comment · Fixed by #92
Closed

Fail to build runtime 0.3.0-alpha.6 from crates.io #90

oxalica opened this issue Aug 14, 2019 · 1 comment · Fixed by #92

Comments

@oxalica
Copy link
Contributor

oxalica commented Aug 14, 2019

Steps to reproduce:

  1. cargo init
  2. Add runtime = "=0.3.0-alpha.6" as dependency.
  3. cargo build, and it fails with the following log:
   ...
   Compiling futures-timer v0.2.1
error[E0277]: the trait bound `ext::TimeoutStream<S>: futures_core::stream::Stream` is not satisfied
   --> /home/oxa/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-timer-0.2.1/src/ext.rs:170:9
    |
170 | impl<S> TryStream for TimeoutStream<S>
    |         ^^^^^^^^^ the trait `futures_core::stream::Stream` is not implemented for `ext::TimeoutStream<S>`
    |
    = note: required because of the requirements on the impl of `futures_core::stream::private_try_stream::Sealed` for `ext::TimeoutStream<S>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.
error: Could not compile `futures-timer`.
warning: build failed, waiting for other jobs to finish...
error: build failed

My rustc version is rustc 1.38.0-nightly (8a58268b5 2019-07-31).

Current master compiles well with futures-timer bumped.

Seems simply bumping and publishing 0.3.0-alpha.7 will fix it.

@taiki-e taiki-e mentioned this issue Aug 18, 2019
3 tasks
@taiki-e
Copy link
Contributor

taiki-e commented Aug 22, 2019

Published runtime 0.3.0-alpha.7 which fixes this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants