+ halcompile --install rtapi_app_main_fails.comp
/tmp/tmpTy9j0Q/rtapi_app_main_fails.c:39:12: warning: ‘export’ defined but not used [-Wunused-function]
 static int export(char *prefix, long extra_arg) {
            ^~~~~~
+ halrun -v setup.hal
insmod: ERROR: could not insert module /usr/realtime-4.19.152-rtai-amd64/modules/rtai_hal.ko: File exists
+ RETVAL=1
+ '[' 1 -eq 0 ']'
+ echo 'the module failed to load, just like it should'
+ exit 0
