Created
April 16, 2025 08:03
-
-
Save niklasp/92fbaa92974c4828dc83e2937f58f745 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no@m21:~/code/payouts/my_contract|⇒ pop build | |
┌ Pop CLI : Building your contract | |
│ | |
warning: This version of cargo-contract is not compatible with the contract's ink! version. Please use cargo-contract in version '5.0.1' or change the ink! version of your contract to '>=6.0.0-alpha' | |
[==] Checking clippy linting rules | |
Checking frame-system v40.1.0 | |
Checking staging-xcm v16.1.0 | |
Checking staging-xcm v11.0.0 | |
Checking sp-externalities v0.29.0 | |
Checking ink_storage_traits v5.1.1 | |
Checking ink_allocator v5.1.1 | |
error: ink! only supports wasm32 and riscv32 | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ink_allocator-5.1.1/src/bump.rs:164:13 | |
| | |
164 | core::compile_error!("ink! only supports wasm32 and riscv32"); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
error[E0599]: no function or associated item named `heap_start` found for struct `InnerAlloc` in the current scope | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ink_allocator-5.1.1/src/bump.rs:75:25 | |
| | |
64 | struct InnerAlloc { | |
| ----------------- function or associated item `heap_start` not found for this struct | |
... | |
75 | next: Self::heap_start(), | |
| ^^^^^^^^^^ function or associated item not found in `InnerAlloc` | |
| | |
note: if you're trying to build a new `InnerAlloc`, consider using `InnerAlloc::new` which returns `InnerAlloc` | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ink_allocator-5.1.1/src/bump.rs:73:5 | |
| | |
73 | fn new() -> Self { | |
| ^^^^^^^^^^^^^^^^ | |
error[E0599]: no function or associated item named `heap_end` found for struct `InnerAlloc` in the current scope | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ink_allocator-5.1.1/src/bump.rs:76:32 | |
| | |
64 | struct InnerAlloc { | |
| ----------------- function or associated item `heap_end` not found for this struct | |
... | |
76 | upper_limit: Self::heap_end(), | |
| ^^^^^^^^ function or associated item not found in `InnerAlloc` | |
| | |
note: if you're trying to build a new `InnerAlloc`, consider using `InnerAlloc::new` which returns `InnerAlloc` | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ink_allocator-5.1.1/src/bump.rs:73:5 | |
| | |
73 | fn new() -> Self { | |
| ^^^^^^^^^^^^^^^^ | |
error[E0599]: no method named `request_pages` found for mutable reference `&mut InnerAlloc` in the current scope | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ink_allocator-5.1.1/src/bump.rs:182:35 | |
| | |
182 | let page_start = self.request_pages(required_pages)?; | |
| ^^^^^^^^^^^^^ method not found in `&mut InnerAlloc` | |
For more information about this error, try `rustc --explain E0599`. | |
error: could not compile `ink_allocator` (lib) due to 4 previous errors | |
warning: build failed, waiting for other jobs to finish... | |
error: cannot find macro `thread_local` in this scope | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sp-externalities-0.29.0/src/scope_limited.rs:22:1 | |
| | |
22 | environmental::environmental!(ext: trait Externalities); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
= note: `thread_local` is in scope, but it is an attribute: `#[thread_local]` | |
= note: this error originates in the macro `$crate::thread_local_impl` which comes from the expansion of the macro `environmental::environmental` (in Nightly builds, run with -Z macro-backtrace for more info) | |
error[E0425]: cannot find value `GLOBAL` in this scope | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sp-externalities-0.29.0/src/scope_limited.rs:22:1 | |
| | |
22 | environmental::environmental!(ext: trait Externalities); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | |
| | |
= note: this error originates in the macro `$crate::environmental` which comes from the expansion of the macro `environmental::environmental` (in Nightly builds, run with -Z macro-backtrace for more info) | |
For more information about this error, try `rustc --explain E0425`. | |
error: could not compile `sp-externalities` (lib) due to 4 previous errors | |
error: cannot find macro `thread_local` in this scope | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/staging-xcm-11.0.0/src/v4/mod.rs:74:1 | |
| | |
74 | environmental::environmental!(instructions_count: u8); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
= note: `thread_local` is in scope, but it is an attribute: `#[thread_local]` | |
= note: this error originates in the macro `$crate::thread_local_impl` which comes from the expansion of the macro `environmental::environmental` (in Nightly builds, run with -Z macro-backtrace for more info) | |
error: cannot find macro `thread_local` in this scope | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/staging-xcm-11.0.0/src/v3/mod.rs:85:1 | |
| | |
85 | environmental::environmental!(instructions_count: u8); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
= note: `thread_local` is in scope, but it is an attribute: `#[thread_local]` | |
= note: this error originates in the macro `$crate::thread_local_impl` which comes from the expansion of the macro `environmental::environmental` (in Nightly builds, run with -Z macro-backtrace for more info) | |
error[E0425]: cannot find value `GLOBAL` in this scope | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/staging-xcm-11.0.0/src/v3/mod.rs:85:1 | |
| | |
85 | environmental::environmental!(instructions_count: u8); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | |
| | |
= note: this error originates in the macro `environmental::environmental` (in Nightly builds, run with -Z macro-backtrace for more info) | |
error[E0425]: cannot find value `GLOBAL` in this scope | |
--> /Users/no/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/staging-xcm-11.0.0/src/v4/mod.rs:74:1 | |
| | |
74 | environmental::environmental!(instructions_count: u8); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | |
| | |
= note: this error originates in the macro `environmental::environmental` (in Nightly builds, run with -Z macro-backtrace for more info) | |
error: could not compile `staging-xcm` (lib) due to 8 previous errors | |
Error: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment