Zulip Chat Archive

Stream: mathlib4

Topic: Style lint job fails


Michael Rothgang (May 26 2025 at 09:54):

Over at #23909, the lint-style job fails now --- both for CI-related reasons. (The error message says lake not found; that PR doesn't touch any .yml files.) CC @Anne Baanen since you modified that job recently.

Michael Stoll (May 26 2025 at 09:55):

Compare #mathlib4 > Is there a problem with Lake at the moment? @ 💬

Anne Baanen (May 26 2025 at 09:55):

This seems to be curl failing in lean-action but not actually causing the workflow to fail:

curl: (22) The requested URL returned error: 404

elan: command failed: curl -sSfL https://github.com/leanprover/elan/releases/latest/download/elan-x86_64-unknown-linux-gnu.tar.gz

/home/runner/work/_actions/leanprover/lean-action/f807b338d95de7813c5c50d018f1c23c9b93b4ec/scripts/install_elan.sh: line 12: /home/runner/.elan/bin/lean: No such file or directory

/home/runner/work/_actions/leanprover/lean-action/f807b338d95de7813c5c50d018f1c23c9b93b4ec/scripts/install_elan.sh: line 13: /home/runner/.elan/bin/lake: No such file or directory

Anne Baanen (May 26 2025 at 09:57):

(Shall we merge the two threads?)

Anne Baanen (May 26 2025 at 09:58):

The CI issue seems to be related to having a new Lake release that is only compiled for Apple: https://github.com/leanprover/elan/releases/tag/v4.1.2

Michael Rothgang (May 26 2025 at 09:58):

The other thread has two issues, IIUC - let's use this for the style-lint issue?

Yaël Dillies (May 26 2025 at 09:58):

Same over at #24149

Michael Rothgang (May 26 2025 at 09:59):

So all "important" mathlib CI jobs are borked right now, correct? Wow, that's bad.

Michael Rothgang (May 26 2025 at 10:00):

CC @Sebastian Ullrich since you just released a new elan version

Damiano Testa (May 26 2025 at 10:00):

It looks like lake build is still running, but all PRs will fail CI anyway.

Michael Rothgang (May 26 2025 at 10:00):

Does the cache generation and upload still work?

Damiano Testa (May 26 2025 at 10:01):

I don't know, the PR that I am running through CI right now needs to rebuild all of mathlib.

Anne Baanen (May 26 2025 at 10:02):

So as far as I can tell, what seems to have happened is the ongoing GitHub issues caused the Elan release to fail for all but one build, and that build ended up creating the release anyway.

Damiano Testa (May 26 2025 at 10:03):

I have been able to download the cache for #25203, so I think that the "Build" CI is working correctly.

Robin Carlier (May 26 2025 at 10:03):

in #24809 (which I updated recently) the cache generation upload worked correctly (despite the lint-style failure)

Anne Baanen (May 26 2025 at 10:04):

So now everyone trying to install the latest Elan on Linux or Windows is going to run into errors. I assume the Hoskinson runners still have Elan in their cache so they are still up.

Anne Baanen (May 26 2025 at 10:10):

One solution is to rerun the build jobs until the ongoing GitHub issues let them through by random chance...

Robin Carlier (May 26 2025 at 10:18):

Elan linux builds were released a few minutes ago, and lint-style seems to work now.


Last updated: Dec 20 2025 at 21:32 UTC