Fails in command line tool when errors in compilation.