Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Third-party crate warnings exposed in my crate #14232

Closed
SamuelMarks opened this issue Jul 10, 2024 · 1 comment
Closed

Third-party crate warnings exposed in my crate #14232

SamuelMarks opened this issue Jul 10, 2024 · 1 comment
Labels
C-bug Category: bug S-triage Status: This issue is waiting on initial triage.

Comments

@SamuelMarks
Copy link

SamuelMarks commented Jul 10, 2024

Problem

When I build my project foo it gives warnings from a third-party crate's test directory

Steps

  1. Add this dependency (confirmed at this commit https://github.com/offscale/cargo-make/tree/6cf59426a6e33ebaf5a769f88f5dda51a7e4cc1f )
[dependencies]
cargo-make = { git = "https://github.com/offscale/cargo-make", branch = "publicise" }
$ cargo build
warning: skipping duplicate package `member1` found at `.cargo/git/checkouts/cargo-make-1147f9fdbe23da7e/6cf5942/src/lib/test/workspace-inherit/member1`
warning: skipping duplicate package `member1` found at `.cargo/git/checkouts/cargo-make-1147f9fdbe23da7e/6cf5942/src/lib/test/workspace1/member1`
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s

Possible Solution(s)

No response

Notes

Official Rust discord told me that the warning shouldn't be exposed to me

Version

cargo 1.81.0-nightly (154fdac39 2024-07-07)
release: 1.81.0-nightly
commit-hash: 154fdac39ae9629954e19e9986fd2cf2cdd8d964
commit-date: 2024-07-07
host: x86_64-unknown-linux-gnu
libgit2: 1.8.1 (sys:0.19.0 vendored)
libcurl: 8.8.0-DEV (sys:0.4.73+curl-8.8.0 vendored ssl:OpenSSL/1.1.1w)
ssl: OpenSSL 1.1.1w  11 Sep 2023
os: Ubuntu 24.4.0 (noble) [64-bit]
@SamuelMarks SamuelMarks added C-bug Category: bug S-triage Status: This issue is waiting on initial triage. labels Jul 10, 2024
@epage
Copy link
Contributor

epage commented Jul 10, 2024

This appears to be a duplicate of #10752 and closing in favor of that. If there is a reason we should keep this open, let us know!

@epage epage closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: bug S-triage Status: This issue is waiting on initial triage.
Projects
None yet
Development

No branches or pull requests

2 participants