Duolith docs

Errors E0500 to E0599

E0578 Build-time loader passed its deadline

Message loader did not finish for key within seconds s

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

Every build-time loader and paths() has a deadline, 10 seconds unless build: data: deadline in duolith.yaml says otherwise, and the loader's fetches are aborted when it passes, so a slow or hanging service can never stall a build. The build stops and writes nothing.

How to fix it

Make the loader faster, for example by asking the service for less, or raise build: data: deadline (at most 300 seconds).

In a terminal

duolith explain E0578

Mentioned in