Description
$ brew upgrade rust
Updating Homebrew...
==> Upgrading 1 outdated package, with result:
rust 1.24.1 -> 1.27.0
==> Upgrading rust
==> Downloading https://static.rust-lang.org/dist/rustc-1.27.0-src.tar.gz
Already downloaded: /Users/tomthornhill/Library/Caches/Homebrew/rust-1.27.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/rust/1.27.0 --release-channel=stable
==> make
Last 15 lines from /Users/tomthornhill/Library/Logs/Homebrew/rust/02.make:
Compiling rustc_asan v0.0.0 (file:///private/tmp/rust-20180627-37269-nj9tsn/rustc-1.27.0-src/src/librustc_asan)
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
error: Could not compile core
.
Caused by:
process didn't exit successfully: /private/tmp/rust-20180627-37269-nj9tsn/rustc-1.27.0-src/build/bootstrap/debug/rustc --crate-name core libcore/lib.rs --error-format json --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=d6fce06e1bd3d804 -C extra-filename=-d6fce06e1bd3d804 --out-dir /private/tmp/rust-20180627-37269-nj9tsn/rustc-1.27.0-src/build/x86_64-apple-darwin/stage1-std/x86_64-apple-darwin/release/deps --target x86_64-apple-darwin -L dependency=/private/tmp/rust-20180627-37269-nj9tsn/rustc-1.27.0-src/build/x86_64-apple-darwin/stage1-std/x86_64-apple-darwin/release/deps -L dependency=/private/tmp/rust-20180627-37269-nj9tsn/rustc-1.27.0-src/build/x86_64-apple-darwin/stage1-std/release/deps
(signal: 6, SIGABRT: process abort signal)
command did not execute successfully: "/private/tmp/rust-20180627-37269-nj9tsn/rustc-1.27.0-src/build/x86_64-apple-darwin/stage0/bin/cargo" "build" "--target" "x86_64-apple-darwin" "--release" "--features" "panic-unwind jemalloc backtrace" "--manifest-path" "/private/tmp/rust-20180627-37269-nj9tsn/rustc-1.27.0-src/src/libstd/Cargo.toml" "--message-format" "json"
expected success, got: exit code: 101
thread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1091:9
note: Run with RUST_BACKTRACE=1
for a backtrace.
failed to run: /private/tmp/rust-20180627-37269-nj9tsn/rustc-1.27.0-src/build/bootstrap/debug/bootstrap build
Build completed unsuccessfully in 1:07:56
make: *** [all] Error 1
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
Rust won't upgrade Homebrew/homebrew-core#29360
Error: You are using macOS 10.10.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
Error: You have MacPorts or Fink installed:
/opt/local/bin/port
This can cause trouble. You don't have to uninstall them, but you may want to
temporarily move them out of the way, e.g.
sudo mv /opt/local ~/macports
Error: You are using macOS 10.10.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.