Skip to content
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

Tracking Issue for cargo build (when i entered cargo build for compile the solana-runtime v1.10.12 it shows following error please help #96729

Closed
SPLStarX opened this issue May 5, 2022 · 2 comments

Comments

@SPLStarX
Copy link

SPLStarX commented May 5, 2022

when i run cargo build for compiling solana-runtime v1.10.12 it shows me following error pleaase help.

error[E0658]: destructuring assignments are unstable
--> /home/alibhaimalai/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/solana-runtime-1.10.12/src/cost_model.rs:100:71
|
100 | (tx_cost.builtins_execution_cost, tx_cost.bpf_execution_cost) =
| ------------------------------------------------------------- ^
| |
| cannot assign to this expression
|
= note: see issue #71126 #71126 for more information

For more information about this error, try rustc --explain E0658.
error: could not compile solana-runtime due to previous error

@SPLStarX SPLStarX added C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels May 5, 2022
@JohnTitor
Copy link
Member

Please ask such a user question on the user forum: https://users.rust-lang.org/
The issue tracker here tracks ones related to rustc (and some related stuff).
(Btw it seems your issue would be resolved by updating the compiler to 1.59 or higher, the destructuring assignments have been stabilized in that version. I would suggest reading the instructions on solana.)

@JohnTitor JohnTitor removed T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC labels May 5, 2022
@SPLStarX
Copy link
Author

SPLStarX commented May 5, 2022

Please ask such a user question on the user forum: https://users.rust-lang.org/ The issue tracker here tracks ones related to rustc (and some related stuff). (Btw it seems your issue would be resolved by updating the compiler to 1.59 or higher, the destructuring assignments have been stabilized in that version. I would suggest reading the instructions on solana.)

can you please write that which i should type ..????????????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants