From 7c35f27ad3e86614c05a2a409c3a8b459cf023ac Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Thu, 13 Dec 2018 14:38:13 -0800 Subject: [PATCH] Workaround for Rust 1.31 crash with verbose mode enabled (#162) This branch replaces the `export CARGO_VERBOSE=1` on CI release-mode builds with the `travis_wait` script. Verbose mode was previously being set to prevent long release-mode builds from timing out. However, there appears to be a bug in `rustc` 1.31.0, which causes the compiler to crash when building the proxy with verbose mode enabled. Hopefully, this will fix the build on master. Signed-off-by: Eliza Weisman --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 55c208f2f..ff23f2d24 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,11 +22,11 @@ jobs: # build.l5d.io/linkerd2-proxy/latest.txt is updated to reference the latest # uploaded binary. - if: type != pull_request - # Verbose is enabled so that the build doesn't timeout. - install: export CARGO_RELEASE=1 CARGO_VERBOSE=1 + install: export CARGO_RELEASE=1 script: - - make clean-package package - - make test + # travis-wait is used so that the build doesn't timeout. + - travis_wait 30 make clean-package package + - travis_wait 30 make test rust: stable deploy: on: