zeroclaw-labs/zeroclaw · error · anyhow::Error
zeroclaw was built without the 'schema-export' feature
Error message
zeroclaw was built without the 'schema-export' feature
What it means
Error "zeroclaw was built without the 'schema-export' feature" thrown in zeroclaw-labs/zeroclaw.
Source
Thrown at src/main.rs:3504
// Docs-pipeline subcommands: stdout-only, no config load, no logging init.
match &cli.command {
Commands::MarkdownHelp => {
clap_markdown::print_help_markdown::<Cli>();
return Ok(());
}
Commands::MarkdownSchema => {
#[cfg(feature = "schema-export")]
{
let schema = schemars::schema_for!(config::Config);
print!(
"{}",
zeroclaw_config::schema_markdown::generate(&schema.to_value())
);
return Ok(());
}
#[cfg(not(feature = "schema-export"))]
anyhow::bail!("zeroclaw was built without the 'schema-export' feature");
}
_ => {}
}
let default_floor = match &cli.command {
Commands::Daemon {
ephemeral: true, ..
} => "debug",
Commands::Acp { .. } | Commands::Agent { message: None, .. } => "warn",
_ => "info",
};
// The explicit flag wins over RUST_LOG; without a flag the
// subscriber honours RUST_LOG and falls back to this default.
// matrix suppression is appended in both flag and default paths.
let recording_filter = cli.log_level.map(|level| {
format!(
"{},matrix_sdk=warn,matrix_sdk_base=warn,matrix_sdk_crypto=warn",View on GitHub (pinned to 88bb9c8533)
Solutions
- Rebuild with the schema-export feature: `cargo build --release --features schema-export`.
- Use a release binary built with the schema-export feature enabled.
When it happens
Trigger: Thrown at src/main.rs:3504 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zeroclaw-labs/zeroclaw@88bb9c8533 (2026-08-23).
Data as JSON: /api/errors/db56aa763547e59e.
Report an issue: GitHub.