Skip to content

Fix duplicate entries in Cargo.toml introduced by merge commit#18

Merged
bashandbone merged 2 commits intocli-improvementsfrom
copilot/sub-pr-12-again
Mar 4, 2026
Merged

Fix duplicate entries in Cargo.toml introduced by merge commit#18
bashandbone merged 2 commits intocli-improvementsfrom
copilot/sub-pr-12-again

Conversation

Copy link
Contributor

Copilot AI commented Mar 4, 2026

A merge commit accidentally duplicated several entries in Cargo.toml, which would break cargo publish and cause build warnings.

Removed duplicates

  • Dependencies: bstr, serde, serde_json each appeared twice in [dependencies]
  • Lint config: [lints.rust] section was duplicated in full at the end of the file

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…ust)

Co-authored-by: bashandbone <89049923+bashandbone@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 4, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • invalid-host
    • Triggering command: /usr/bin/ssh /usr/bin/ssh -o SendEnv=GIT_PROTOCOL git@invalid-host git-upload-pack &#39;user/repo.git&#39; user.email test@example.com tnet/tools/git k/submod/submod/git k/submod/submod/add /usr/local/.ghcuREADME.md git chec�� -b main /home/REDACTED/.dotnet/tools/git /tmp/rustcPkuXejgit 7Z7CZf/locked_cosubmodule vm0kj6c git (dns block)
  • nonexistent.domain.invalid
    • Triggering command: /usr/lib/git-core/git-remote-http /usr/lib/git-core/git-remote-http origin REDACTED git conf�� user.email test@example.com rgo/bin/git .o .o ndor/bin/git envsubst usag�� pts-d3e367746211protocol.file.allow large_repo.git /snap/bin/git /symbols.o k/submod/submod/commit k/_temp/ghcca-no-m git (dns block)
  • nonexistent.invalid.domain.test
    • Triggering command: /usr/lib/git-core/git-remote-http /usr/lib/git-core/git-remote-http origin REDACTED git chec�� -b main e/git -fdx 64-REDACTED-linuxadd rgo/bin/git e/git init�� --bare /tmp/.tmpGJYffT/concurrent.git it /home/REDACTED/worgit /home/REDACTED/worinit rgo/bin/git gettext (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Improve CLI and fallback trait system Fix duplicate entries in Cargo.toml introduced by merge commit Mar 4, 2026
@bashandbone bashandbone marked this pull request as ready for review March 4, 2026 21:39
Copilot AI review requested due to automatic review settings March 4, 2026 21:39
@bashandbone bashandbone merged commit 879012c into cli-improvements Mar 4, 2026
@bashandbone bashandbone deleted the copilot/sub-pr-12-again branch March 4, 2026 21:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a broken Cargo manifest state caused by a merge commit, removing duplicated entries that would otherwise produce warnings and block publishing.

Changes:

  • Removed a duplicated bstr dependency entry.
  • Removed duplicated serde / serde_json entries in [dependencies].
  • Removed a duplicated [lints.rust] section at the end of the manifest.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants