DEVELOPMENT EDITION · 769442725406
Diagnostics Reference
B7004: cannot read a source file
Catalog status: active. Default severity: error. Stable name: cannot-read-file. Family: Driver and session failures.
veradic could not read a file named on its command line. The note gives the operating system's reason (no such file, permission denied, ...).
Example (Vada)
$ veradic parse missing.vadb
error[B7004]: cannot read `missing.vadb`
= note: missing.vadb: withBinaryFile: does not exist (No such file or directory)
Example (Varc)
$ veradic parse missing.va
error[B7004]: cannot read `missing.va`
= note: missing.va: withBinaryFile: does not exist (No such file or directory)
What to do
Check the path and the file's permissions.
Regression source and further reading
Complete regression example: source, command arguments and expected results. The fixture deliberately reproduces this diagnostic.
See driver and session failures, the code index, and diagnostic interpretation for modes, replay, fix-its and JSON.