aptos-core
aptos-core copied to clipboard
[Bug] failed to run custom build command for `aptos-cached-packages v0.1.0
🐛 Bug
run create_nft_getting_production_ready demo need signatue
/// - 3.c Generate a valid signature.
/// Open up file aptos-core/aptos-move/e2e-move-tests/src/tests/mint_nft.rs
.
/// In function generate_nft_tutorial_part4_signature
, change the resource_address
, nft_receiver
, admin_private_key
, and receiver_account_sequence_number
variables to the actual values.
/// You can find the admin_private_key
by running nano output.key
, and the receiver_account_sequence_number
by looking up the receiver's address on the Aptos Explorer under tab Info
.
/// Make sure you're in the right directory.
/// Run the following command in directory aptos-core/aptos-move/e2e-move-tests
/// Run cargo test generate_nft_tutorial_part4_signature -- --nocapture
to generate a valid signature that we'll use in the next step.
cargo test generate_nft_tutorial_part4_signature -- --nocapture
Stack trace/error message
error: failed to run custom build command for `aptos-cached-packages v0.1.0 (/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/cached-packages)`
Caused by:
process didn't exit successfully: `/Users/ericheyden/www/ohdat/testaptos/aptos-core/target/debug/build/aptos-cached-packages-bcc4fb1432eb4d9f/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-token-objects/Move.toml
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-token-objects/sources
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-token/sources
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-token/Move.toml
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-token-objects/sources
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-token-objects/Move.toml
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-framework/sources
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-framework/Move.toml
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-stdlib/sources
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-stdlib/Move.toml
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/move-stdlib/sources
cargo:rerun-if-changed=/Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/move-stdlib/Move.toml
Including package `MoveStdlib` size 35k
Including package `AptosStdlib` size 171k
--- stderr
Compiling, may take a little while to download git dependencies...
BUILDING MoveStdlib
Compiling, may take a little while to download git dependencies...
INCLUDING DEPENDENCY MoveStdlib
BUILDING AptosStdlib
Compiling, may take a little while to download git dependencies...
INCLUDING DEPENDENCY AptosStdlib
INCLUDING DEPENDENCY MoveStdlib
BUILDING AptosFramework
Error: Failed to create release
Caused by:
0: Failed to generate Rust bindings for /Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/aptos-framework at binding path /Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/cached-packages/src/aptos_framework_sdk_builder.rs
1: Failed to run rustfmt on /Users/ericheyden/www/ohdat/testaptos/aptos-core/aptos-move/framework/cached-packages/src/aptos_framework_sdk_builder.rs, is rustfmt installed?
2: No such file or directory (os error 2)
Expected Behavior
A clear and concise description of what you expected to happen.
System information
Please complete the following information:
- Aptos Core Version aptos 3.1.0
- Rust Version rustc 1.76.0
- Computer OS macos 14.2.1
This issue is stale because it has been open 45 days with no activity. Remove the stale
label or comment - otherwise this will be closed in 15 days.