You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contract build stage fails when running e2e tests inside a cargo workspace and ink dependencies are inherited from the workspace Cargo.toml. It does work when the dependency is defined for each package member.
Error shown below:
[1/*] Building cargo project
error: failed to parse manifest at `/private/var/folders/jt/0h_3b_vn7mjc0qdk1kb0pyg40000gn/T/cargo-contract_Z49ETn/ecdsa-recover/Cargo.toml`
Caused by:
error inheriting `ink` from workspace root manifest's `workspace.dependencies.ink`
Caused by:
`workspace.dependencies` was {"message":"custom attribute panicked","code":null,"level":"error","spans":[{"file_name":"ecdsa-recover/lib.rs","byte_start":2100,"byte_end":2116,"line_start":72,"line_end":72,"column_start":9,"column_end":25,"is_primary":true,"text":[{"text":" #[ink_e2e::test]","highlight_start":9,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"message: contract build for /Users/agustin/work/coinfabrik/on-ink-integration-tests/test-cases/ecdsa-recover/Cargo.toml failed: command [\"/Users/agustin/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo\", \"build\", \"--color=always\", \"--target=wasm32-unknown-unknown\", \"-Zbuild-std=core,alloc\", \"--no-default-features\", \"--release\", \"--target-dir=/Users/agustin/work/coinfabrik/on-ink-integration-tests/test-cases/target/ink/ecdsa_recover\", \"--features\", \"ink/ink-debug\"] exited with code 101","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: custom attribute panicked\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0mecdsa-recover/lib.rs:72:9\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m72\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m #[ink_e2e::test]\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m^^^^^^^^^^^^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mhelp\u001b[0m\u001b[0m: message: contract build for /Users/agustin/work/coinfabrik/on-ink-integration-tests/test-cases/ecdsa-recover/Cargo.toml failed: command [\"/Users/agustin/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo\", \"build\", \"--color=always\", \"--target=wasm32-unknown-unknown\", \"-Zbuild-std=core,alloc\", \"--no-default-features\", \"--release\", \"--target-dir=/Users/agustin/work/coinfabrik/on-ink-integration-tests/test-cases/target/ink/ecdsa_recover\", \"--features\", \"ink/ink-debug\"] exited with code 101\u001b[0m\n\n"}
The text was updated successfully, but these errors were encountered:
Contract build stage fails when running e2e tests inside a cargo workspace and ink dependencies are inherited from the workspace Cargo.toml. It does work when the dependency is defined for each package member.
Error shown below:
The text was updated successfully, but these errors were encountered: