Package Details: zeroclaw 0.6.9-1

Git Clone URL: https://aur.archlinux.org/zeroclaw.git (read-only, click to copy)
Package Base: zeroclaw
Description: Fast, small, and fully autonomous AI assistant infrastructure — deploy anywhere, swap anything (Rust)
Upstream URL: https://github.com/zeroclaw-labs/zeroclaw
Licenses: MIT, Apache-2.0
Submitter: SteamedFish
Maintainer: zeroclaw-bot
Last Packager: SteamedFish
Votes: 4
Popularity: 1.00
First Submitted: 2026-03-03 15:01 (UTC)
Last Updated: 2026-04-10 10:40 (UTC)

Latest Comments

TTimo commented on 2026-04-12 14:12 (UTC) (edited on 2026-04-18 15:27 (UTC) by TTimo)

One of the crates fails to build, failing the overall build:

   Compiling wa-rs v0.2.0
error[E0308]: mismatched types
   --> src/channels/voice_wake.rs:100:27
[..]
Some errors have detailed explanations: E0308, E0560, E0599.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `zeroclawlabs` (lib) due to 13 previous errors
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'zeroclaw-0.6.9-1': 
error: packages failed to build: zeroclaw-0.6.9-1

Can use the following patch to fix the build:

--- a/src/channels/voice_wake.rs
+++ b/src/channels/voice_wake.rs
@@ -97,7 +97,7 @@
                 .ok_or_else(|| anyhow::anyhow!("No default audio input device available"))?;

             let supported = device.default_input_config()?;
-            sample_rate = supported.sample_rate();
+            sample_rate = supported.sample_rate().0;
             channels_count = supported.channels();

             info!(
@@ -239,7 +239,6 @@
                                         thread_ts: None,
                                         interruption_scope_id: None,
                                         attachments: vec![],
-                                        observe_group: false,
                                     };

                                     if let Err(e) = tx.send(msg).await {
--- a/src/config/schema.rs
+++ b/src/config/schema.rs
@@ -8376,7 +8376,8 @@
 /// then captures the following utterance and transcribes it via the
 /// existing transcription API.
 #[cfg(feature = "voice-wake")]
-#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
+#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema, Configurable)]
+#[prefix = "channels.voice-wake"]
 pub struct VoiceWakeConfig {
     /// Wake word phrase to listen for (case-insensitive substring match).
     /// Default: `"hey zeroclaw"`.

Or maybe just disable voice-wake.

Reported upstream https://github.com/zeroclaw-labs/zeroclaw/issues/5861 - latest master branch builds fine, so that's another option.

SteamedFish commented on 2026-03-09 10:27 (UTC)

@taotieren

Thanks for the suggestion! You're absolutely right—I had applied this in my previous PKGBUILDs but overlooked it this time. My oversight. Regarding the target triples: using "$CARCH-unknown-linux-gnu" is actually insufficient for Arch's architecture naming conventions. Specifically:

aarch64 correctly maps to aarch64-unknown-linux-gnu ✅
armv7h requires armv7-unknown-linux-gnueabihf, not armv7h-unknown-linux-gnu ❌
riscv64 requires riscv64gc-unknown-linux-gnu, not riscv64-unknown-linux-gnu ❌

I've corrected this by using cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" to ensure the correct target triple is always fetched regardless of architecture. Fixed now.

taotieren commented on 2026-03-09 09:57 (UTC)

Thank you. There is also a suggestion to configure the following in prepare. You can only download packages related to the current architecture and reduce the download of packages for other architectures.

    cargo fetch --locked --target host-tuple
    cargo fetch --target "$CARCH-unknown-linux-gnu"

SteamedFish commented on 2026-03-09 09:49 (UTC)

@taotieren

This is caused by a rustc 1.94.0 regression — the new compiler increases query depth for async fn layout analysis, which overflows matrix-sdk v0.16.0's default recursion limit of 128. Users on rustc 1.93.1 are unaffected.

The AUR PKGBUILD has been patched (commit 063fd63) — updating your package with paru -Syu zeroclaw or yay -Syu zeroclaw will pick up the fix. The patch applies #![recursion_limit = "256"] to matrix-sdk's crate root during prepare(), exactly as the compiler suggests.

The bug has been reported upstream:

The PKGBUILD workaround will be removed once a new matrix-sdk release ships the proper fix.

taotieren commented on 2026-03-09 05:39 (UTC)

Hello. There are the following errors in my extra environment compilation under devtools. Can you help repair it? Thank you.

   Compiling quick-xml v0.37.5
   Compiling nanohtml2text v0.2.1
   Compiling glob v0.3.3
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/src/debug/zeroclaw/.cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/matrix-sdk-0.16.0/src/client/mod.rs:488:1: 488:12>::sync()}`

error: could not compile `matrix-sdk` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...