Skip to content

Visibility issue after upgrading from 6.3.0 to 6.5.0 #1590

@kmate-ct

Description

@kmate-ct

I'm unable to upgrade from 6.3.0 to 6.5.0... I get this error:

ERROR: .../external/io_bazel_rules_scala/scala/BUILD:39:22: in toolchain rule @io_bazel_rules_scala//scala:default_toolchain: target '@io_bazel_rules_scala_config//:scala_version_2_12_18' is not visible from target '@io_bazel_rules_scala//scala:default_toolchain'. Check the visibility declaration of the former target if you think the dependency is legitimate
ERROR: .../external/io_bazel_rules_scala/scala/BUILD:39:22: Analysis of target '@io_bazel_rules_scala//scala:default_toolchain' failed
ERROR: .../BUILD.bazel:6:14: While resolving toolchains for target //...: invalid registered toolchain '@io_bazel_rules_scala//scala:default_toolchain':

(I replaced some sensitive paths / target names with "...", but that should not matter)

Any ideas what am I doing wrong? I did not change my setup, only bumped the version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions