You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jano Svitok (Jira)" <ji...@apache.org> on 2020/03/07 06:16:00 UTC

[jira] [Comment Edited] (THRIFT-5111) CI fails with error[E0721]: `await` is a keyword in the 2018 edition

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

Jano Svitok edited comment on THRIFT-5111 at 3/7/20, 6:15 AM:
--------------------------------------------------------------

Rust 1.36 compiles fine as well. This: [https://github.com/rust-lang/rust/issues/57919] suggest that it was a bug in rust, fixed in 1.36.0


was (Author: janosvitok):
Rust 1.36 compiles fine as well. This: [https://github.com/rust-lang/rust/issues/57919] suggest that it was a but in rust, fixed in 1.36.0

> CI fails with error[E0721]: `await` is a keyword in the 2018 edition
> --------------------------------------------------------------------
>
>                 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)