You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/11/30 02:35:00 UTC
[jira] [Updated] (THRIFT-4395) Unable to build in the ubuntu-xenial
docker image: clap 2.28 requires Rust 1.20
[ https://issues.apache.org/jira/browse/THRIFT-4395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King, III updated THRIFT-4395:
---------------------------------------
Affects Version/s: (was: 0.10.0)
0.11.0
> Unable to build in the ubuntu-xenial docker image: clap 2.28 requires Rust 1.20
> -------------------------------------------------------------------------------
>
> Key: THRIFT-4395
> URL: https://issues.apache.org/jira/browse/THRIFT-4395
> Project: Thrift
> Issue Type: Bug
> Components: Rust - Library
> Affects Versions: 0.11.0
> Environment: docker image ubuntu-xenial
> Reporter: James E. King, III
> Assignee: James E. King, III
> Priority: Blocker
> Fix For: 0.11.0
>
>
> bitflags-1.0.0 and later is incompatible with Rust 1.19 and earlier
> clap has to be limited to under 2.28 in order for builds to keep working.
> {noformat}
> /usr/bin/cargo build
> Updating registry `https://github.com/rust-lang/crates.io-index`
> Compiling bitflags v1.0.1
> Compiling integer-encoding v1.0.4
> Compiling num-traits v0.1.40
> Compiling byteorder v1.1.0
> error: expected ident, found #
> --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.0.1/src/lib.rs:423:29
> |
> 423 | #[allow(deprecated)]
> | ^
> |
> ::: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.0.1/src/example_generated.rs
> |
> 4 | bitflags! {
> | - in this macro invocation
> error: Could not compile `bitflags`.
> Build failed, waiting for other jobs to finish...
> error: build failed
> Makefile:634: recipe for target 'check' failed
> make[1]: *** [check] Error 101
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)