Skip to content

error when compiling Substrate node-template #2960

Closed
@ausipome

Description

@ausipome

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

error[E0449]: visibility qualifiers are not permitted here
--> substrate/frame/contracts/src/lib.rs:1247:3
|
1247 | environmental!(executing_contract: bool);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: trait items always share the visibility of their trait
= note: this error originates in the macro environmental (in Nightly builds, run with -Z macro-backtrace for more

Steps to reproduce

This happens when compiling the node-template in the Substrate folder on WSL. I have tried to compile using the latest nightly tool chain and also rustc 1.75.0-nightly as the latest release has been tested against this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I10-unconfirmedIssue might be valid, but it's not yet known.I2-bugThe node fails to follow expected behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions