Skip to content

[Bug]: Build failure with matrix-sdk v0.16.0: recursion limit overflow when building with channel-matrix feature #6530

@rikwade

Description

@rikwade

Affected component

channel

Severity

S2 - degraded behavior

Current behavior

Build Issue

Description: Build fails when attempting to compile zeroclaw 0.7.5 with Matrix channel support enabled.

Build Command:

podman build -f Dockerfile.debian --build-arg ZEROCLAW_CARGO_FEATURES="rag-pdf channel-matrix" -t zeroclaw075 .


### Expected behavior

Container build expected to automatically compile the channel-matrix feature and include in the container build process.

### Steps to reproduce

```bash
podman build -f Dockerfile.debian --build-arg ZEROCLAW_CARGO_FEATURES="rag-pdf channel-matrix" -t zeroclaw075 .

Impact

Container build process fails

Logs / stack traces

[...]
Compiling matrix-sdk v0.16.0
error: queries overflow the depth limit!
  |
  = help: consider increasing the recursion limit by adding a #![recursion_limit = "256"] attribute to your crate (matrix_sdk)
  = note: query depth increased by 130 when computing layout of {async fn body of client::<impl at /usr/local/cargo/registry/src/index.crates.[REDACTED_HIGH_ENTROPY_TOKEN].16.0/src/client/mod.rs:488:1: 488:12>::sync()}

error: could not compile matrix-sdk (lib) due to 1 previous error

ZeroClaw version

v0.7.5

Rust version

No response

Operating system

Debian

Regression?

Unknown

Pre-flight checks

  • I reproduced this on the latest master branch or latest release.
  • I redacted secrets, tokens, and personal data from all submitted content.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingchannelAuto scope: src/channels/** changed.channel:matrixAuto module: channel/matrix changed.ciAuto scope: CI/workflow/hook files changed.dependenciesAuto scope: dependency manifest/lock/policy changed.priority:p3risk: lowAuto risk: docs/chore-only paths.status:in-progressAn open PR is actively targeting this issue.status:no-staleExempt from the 60-day stale auto-close policy.

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions