Currently it looks like half of the Travis tests would always fail on Rust
related issues:
===== 8< =====
/root/.cargo/bin/cargo clippy --all -- -D warnings
Compiling libc v0.2.126
Compiling autocfg v1.1.0
Compiling log v0.4.17
Checking cfg-if v1.0.0
Checking integer-encoding v3.0.4
error: attributes are not yet allowed on `if` expressions
...
Checking byteorder v1.4.3
error: aborting due to 10 previous errors
error: could not compile `integer-encoding`.
warning: build failed, waiting for other jobs to finish...
error: build failed
===== >8 =====
Can anyone familiar with Rust help fix the issue?