Skip to content

Commit 2fc764e

Browse files
ZhiXiao-Linclaude
andcommitted
fix: pin tracing <0.1.41 to fix Send bound in tokio::spawn
tracing 0.1.41+ introduced PhantomNotSend in Span, making #[instrument]-decorated async fns !Send. This breaks tokio::spawn and JoinSet::spawn which require Send futures. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d595894 commit 2fc764e

2 files changed

Lines changed: 64 additions & 20 deletions

File tree

Cargo.lock

Lines changed: 63 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ anyhow = "1.0"
3939
thiserror = "1.0"
4040

4141
# Logging (tracing only — no OTel)
42-
tracing = "0.1"
42+
tracing = ">=0.1, <0.1.41"
4343
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
4444

4545
# Async utilities

0 commit comments

Comments
 (0)