Buck: Exit Codes

Exit Codes

These exit codes are returned from a Buck command to the shell when the command exits.

0SUCCESSThe command returned successfully. No errors. No warnings.
1BUILD_ERRORBuild resulted in non-specific user error.
2BUSYBuck daemon is busy processing another command.
3COMMANDLINE_ERRORIncorrect user-supplied command-line options.
4NOTHING_TO_DONothing to build or evaluate for the specified command.
5PARSE_ERRORError in parsing the build file or in constructing the target or action graph.
6RUN_ERRORFailure while running a binary or installing a binary on a device.
10FATAL_GENERICGeneric non-recoverable internal error.
11FATAL_BOOTSTRAPNon-recoverable error in Buck bootstrapper.
12FATAL_OOMNon-recoverable out-of-memory (OOM) error.
13FATAL_IOGeneric non-recoverable I/0 error.
14FATAL_DISK_FULLNo space on storage device.
32TEST_ERRORTest run had user-specific test errors.
64TEST_NOTHINGThere were no tests to run.
130SIGNAL_INTERRUPTCommand was interrupted (Ctrl + C)