Skip to content

idn-sdk: Contracts Node build and test issue #402

@driemworks

Description

@driemworks

This issue was first encountered in the feat/pfg-security pull request against main, which notably does not impact anything related to contracts. When building the contracts-node (cargo install contracts-node --git https://github.com/paritytech/substrate-contracts-node.git) we encounter an error with rust 1.85.1, resulting in a build failure:

error: failed to compile `contracts-node v0.42.0 (https://github.com/paritytech/substrate-contracts-node.git#f209befc)`, intermediate artifacts can be found at `/tmp/cargo-installDRdD8N`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  rustc 1.85.1 is not supported by the following packages:
    [email protected] requires rustc 1.87
    [email protected] requires rustc 1.87
    [email protected] requires rustc 1.87
    [email protected] requires rustc 1.87
    [email protected] requires rustc 1.87
    [email protected] requires rustc 1.87
  Either upgrade rustc or select compatible dependency versions with
  `cargo update <name>@<current-ver> --precise <compatible-ver>`
  where `<compatible-ver>` is the latest version supporting rustc 1.85.1

HOWEVER, while it does build with rustc 1.90 (used elsewhere), the tests fail with a CodeRejected error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions