# Stable Rust channel outdated

**URL:** <https://travis-ci.community/t/stable-rust-channel-outdated/4213>\
**Category:** Rust\
**Created:** [July 14, 2019, 8:33pm UTC](https://travis-ci.community/t/stable-rust-channel-outdated/4213 "2019-07-14T20:33:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [September 26, 2019, 2:20am UTC](https://travis-ci.community/t/stable-rust-channel-outdated/4213/3 "2019-09-26T02:20:49Z")

</div>

I think this is a variation of

> [@CI using one month old version of rust nightly](https://travis-ci.community/t/ci-using-one-month-old-version-of-rust-nightly/4502/5):
>
> I see the problem more clearly now. I think this is a problem with the Rust installer no longer updating nightlies. In [https://travis-ci.org/hyperium/h2/jobs/546966455#L446](https://travis-ci.org/hyperium/h2/jobs/546966455#L446) and [https://travis-ci.org/hyperium/h2/jobs/551001348#L450](https://travis-ci.org/hyperium/h2/jobs/551001348#L450), you see that the installer recognizes the existing nightly installation, but still updates it. However, the next one [https://travis-ci.org/hyperium/h2/jobs/551930277#L448](https://travis-ci.org/hyperium/h2/jobs/551930277#L448) no longer does. This seems to be a problem with [rustup.rs](https://github.com/rust-lang/rustup.rs). I’ve reported the problem at

where the cache in `~/.cargo` is preventing `rustup` from installing the newer version even when one is available.

This issue was fixed by

> <https://github.com/travis-ci/travis-build/pull/1758>
>
> See https://github.com/rust-lang/rustup.rs/issues/1964#issuecomment-517948825
> 
> …
> and https://travis-ci.community/t/ci-using-one-month-old-version-of-rust-nightly/4502

which adds an extra step to run `rustup update` to fix the issue.

My guess, then, is that this step is generally desirable for named Rust channels.

Please try adding `rustup update` before any of your steps and report the results with URLs.

Thanks.

---

_[View the full topic](https://travis-ci.community/t/stable-rust-channel-outdated/4213)._
