Conversation
Ref paritytech/ci_cd#1107 We mainly need that so that we can finally compile the `pallet_revive` fixtures on stable. I did my best to keep the commits focused on one thing to make review easier. All the changes are needed because rustc introduced more warnings or is more strict about existing ones. Most of the stuff could just be fixed and the commits should be pretty self explanatory. However, there are a few this that are notable: A lot of runtimes to write `impl` blocks inside functions. This makes sense to reduce the amount of conditional compilation. I guess I could have moved them into a module instead. But I think allowing it here makes sense to avoid the code churn. The FRAME macros emit code that references various features like `std`, `runtime-benchmarks` or `try-runtime`. If a create that uses those macros does not have those features we get this warning. Those were mostly when defining a `mock` runtime. I opted for silencing the warning in this case rather than adding not needed features. For the benchmarking ui tests I opted for adding the `runtime-benchmark` feature to the `Cargo.toml`. I am bumping the `trybuild` version and regenerating the ui tests. The old version seems to be incompatible. This requires us to pass `deny_warnings` in `CARGO_ENCODED_RUSTFLAGS` as `RUSTFLAGS` is ignored in the new version. This is no longer needed since the latest stable will compile them fine using the `RUSTC_BOOTSTRAP=1`. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
This pull request is amending an existing release. Please proceed with extreme caution,
Emergency Bypass
If you really need to bypass this check: add |
|
/cmd fmt |
|
@athei let me know if you need any help with this PR. Like you said, we should get the CI green before merging any other PRs to |
|
The current failure of the CI needs some CI script changes I guess. I checks for some hard coded features which we removed. Will look into that. But we really need to remove the git dependency from the repo. It makes releasing a massive PITA. Can't be to much to a ask to publish to crates.io if you want to have your stuff included here. |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
|
/cmt fmt |
|
I think this is pending adding a prdoc and fixing fmt? |
There is probably more: |
|
Still doesn't compile: |
|
I'll try to track down which backport was supposed to touch this file. But it looks like multiple things even. |
|
The offending backport is just too big. Best course of action is to re-cut from master. |
This backports the update to Rust 1.84 which is required for building
pallet-revive-fixtures. While doing this I was compiling the workspace locally. There is a lot of broken stuff. From bodged backports I presume. Can't fix that all by my own. Let's wee what the CI has to say and let's ping the relevant people.Let's not merge with red CI again.