https://pantsbuild.org/ logo
#development
Title
# development
b

bitter-ability-32190

10/12/2022, 2:00 PM
Copy code
Please install Rustup and ensure `rustup` is on your PATH (usually by adding ~/.cargo/bin). See <https://rustup.rs>.
@happy-kitchen-89482 related to your changes? https://github.com/pantsbuild/pants/actions/runs/3231220886/jobs/5296430521
h

happy-kitchen-89482

10/12/2022, 2:32 PM
Not sure what’s going on there. I had that too, but it seems unrelated to my changes, especially since this job did successfully restore the Rust toolchain from cache.
I ssh’d in to the self-hosted runners, and reinstalled rustup
b

bitter-ability-32190

10/12/2022, 2:32 PM
Thanks! I'll re-kick
h

happy-kitchen-89482

10/12/2022, 2:32 PM
it was supposed to be installed but was indeed not found when I tried to access it in the remote shell
so that might have been it
b

bitter-ability-32190

10/12/2022, 2:32 PM
weird 🙈
Ah no dice 😕
h

happy-kitchen-89482

10/12/2022, 2:42 PM
Yeah, for me too
but note, different machine this time (macOS 10.15 x86-64, previously was macOS 11 on ARM)
Both of those are self-hosted on macstadium
Oh, they both failed
harrumph
I’m not sure what changed there
b

bitter-ability-32190

10/12/2022, 2:44 PM
My poor innocent changes are in CI jail. 😭
let me in
h

happy-kitchen-89482

10/12/2022, 2:44 PM
The CI script itself installs rustup only on linux, for reasons I’m also not sure about, since it is supposed to be preinstalled on the runner
b

bitter-ability-32190

10/12/2022, 2:45 PM
lol, so we install it on the machines it isn't needed and don't on the machines that do? That's
not
a hard problem to fix 😛
h

happy-kitchen-89482

10/12/2022, 2:45 PM
oooooooooooooooooooooooooooh
no, it has always worked
b

bitter-ability-32190

10/12/2022, 2:46 PM
The self-hosted runners aren't ephemeral though. I can see a world where it was installed out-of-band, so "just worked"
h

happy-kitchen-89482

10/12/2022, 2:46 PM
I think the Cargo caching job - not yet merged into main - is actively deleting rustup…
👀 2
which is why it works once and then stops working for other jobs…
b

bitter-ability-32190

10/12/2022, 2:47 PM
LOL
"Known issues: might email your boss on a late Sunday saying that you quit immediately"
1
h

happy-kitchen-89482

10/12/2022, 2:47 PM
why….
b

bitter-ability-32190

10/12/2022, 2:48 PM
A GitHub Action that implements smart caching ...
(emphasis mine)
h

happy-kitchen-89482

10/12/2022, 2:49 PM
b

bitter-ability-32190

10/12/2022, 2:49 PM
lol I see your thumbs down 😛
h

happy-kitchen-89482

10/12/2022, 2:49 PM
I mean…
b

bitter-ability-32190

10/12/2022, 2:58 PM
Thanks for looking into this ❤️
h

happy-kitchen-89482

10/12/2022, 3:02 PM
ok, try again now
I’ve reinstalled rustup
on those two self-hosted machines
and I’ll fork that action and edit it
w

witty-crayon-22786

10/12/2022, 4:36 PM
oh fun … sorry for recommending a boondoggle.
h

happy-kitchen-89482

10/12/2022, 5:33 PM
Other than this it’s a good action!
w

witty-crayon-22786

10/12/2022, 5:34 PM
heh
h

happy-kitchen-89482

10/12/2022, 5:34 PM
It handles a lot of murky stuff