You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mario Emmenlauer (Jira)" <ji...@apache.org> on 2020/02/24 21:54:00 UTC

[jira] [Comment Edited] (THRIFT-5111) CI fails with error[E0658]: use of unstable library feature 'futures_api': futures in libcore are unstable (see issue #50547)

    [ https://issues.apache.org/jira/browse/THRIFT-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043863#comment-17043863 ] 

Mario Emmenlauer edited comment on THRIFT-5111 at 2/24/20 9:53 PM:
-------------------------------------------------------------------

In [https://github.com/r-darwish/alma/issues/23] it is suggested that this issue is resolved in rust 1.36 or above. This is supported by [https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#the-alloc-crate-is-stable] where it is explicitly mentioned that the "alloc" create was not stable before.


was (Author: emmenlau):
In [https://github.com/r-darwish/alma/issues/23] it is suggested that this issue is resolved in rust 1.36 or above.

> CI fails with error[E0658]: use of unstable library feature 'futures_api': futures in libcore are unstable (see issue #50547)
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-5111
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5111
>             Project: Thrift
>          Issue Type: Bug
>          Components: Rust - Library
>         Environment: Travis
>  
>            Reporter: Jens Geyer
>            Priority: Blocker
>              Labels: ci-failure
>
> There are quite a bunch of misc error[E0658] instances, this is just the last one:
> {code}
>     Building [====>                                                     ] 4/46
> error[E0658]: use of unstable library feature 'futures_api': futures in libcore are unstable (see issue #50547)
>   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.4/src/future.rs:52:57
>    
>       impl<F, T, E> Sealed for F where F: ?Sized + Future<Output = Result<T, E>> {}
>                                                             ^^^^^^^^^^^^^^^^^^^^^
>     Building [====>                                                     ] 4/46
>     Building [====>                                                     ] 4/46
> error: aborting due to 47 previous errors
>     Building [====>                                                     ] 4/46
>     Building [====>                                                     ] 4/46
> For more information about this error, try `rustc --explain E0658`.
>     Building [====>                                                     ] 4/46
> error: Could not compile `futures-core`.
> warning: build failed, waiting for other jobs to finish...
>     Building [====>                                                     ] 4/46
> error: build failed
> Makefile:821: recipe for target 'all-local' failed
> make[4]: *** [all-local] Error 101
> make[4]: Leaving directory '/thrift/src/lib/rs'
> Makefile:538: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory '/thrift/src/lib/rs'
> Makefile:579: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/thrift/src/lib'
> Makefile:679: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/thrift/src'
> Makefile:595: recipe for target 'all' failed
> make: *** [all] Error 2
> travis_time:end:0d3adeac:start=1582460968290556973,finish=1582461732057692906,duration=763767135933,event=script
> The command "build/docker/run.sh" exited with 2.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)