A Rust job somehow uses wrong compiler version installed by another job

Here’s the thread pull:


So jobs 161.1 and 161.8 use the same cache ID!

That’s because their configuration only differs in job name and script. Cache ID is computed from OS image, language version and environment variables as specified in .yml (see What is the cache ID for a job generated from? How can staged jobs use the same cache? for source code links). Job name and script are not considered!


It looks like whoever was using MIRI= envvar in Travis CI - Test and Deploy with Confidence (huh, that was actually you) was doing that for a reason! But they forgot to leave a comment in yml explaining their decision, letting that knowledge become lost!