build command failure detection