DEVELOPMENT EDITION · 769442725406
Diagnostics Reference
On this page

Operational failures and recovery

Operational diagnostics can arise before proof, during output generation or while running an accepted program. Preserve the complete command and phase before changing source. A missing file, failed linker or unavailable solver is not evidence that the application's contract is false.

Files, projects and tools

Code Operation First action
B7002 Diagnostic lookup Check the allocated code and spelling in the code index.
B7003 Command-line parsing Compare the command and option scope with help.
B7004 Source reading Verify path, permissions, working directory and source selection.
B7006 Project parsing/discovery Check TOML shape, relative source directories and source availability.
B7007 Solver startup Verify the selected solver executable and environment.
B7008 Native link Read the C linker's output and inspect ABI/library dependencies.
B7009 Output write Check destination parent directory and write permission.

--project chooses a configuration and source roots; it does not change the application's working directory. A path valid relative to the project file can differ from a path used by the running program. Likewise, a successful check or prove does not establish that the host can produce and link the native executable. Use the Toolchain Manual to test each required stage.

veradic explain with a code that does not exist is B7002. The code index says which codes are reserved or retired; neither kind is reported.

REPL state and recovery

B7011 requires a session object to have a value at declaration: later submissions can read it immediately. A failed JIT operation can leave partially written session state. B7010 then prevents later use of affected objects. Catching or ignoring the message does not restore their prior values, and external file or C effects are not rolled back with session state.

Use the REPL's reset and reload commands, or declare the object again. The REPL proves each input in advisory mode unless you ask for strict proof. It reads Vada, Varc or Vibe (--syntax).

Program execution failures

The JIT can report a failed check, storage failure, unhandled user exception or a foreign synchronous fault. B7013 concerns selected C faults while executing inside veradic; it does not prove the external function's contract or undo its writes. Native execution has its own runtime/OS failure path and can require a native debugger.

Compare source-level guards with the actual foreign profile, pointer/buffer lengths, ownership, ABI and imported Global contract. A language proof relies on truthful external specifications. Preserve compiler and C compiler versions and a small source reproducer when diagnosing foreign behavior. See C integration and debugging.

Internal compiler errors

B9001 means LLVM rejected the code Verada generated: a failure in the compiler, not in your program. Report it with LLVM's message, the command, the compiler version and the smallest complete program that reproduces it; say whether check and prove pass and whether run, build and emit all fail.

B9002 is reported only when proof summaries are being verified: a summary that let prove or run skip a subprogram's verification conditions did not match them when they were generated again. Report it with the program and the edit before it; prove --no-cache proves without summaries meanwhile.