JetBrains / JetBrains/teamcity-rust-plugin

Cargo deny duplicated logs

Open
#76 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
33
Forks
5
PR merge metrics
No merged PRs in 30d

Description

When running cargo deny, the logs aer duplicated in build log, e.g.
```
cargo deny
09:19:24  starting: /bin/sh -c "/home/builduser/.cargo/bin/rustup run 1.88.0 cargo deny --manifest-path filewatcher_jni/Cargo.toml check 2>&1" rustup
09:19:24  in directory: /mnt/agent/work/cbcb6ed81773a54a
09:19:30  warning[wildcard]: found 1 wildcard dependency for crate 'filewatcher_jni'
09:19:30  warning[wildcard]: found 1 wildcard dependency for crate 'filewatcher_jni'
09:19:30  ┌─ /mnt/agent/work/cbcb6ed81773a54a/filewatcher_jni/Cargo.toml:12:9
09:19:30  ┌─ /mnt/agent/work/cbcb6ed81773a54a/filewatcher_jni/Cargo.toml:12:9
09:19:30  │
09:19:30  │
09:19:30  12 │ watch = { path = "../crates/watch" }
09:19:30  12 │ watch = { path = "../crates/watch" }
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the duplicated output with the cargo deny command shown in the issue, then trace how the TeamCity Rust plugin captures and renders that command's logs. Done means each warning and source-line entry appears only once in the build log.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, rust
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.