thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jano Svitok (Jira)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-5111) CI fails with error[E0721]: `await` is a keyword in the 2018 edition
Date Sat, 07 Mar 2020 08:28:00 GMT

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

Jano Svitok commented on THRIFT-5111:
-------------------------------------

I've made experimental [https://github.com/apache/thrift/pull/2050]. It got past that rust
error. Now there are few more ones:
 * test/test.py requires python at least 3.3. (2.7 is provided) [https://travis-ci.org/apache/thrift/jobs/659453130#L21076]
https://travis-ci.org/apache/thrift/jobs/659453131#L21076
 * Lisp failed with some permission denied https://travis-ci.org/apache/thrift/jobs/659453132#L20562
 * js failed with TypeError: [https://travis-ci.org/apache/thrift/jobs/659453136#L6123]

Note: In PR 2050 I've cherrypicked one commit from PR 2048 - I propose that you merge/cherry
pick only that commit (15f44ef8db, swift upgrade), and leave the rest for later, since cross
tests are not ready yet.

> 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
>          Time Spent: 10m
>  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)

Mime
View raw message