Open lgriger-git opened 2 years ago
I am dealing with the same problem.
macOS Big Sur (version 11.5.2) Python 3.8.9 pip 22.0 erdpy 1.0.24
@Kaco92 I guess that the version of rustc you and I have is rustc 1.60.0-nightly as it is mentioned in your output above:
INFO:myprocess:Successful run. Output: rustc 1.60.0-nightly (e0a55f449 2022-01-28)
I got some Hint from elrond dev gus ( Try reinstall rust by comand 'erdpy deps install rust --overwrite ' )
I solved this issue like this. I used "mxpy contract build --no-wasm-opt" instead of "mxpy contract build". Plz try to again with this.
Hi please help :). this output I still got when I tried build contract
INFO:projects.core:build_project.directory: /Users/lgriger/elrondapp/ping-pong/contract/ping-pong INFO:projects.core:build_project.debug: False INFO:myprocess:run_process: ['rustc', '--version'], in folder: None INFO:myprocess:Successful run. Output: rustc 1.60.0-nightly (e0a55f449 2022-01-28)
elrond_codec::DecodeError: From<&[u8]>
is not satisfied --> /Users/lgriger/elrondsdk/vendor-rust/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.22.11/src/types/general/h256.rs:219:21From<&[u8]>
is not implemented forelrond_codec::DecodeError
= help: the following implementations were found: <elrond_codec::DecodeError as From<&'static str>> <elrond_codec::DecodeError as From<CapacityError>>
elrond_codec::DecodeError: From<&[u8]>
is not satisfied --> /Users/lgriger/elrondsdk/vendor-rust/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.22.11/src/types/general/h256.rs:231:27From<&[u8]>
is not implemented forelrond_codec::DecodeError
= help: the following implementations were found: <elrond_codec::DecodeError as From<&'static str>> <elrond_codec::DecodeError as From<CapacityError>>
elrond_codec::DecodeError: From<&[u8]>
is not satisfied --> /Users/lgriger/elrondsdk/vendor-rust/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.22.11/src/types/managed/managed_byte_array.rs:114:24From<&[u8]>
is not implemented forelrond_codec::DecodeError
= help: the following implementations were found: <elrond_codec::DecodeError as From<&'static str>> <elrond_codec::DecodeError as From<CapacityError>>
For more information about this error, try
rustc --explain E0277
. error: could not compileelrond-wasm
due to 3 previous errors warning: build failed, waiting for other jobs to finish... error: build failed CRITICAL:cli:Build error: error code = 101, see output.MacOS Monterey rustup 1.24.3 (ce5817a94 2021-05-31) rustc 1.58.1 (db9d1b20b 2022-01-20) cargo 1.58.0 (f01b232bc 2022-01-19)