Zulip Chat Archive

Stream: lean4

Topic: Lake cache asks me to run lake cache manually.


Shreyas Srinivas (Dec 04 2025 at 14:54):

Steps to run

  1. Start a project on toolchain v4.25.1
  2. Run lake update. lake says you need to run cache manually because the default toolchain outside the project is 4.24.0
  3. cd into the project directory
  4. run lake exe cache get
  5. Lake again says
You should run `lake exe cache get` manually.
Fetching ProofWidgets cloud release... done!
Current branch: HEAD
Using cache (Azure) from origin: leanprover-community/mathlib4
No files to download
Decompressing 7536 file(s)
Unpacked in 7400 ms
Completed successfully!
  1. Run lake build. lake is now building all of mathlib

Ruben Van de Velde (Dec 04 2025 at 16:00):

Try 4.25.2

Shreyas Srinivas (Dec 04 2025 at 16:01):

Okay. I made it work by going to 4.26.0-rc2

Shreyas Srinivas (Dec 04 2025 at 16:06):

I'll note that I also tried setting Mathlib's rev to stable and lake fixed the toolchain to v4.25.1

Ruben Van de Velde (Dec 04 2025 at 16:39):

Shreyas Srinivas said:

I'll note that I also tried setting Mathlib's rev to stable and lake fixed the toolchain to v4.25.1

So it seems. @Kim Morrison Kiiiiiiiiiiiiiiiiiiim! :)

Kim Morrison (Dec 11 2025 at 03:41):

Thanks, stable has been updated to v4.25.2. (The dangers of doing things manually when you have perfectly good automated scripts to handle it...)


Last updated: Dec 20 2025 at 21:32 UTC