eclipse-score / eclipse-score/communication

Bug: Compilation with Bazel 9+ fails

Open
#694 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
62
Forks
97
Avg merge
1d 1h
Merged PRs (30d)
72

Description

### Description

The module fails to build with Bazel version 9+.

### Error Occurrence Rate

Reproducible

### How to reproduce

Run: `cd module_integration_test && USE_BAZEL_VERSION=9.0.2 bazel build //...`

### Supporting Information

```sh
cd module_integration_test && USE_BAZEL_VERSION=9.0.2 bazel build //...
2026/08/04 10:59:47 Downloading https://releases.bazel.build/9.0.2/release/bazel-9.0.2-linux-x86_64...
2026/08/04 10:59:47 Skipping basic authentication for releases.bazel.build because no credentials found in /home/q463998/.netrc
Downloading: 62 MB out of 62 MB (100%)
2026/08/04 10:59:54 Signed by Bazel Developer (Bazel APT repository key)
Extracting Bazel installation...
Starting local Bazel server (9.0.2) and connecting to it...
ERROR: Error computing the main repository mapping: flatbuffers@25.12.19 depends on rules_swift@2.4.0 with compatibility level 2, but bazel_tools@_ depends on rules_swift@3.1.2 with compatibility level 3 which is different
Computing main repo mapping:
```

### Classification

major

### Affected Version

0.3.0

### Category

- [ ] Safety Related
- [ ] Security Related

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure from module_integration_test with USE_BAZEL_VERSION=9.0.2 and bazel build //.... Trace the dependency declarations that select flatbuffers@25.12.19 and the conflicting rules_swift versions. Done means the module builds successfully with Bazel 9+ without the compatibility-level error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.