Commands: cargo test
The error:
error: failed to run custom build command for `fuel-core-upgradable-executor v0.36.0`
Caused by:
process didn't exit successfully: `/home/donkey/Desktop/Donkeyswapv1/contracts/target/debug/build/fuel-core-upgradable-executor-c0e0f3895449afbf/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=build.rs
--- stderr
thread 'main' panicked at /home/donkey/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fuel-core-upgradable-executor-0.36.0/build.rs:90:17:
Got an error status during compiling WASM executor:
Output {
status: ExitStatus(
unix_wait_status(
25856,
),
),
stdout: "",
stderr: " Updating crates.io index\n Installing fuel-core-wasm-executor v0.36.0\n Updating crates.io index\n Updating crates.io index\n Downloading crates ...\n Downloaded fuel-asm v0.57.0\n Downloaded autocfg v1.3.0\n Downloaded fuel-tx v0.57.0\n Downloaded wasm-bindgen-macro v0.2.93\n Downloaded wasm-bindgen-shared v0.2.93\n Downloaded wasm-bindgen v0.2.93\n Downloaded toml_edit v0.22.21\n Downloaded once_cell v1.19.0\n Downloaded k256 v0.13.3\n Downloaded winnow v0.6.18\n Downloaded gimli v0.31.0\n Downloaded syn v2.0.77\n Downloaded object v0.36.4\n Downloaded fuel-vm v0.57.0\n Downloaded serde_with v3.9.0\n Downloaded js-sys v0.3.70\n Downloaded libc v0.2.158\n Downloaded fuel-derive v0.57.0\n Downloaded fuel-types v0.57.0\n Downloaded fuel-storage v0.57.0\n Downloaded fuel-merkle v0.57.0\n Downloaded fuel-crypto v0.57.0\n Downloaded wasm-bindgen-macro-support v0.2.93\n Downloaded wasm-bindgen-backend v0.2.93\n Downloaded serde_with_macros v3.9.0\n Downloaded indexmap v2.5.0\n Downloaded async-trait v0.1.82\n Downloaded addr2line v0.24.1\n Compiling proc-macro2 v1.0.86\n Compiling unicode-ident v1.0.13\n Compiling version_check v0.9.5\n Compiling typenum v1.17.0\n Compiling subtle v2.6.1\n Compiling const-oid v0.9.6\nerror[E0463]: can't find crate for `core`\n |\n = note: the `wasm32-unknown-unknown` target may not be installed\n = help: consider downloading the target with `rustup target add wasm32-unknown-unknown`\n\nFor more information about this error, try `rustc --explain E0463`.\nerror: could not compile `subtle` (lib) due to 1 previous error\nwarning: build failed, waiting for other jobs to finish...\nerror: could not compile `const-oid` (lib) due to 1 previous error\nerror: failed to compile `fuel-core-wasm-executor v0.36.0`, intermediate artifacts can be found at `/home/donkey/Desktop/Donkeyswapv1/contracts/target/debug/fuel-core-upgradable-executor-cache`.\nTo reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.\n",
}
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish.
> Blockquote