-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch between nightly and stable causes buildfailure #454
Comments
Going to be solved by #666 |
Did it solve it? Been merged but this is still open. Would that also solve the case of switching between two different nightly versions (same version number, different date)? |
It is indeed solved and can be closed. |
Sweet! Thx |
@repl note that you need to flush your cache (redis, memcached or whatever backend you are using) - wrongly versioned binary artifacts are still cached there which will cause you to see errors until they are removed. Alternatively |
Ah thanks for the heads up! |
We upgraded to f502075 on
@drahnr any ideas of what else could be incorrect? |
As a matter of fact, testing focused on switching between stable and nightly, I'll give it a shot soon and post the shell helper function I use to wipe sccache |
@repi did not get around to looking into it any futher, this is my cleanup helper: function cachewipe {
killall sccache
rm -r ./target || true
rm -r ~/.cache/sccache* || true
redis-cli -u redis://1.2.3.4:6379/2 flushall || true
export SCCACHE_RECACHE=1
} followed by |
We use a GCS bucket for our sccache storage, which we've wiped manually and works, but as there are nightly releases every few days or so this gets tricky as every update would need a full cache wipe. |
Tried to reproduce this today, to no avail. Logs would be much appreciated or at least a command sequence consistently reproducing the issue. |
cargo +nightly b
after accidentally runningcargo b
where the default toolchain isstable
The text was updated successfully, but these errors were encountered: