-
Notifications
You must be signed in to change notification settings - Fork 146
Description
Failed to build due to error:
22 | #![cfg_attr(not(feature = "std"), feature(alloc_error_handler))]
| ^^^^^^^^^^^^^^^^^^^ feature has been removed
DETAILS
% cargo build --release
Compiling contracts-node-runtime v0.24.0 (~/substrate-contracts-node/runtime)
error: failed to run custom build command for contracts-node-runtime v0.24.0 (~/substrate-contracts-node/runtime)
Caused by:
process didn't exit successfully: ~/substrate-contracts-node/target/release/build/contracts-node-runtime-0ffae6dbb3dab4c3/build-script-build (exit status: 1)
--- stdout
Information that should be included in a bug report.
Executing build command: RUSTFLAGS="-C link-arg=--export-table -Clink-arg=--export=__heap_base -C link-arg=--import-memory " SKIP_WASM_BUILD="" "/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/substrate-contracts-node/target/release/wbuild/contracts-node-runtime/Cargo.toml" "--color=always" "--profile" "release"
Using rustc version: rustc 1.71.0-nightly (7f94b314c 2023-04-23)
--- stderr
Compiling sp-io v7.0.0 (https://github.com/paritytech/substrate?branch=polkadot-v0.9.37#946507ba)
error[E0557]: feature has been removed
--> ~/.cargo/git/checkouts/substrate-7e08433d4c370a21/946507b/primitives/io/src/lib.rs:22:43
|
22 | #![cfg_attr(not(feature = "std"), feature(alloc_error_handler))]
| ^^^^^^^^^^^^^^^^^^^ feature has been removed
|
= note: now handled by panic handler
error: cannot find attribute alloc_error_handler in this scope
--> ~.cargo/git/checkouts/substrate-7e08433d4c370a21/946507b/primitives/io/src/lib.rs:1657:3
|
1657 | #[alloc_error_handler]
| ^^^^^^^^^^^^^^^^^^^
For more information about this error, try rustc --explain E0557.
error: could not compile sp-io (lib) due to 2 previous errors