[BUG] `cargo test` in claude web cause some unknown infinite loop

Resolved 💬 3 comments Opened Dec 7, 2025 by YeonwooSung Closed Dec 10, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When asking claude code web to do something like 'add a new feature in rust, and make sure all unittests are passed', then claude code tries to add new codes, fixes bug with cargo build, and runs cargo test for testing.
And when trying cargo test with bash tool, for some reason, it just stucks and do nothing (and nothing change forever until I interrupt the bash tool via 'stop' button)..

What Should Happen?

The bash tool should be able to run the cargo test command properly, and should print out output messages even when all unittests fail.

Error Messages/Logs

Bash
cargo test column 2>&1
(내용 없음)

Steps to Reproduce

<img width="742" height="299" alt="Image" src="https://github.com/user-attachments/assets/6135a6a5-e094-4bb3-844c-8a008cab50cd" />

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

(Claude Code Web)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗