-
Notifications
You must be signed in to change notification settings - Fork 4
pinned to version rustc-1.85.0 #68
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
Conversation
|
@muhammad-hassnain Thanks! Let me check on my machine and see if I can build. |
|
@muhammad-hassnain It seems to build for me, I get only a warning: Is this different from what you're seeing on your end? |
|
No, I see the same warning after version pinning. It works perfectly fine on 1.85.0. But if you have |
|
Oops, I see. Let me check that. If we can't get it to build on 1.89 we will need to hold off on merging this PR until we can fix the RA issue. |
|
I will also look into this RA issue, but I think we should merge this, because in case anyone has 1.89 , the rust-toolchain.toml file, will use 1.85 to build. so this can be a placeholder patch. |
|
I see. Not sure why the build is breaking then - @muhammad-hassnain can you check into why checks/clippy, checks/fmt, and update/update are failing? Maybe it is that we need to update something in |
|
I have fixed the I found this interesting post, a workaround for this is to use "That is inherently risky if the workflow inadvertently exposes these secrets or allows for unauthorized modifications to the repository. Another risk: the workflow attempts to check out and execute code from the pull request. Since this event runs in the context of the target branch with access to secrets, executing code from the PR without strict controls can expose secrets to untrusted code." So, maybe we should not run this workflow on a PR ? |
|
Hmm very strange @muhammad-hassnain |
I added
rust-toolchain.tomlto pin torustc-1.85.0Without this, running
rustup updateupdates toolchain torustc 1.89.0as of August 16,2025.Running
cargo buildafter that fails to compilecargo-scanbecause one of the dependencyra_ap_stdx-0.0.185performs a cast which is no longer supported. I am also quoting the compiler error message below:with
rust-toolchain-tomladded the compilation succeeds with this warning :I have also removed
2. Runrustup updateto ensure you have the latest version of Rust (or install it via the [official website]((https://www.rust-lang.org/tools/install))).fromREADME.mdbecause a working version has been pinned.