Skip to content

error: unknown lint: clashing_extern_declarations and others #74628

@psumbera

Description

@psumbera

I'm trying to build latest Rust sources from github on Solaris. There are no Solaris bootstrap archives therefore I'm using for bootstrap Rust 1.45.0. But I'm getting thinks like:

Building stage0 std artifacts (sparcv9-sun-solaris -> sparcv9-sun-solaris)
   Compiling core v0.0.0 (/builds/psumbera/RUST/rust/src/libcore)
error: unknown lint: `clashing_extern_declarations`
   --> src/libcore/lib.rs:298:9
    |
298 | #[allow(clashing_extern_declarations)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D unknown-lints` implied by `-D warnings`

error: unknown lint: `clashing_extern_declarations`
   --> src/libcore/lib.rs:298:9
    |
298 | #[allow(clashing_extern_declarations)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0658]: the `#[track_caller]` attribute is an experimental feature
  --> src/libcore/ops/index.rs:68:5
   |
68 |     #[track_caller]
   |     ^^^^^^^^^^^^^^^
   |
   = note: see issue #47809 <https://github.com/rust-lang/rust/issues/47809> for more information
   = help: add `#![feature(track_caller)]` to the crate attributes to enable

error[E0658]: the `#[track_caller]` attribute is an experimental feature
   --> src/libcore/ops/index.rs:170:5
    |
170 |     #[track_caller]
    |     ^^^^^^^^^^^^^^^
    |
    = note: see issue #47809 <https://github.com/rust-lang/rust/issues/47809> for more information
    = help: add `#![feature(track_caller)]` to the crate attributes to enable

Any idea what is wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions