Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5111

CI fails with error[E0721]: `await` is a keyword in the 2018 edition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.14.0
    • Rust - Library
    • Travis
       

    Description

      There are quite a bunch of misc error[E0658] instances, this is just the last one:

          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.
      

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            janosvitok Jano Svitok
            jensg Jens Geyer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m