diff --git a/.bazelrc b/.bazelrc index fa5ba0b8ab0..05f620c6124 100644 --- a/.bazelrc +++ b/.bazelrc @@ -5,6 +5,10 @@ startup --windows_enable_symlinks common --enable_bzlmod common --announce_rc common --show_progress_rate_limit=15 +# crate_universe re-fetches git dependencies on every splice. libgit2 indexes +# asupersync's ~1 GB history on one thread for over 25 minutes; the git CLI +# indexes it in about 2. +common --repo_env=CARGO_NET_GIT_FETCH_WITH_CLI=true # MODULE.bazel registers only nightly/2026-09-27. Without this, rules_rust # resolves the stable channel and the build fails closed. build --@rules_rust//rust/toolchain/channel=nightly diff --git a/Cargo.lock b/Cargo.lock index 9b5db24e8d9..5b8667f3bc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -272,9 +272,8 @@ dependencies = [ [[package]] name = "asupersync" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f34b1a19ffd6b74570339a156912436335bb09c594c675c62ea164b19a1f2511" +version = "0.6.0" +source = "git+https://github.com/Dicklesworthstone/asupersync?rev=432e2c3b2cf2bad02fc88e380d29a6b0b5c01422#432e2c3b2cf2bad02fc88e380d29a6b0b5c01422" dependencies = [ "aes-gcm", "asupersync-macros", @@ -328,9 +327,8 @@ dependencies = [ [[package]] name = "asupersync-macros" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b00d5ceff520908bcb2fa6efacf2ab6a0ae45639e87eb1de70b78df13acf636" +version = "0.6.0" +source = "git+https://github.com/Dicklesworthstone/asupersync?rev=432e2c3b2cf2bad02fc88e380d29a6b0b5c01422#432e2c3b2cf2bad02fc88e380d29a6b0b5c01422" dependencies = [ "proc-macro2", "quote", @@ -1147,7 +1145,7 @@ dependencies = [ "ciborium", "clap", "criterion-plot", - "itertools 0.13.0", + "itertools", "num-traits", "oorandom", "page_size", @@ -1168,7 +1166,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8d80a2f4f5b554395e47b5d8305bc3d27813bacb73493eb1001e8f76dae29ea" dependencies = [ "cast", - "itertools 0.13.0", + "itertools", ] [[package]] @@ -1772,9 +1770,8 @@ dependencies = [ [[package]] name = "franken-decision" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b01c92bbc04816e42bc68dbf697777e83d87fc00e9ad5cec70a5c86331d834b3" +version = "0.6.0" +source = "git+https://github.com/Dicklesworthstone/asupersync?rev=432e2c3b2cf2bad02fc88e380d29a6b0b5c01422#432e2c3b2cf2bad02fc88e380d29a6b0b5c01422" dependencies = [ "franken-evidence", "franken-kernel", @@ -1783,9 +1780,8 @@ dependencies = [ [[package]] name = "franken-evidence" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccdd9e8e38746aa524dd8b22a35aa7c1485379156d3a145d077521e80ce429de" +version = "0.6.0" +source = "git+https://github.com/Dicklesworthstone/asupersync?rev=432e2c3b2cf2bad02fc88e380d29a6b0b5c01422#432e2c3b2cf2bad02fc88e380d29a6b0b5c01422" dependencies = [ "serde", "serde_json", @@ -1793,9 +1789,8 @@ dependencies = [ [[package]] name = "franken-kernel" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbe470e8d7f35572ff1571ac02cb14486a77bc8a98ac6830eb8756ba4a869c0a" +version = "0.6.0" +source = "git+https://github.com/Dicklesworthstone/asupersync?rev=432e2c3b2cf2bad02fc88e380d29a6b0b5c01422#432e2c3b2cf2bad02fc88e380d29a6b0b5c01422" dependencies = [ "serde", ] @@ -2342,7 +2337,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c48eccd894bd15555b0346470e63491ded94aefe76b3fcb1052084b5a393238" dependencies = [ "bstr", - "hashbrown 0.17.1", + "hashbrown 0.16.1", ] [[package]] @@ -3433,15 +3428,6 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" -dependencies = [ - "either", -] - [[package]] name = "itoa" version = "1.0.18" @@ -4427,7 +4413,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b570b25f7617e43d59005d0990ccb79e950a423952cea19671b7a876da390adf" dependencies = [ "anyhow", - "itertools 0.14.0", + "itertools", "proc-macro2", "quote", "syn 2.0.119", diff --git a/Cargo.toml b/Cargo.toml index 6f56fe4d9a9..0e5ec71607f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,7 +70,8 @@ version = "1.0.0-beta.87" # nightly-outcome-try is an asupersync default (Outcome's Try impls). It # compiles only on the pinned nightly. native-runtime stays explicit because # it is not part of that default set. -asupersync = { version = "=0.5.0", default-features = false, features = ["proc-macros", "native-runtime", "nightly-outcome-try"] } +# Switch back to `version = "=0.6.0"` once 0.6.0 is published to crates.io (#3874). +asupersync = { git = "https://github.com/Dicklesworthstone/asupersync", rev = "432e2c3b2cf2bad02fc88e380d29a6b0b5c01422", default-features = false, features = ["proc-macros", "native-runtime", "nightly-outcome-try"] } # grafeo 0.5.43 from our fork (ScriptedAlchemy/grafeo, main). The # published crates carry a tiered-storage # arena whose `HotVersionRef` addresses a single 1 MiB chunk, which caps an diff --git a/crates/tracedecay-cli/src/main.rs b/crates/tracedecay-cli/src/main.rs index 5a9a995cd82..73296bb42cf 100644 --- a/crates/tracedecay-cli/src/main.rs +++ b/crates/tracedecay-cli/src/main.rs @@ -1,3 +1,4 @@ +#![recursion_limit = "256"] #![allow(clippy::too_many_arguments, clippy::collapsible_if)] // binary crate: match lib allow policy for CLI dispatch use clap::{ArgMatches, CommandFactory, FromArgMatches}; diff --git a/crates/tracedecay-daemon-protocol/src/lib.rs b/crates/tracedecay-daemon-protocol/src/lib.rs index 2a751e734aa..f9cd2e44a20 100644 --- a/crates/tracedecay-daemon-protocol/src/lib.rs +++ b/crates/tracedecay-daemon-protocol/src/lib.rs @@ -1,3 +1,4 @@ +#![recursion_limit = "256"] //! Daemon invocation wire contract, authenticated client, and leaf transport. //! //! This crate sits below the composition root. It owns request/response diff --git a/crates/tracedecay-runtime-core/src/operation_task_owner.rs b/crates/tracedecay-runtime-core/src/operation_task_owner.rs index 0d62776ba56..4e2809c92c5 100644 --- a/crates/tracedecay-runtime-core/src/operation_task_owner.rs +++ b/crates/tracedecay-runtime-core/src/operation_task_owner.rs @@ -527,7 +527,10 @@ mod tests { #[test] fn construction_rejects_native_runtime_without_blocking_pool() { - let runtime = RuntimeBuilder::current_thread().build().unwrap(); + let runtime = RuntimeBuilder::current_thread() + .blocking_threads(0, 0) + .build() + .unwrap(); runtime.block_on(async { assert!(matches!( RuntimeOperationTaskOwnerV1::new(runtime.handle()),