-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: output of --print=file-names missing when learning about target-specific information from rustc
when building with build.rs
#287
Comments
To work around this I've added a |
- Update workflow to use the correct environment variables for deployment credentials - Adjustments for using the latest cargo-near cli - Added a redundant `cargo build` command because of near/cargo-near#287 See successful build and deployment here: https://github.com/NEAR-DevHub/neardevhub-treasury-dashboard/actions/workflows/deploy-treasury-factory-contract.yml
the cause of the issue is that |
the failure itself is caused by what looks like a |
issue was somewhat hard to figure out because The fix is to always unset whatever value of suggested alternative NEAR-DevHub/neardevhub-treasury-dashboard#212 doesn't run child's contract build these commentaries were added due to suggestion in #289 (comment) |
There is something wrong with
cargo-near-build
, it seems. There is a project where it used to work (cargo-near-build there is 0.3.0, but neither it works with that old version nor it works after I upgraded everything cargo-near, cargo-near-build, and the build image):git clone https://github.com/near-devhub/neardevhub-treasury-dashboard cd neardevhub-treasury-dashboard cargo near build reproducible-wasm
I tested it on MacOS and Ubuntu, with old cargo-near 0.10.1 + cargo-near-build 0.3.0 and new cargo-near 0.13.2 + cargo-near-build 0.4.2, but it just fails and I cannot figure out what is wrong. Compiling the child contract on its own works just fine.
Here is the branch with the updated cargo-near versions:
refactor/upgraded-reproducible-config
The text was updated successfully, but these errors were encountered: