[regression between 1.93.1 and 1.94.0] The surrealdb project now fails: queries overflow the depth limit!
Open
Nobody has claimed this yet.
C-bug
I-prioritize
needs-triage
regression-untriaged
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
rustc --version --verbose:
$ rustc --version --verbose
rustc 1.94.0 (4a4ef493e 2026-03-02) (built from a source tarball)
binary: rustc
commit-hash: 4a4ef493e3a1488c6e321570238084b38948f6db
commit-date: 2026-03-02
host: x86_64-unknown-freebsd
release: 1.94.0
LLVM version: 21.1.8
Failure log.
Error:
error: queries overflow the depth limit!
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`surrealdb_server`)
= note: query depth increased by 130 when computing layout of `{async block@surrealdb/server/src/dbs/mod.rs:805:48: 805:53}`
error: could not compile `surrealdb-server` (lib) due to 1 previous error
OS: FreeBSD 15 STABLE
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked FreeBSD build log and compare the reported failure between Rust 1.93.1 and 1.94.0. Inspect the async block at surrealdb/server/src/dbs/mod.rs:805 and the recursion-limit diagnostic; done means identifying and documenting the compiler regression or a verified correction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100