Skip to content

"warning: profiles for the non root package will be ignored" since clippy subtree update #145777

@Zalathar

Description

@Zalathar

As of #145749, invoking bootstrap now results in a bunch of unhelpful cargo warnings being printed to the console, multiple times:

$ x test coverage
Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.02s
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package:   /Users/stuart/Dev/rust/rust/src/tools/clippy/Cargo.toml
workspace: /Users/stuart/Dev/rust/rust/Cargo.toml
Building stage1 compiler artifacts (stage0 -> stage1, aarch64-apple-darwin)
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package:   /Users/stuart/Dev/rust/rust/src/tools/clippy/Cargo.toml
workspace: /Users/stuart/Dev/rust/rust/Cargo.toml
   Compiling rustc_trait_selection v0.0.0 (/Users/stuart/Dev/rust/rust/compiler/rustc_trait_selection)
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions