Prerequisites
Description
The olean compilation process emits user-friendly messages for several failure scenarios, such as https://github.com/leanprover-community/lean/blob/v3.45.0/src/library/module_mgr.cpp#L128. However, the failure is not notified to the user. This includes heartbeat exception reporting, as in #749.
Steps to Reproduce
- Create an empty olean and remove write permissions
- Use
lean --make to compile something that would overwrite the above file
Expected behavior: Non-zero exit code and a message
Actual behavior: No reported error
Reproduces how often: 100%
Versions
Lean (version 3.45.0, commit 22b09be, Release)
Prerequisites
or feature requests.
Description
The olean compilation process emits user-friendly messages for several failure scenarios, such as https://github.com/leanprover-community/lean/blob/v3.45.0/src/library/module_mgr.cpp#L128. However, the failure is not notified to the user. This includes heartbeat exception reporting, as in #749.
Steps to Reproduce
lean --maketo compile something that would overwrite the above fileExpected behavior: Non-zero exit code and a message
Actual behavior: No reported error
Reproduces how often: 100%
Versions
Lean (version 3.45.0, commit 22b09be, Release)