Skip to content

0.0.44 doesn't fails bazel mod deps #63

@jjudd

Description

@jjudd

This commit seems to have broken things for us: 12fd477

When I run bazel mod deps with that commit I get the following error:

bazel mod deps
ERROR: /home/redacted/.cache/bazel/_bazel_redacted/b380b3446fcd8bc5dde6a5e5af5d8825/external/rules_rs+/rs/extensions.bzl:496:33: Traceback (most recent call last):
        File "/home/redacted/.cache/bazel/_bazel_redacted/b380b3446fcd8bc5dde6a5e5af5d8825/external/rules_rs+/rs/extensions.bzl", line 1211, column 46, in _crate_impl
                facts |= _generate_hub_and_spokes(mctx, cfg.name, annotations, suggested_annotation_snippet_paths, cargo_path, cfg.cargo_lock, cargo_toml_by_hub_name[cfg.name], hub_packages, sparse_registry_configs, cfg.platform_triples, cargo_credentials, cfg.cargo_config, cfg.validate_lockfile, cfg.debug, cfg.use_experimental_platforms)
        File "/home/redacted/.cache/bazel/_bazel_redacted/b380b3446fcd8bc5dde6a5e5af5d8825/external/rules_rs+/rs/extensions.bzl", line 496, column 33, in _generate_hub_and_spokes
                possible_features = fact["features"]
Error: type 'NoneType' has no operator [](string)
ERROR: error evaluating module extension @@rules_rs+//rs:extensions.bzl%crate
<root> (lucid@_)

ERROR: Results may be incomplete as 1 extension failed.
    Fetching ...ension @@rules_rs+//rs:extensions.bzl%crate; Computing dependencies and features

When I use the previous commit things works for us: b418962

bazel mod deps
<root> (lucid@_)

I haven't had a chance to dig into this one, but I figured you may want to know.

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