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

[jira] [Resolved] (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:all-tabpanel ]

Jens Geyer resolved THRIFT-5111.
--------------------------------
    Fix Version/s: 0.14.0
         Assignee: Jano Svitok
       Resolution: Fixed

> 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
>            Assignee: Jano Svitok
>            Priority: Blocker
>              Labels: ci-failure
>             Fix For: 0.14.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)