rules_swift_package_manager icon indicating copy to clipboard operation
rules_swift_package_manager copied to clipboard

Enable `--incompatible_disallow_empty_glob`

Open cgrindel opened this issue 2 years ago • 0 comments

Fails in CI, if enabled.

ERROR: Traceback (most recent call last):
        File "/home/runner/.cache/bazel/_bazel_runner/d24f01cea165de18ad5d4b6b5424cd50/execroot/rules_swift_package_manager/_tmp/cb9cc42952803b9ec68774328ab6ef4b/_bazel_runner/702551a9a2f11ecaf6f3a4837a99430e/external/bazel_skylib_gazelle_plugin/bzl/BUILD", line 28, column 13, in <toplevel>
                ] + glob([
Error in glob: glob pattern 'testdata/**' didn't match anything, but allow_empty is set to False (the default value of allow_empty can be set with --incompatible_disallow_empty_glob).
ERROR: /home/runner/.cache/bazel/_bazel_runner/d24f01cea165de18ad5d4b6b5424cd50/execroot/rules_swift_package_manager/bazel-out/k8-fastbuild/bin/examples/http_archive_ext_deps_test_bazel_.bazelversion.runfiles/rules_swift_package_manager/examples/http_archive_ext_deps.scratch/BUILD.bazel:14:15: Target '@bazel_skylib_gazelle_plugin//bzl:bzl' contains an error and its package is in error and referenced by '//:gazelle_bin'
ERROR: Analysis of target '//:update_build_files' failed; build aborted:

cgrindel avatar Apr 08 '23 15:04 cgrindel