void (@NotNull ExternalSystemTaskId id) { eventDispatcher.onEvent(id, new FinishBuildEventImpl(id, null, System.currentTimeMillis(), BuildBundle.message("build.status.cancelled"), new FailureResultImpl())); processHandler.notifyProcessTerminated(1); }