You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Yuxuan Wang (Jira)" <ji...@apache.org> on 2021/08/17 20:54:00 UTC
[jira] [Created] (THRIFT-5457) Travis fails consistently on a Rust
dependency
Yuxuan Wang created THRIFT-5457:
-----------------------------------
Summary: Travis fails consistently on a Rust dependency
Key: THRIFT-5457
URL: https://issues.apache.org/jira/browse/THRIFT-5457
Project: Thrift
Issue Type: Bug
Components: Rust - Library
Affects Versions: 0.15.0
Reporter: Yuxuan Wang
This is an [example travis build|https://app.travis-ci.com/github/apache/thrift/jobs/532057468] (it seem to only fail on the Autotools Ubuntu Bionic task but not the Autotools Ubuntu Xenial task):
{noformat}
/root/.cargo/bin/cargo clippy --all -- -D warnings
Compiling libc v0.2.99
Compiling autocfg v1.0.1
Compiling log v0.4.14
Checking cfg-if v1.0.0
Checking unicode-width v0.1.8
Checking bitflags v1.3.2
Checking vec_map v0.8.2
Checking integer-encoding v3.0.2
Checking ansi_term v0.11.0
Checking byteorder v1.4.3
Checking strsim v0.8.0
Compiling num-traits v0.2.14
Checking textwrap v0.11.0
Checking num_cpus v1.13.0
Checking atty v0.2.14
Checking threadpool v1.8.1
Checking clap v2.33.3
Checking ordered-float v1.1.1
Checking thrift v0.16.0 (/thrift/src/lib/rs)
error[E0723]: loops and conditional expressions are not stable in const fn
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.33.3/src/app/settings.rs:7:1
|
7 | / bitflags! {
8 | | struct Flags: u64 {
9 | | const SC_NEGATE_REQS = 1;
10 | | const SC_REQUIRED = 1 << 1;
... |
51 | | }
52 | | }
| |_^
|
= note: for more information, see issue https://github.com/rust-lang/rust/issues/57563
= help: add `#![feature(const_fn)]` to the crate attributes to enable
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0723]: loops and conditional expressions are not stable in const fn
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.33.3/src/args/settings.rs:6:1
|
6 | / bitflags! {
7 | | struct Flags: u32 {
8 | | const REQUIRED = 1;
9 | | const MULTIPLE = 1 << 1;
... |
28 | | }
29 | | }
| |_^
|
= note: for more information, see issue https://github.com/rust-lang/rust/issues/57563
= help: add `#![feature(const_fn)]` to the crate attributes to enable
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0723`.
error: could not compile `clap`.{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)