[ https://issues.apache.org/jira/browse/THRIFT-4395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271558#comment-16271558 ]
ASF GitHub Bot commented on THRIFT-4395: ---------------------------------------- Github user jeking3 commented on the issue: https://github.com/apache/thrift/pull/1421 Well thank goodness for CI builds, I forgot to update the tutorial package file! > 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.10.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)