Skip to content

Set LLIL expression attribute in Rust #1359

Set LLIL expression attribute in Rust

Set LLIL expression attribute in Rust #1359

Triggered via push March 26, 2026 20:07
Status Failure
Total duration 6m 19s
Artifacts 1

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 7 warnings
cargo fmt
Process completed with exit code 1.
cargo clippy
Error: Clippy has exited with exit code 101
writing `&Vec` instead of `&[_]` involves a new object where a slice will do: rust/src/low_level_il/function.rs#L213
error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> rust/src/low_level_il/function.rs:213:51 | 213 | pub fn set_indirect_branches(&self, branches: &Vec<Location>) { | ^^^^^^^^^^^^^^ help: change this to: `&[Location]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#ptr_arg = note: `-D clippy::ptr-arg` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
use of `or_insert_with` to construct default value: rust/src/architecture.rs#L686
error: use of `or_insert_with` to construct default value --> rust/src/architecture.rs:686:22 | 686 | .or_insert_with(HashSet::new) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#unwrap_or_default
use of `or_insert_with` to construct default value: rust/src/architecture.rs#L681
error: use of `or_insert_with` to construct default value --> rust/src/architecture.rs:681:22 | 681 | .or_insert_with(HashSet::new) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#unwrap_or_default = note: `-D clippy::unwrap-or-default` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unwrap_or_default)]`
typos
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
cargo fmt
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
cargo fmt: rust/src/architecture.rs#L673
Diff in /home/runner/work/binaryninja-api/binaryninja-api/rust/src/architecture.rs
cargo clippy
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, clechasseur/rs-clippy-check@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
licensing
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
licensing
Failed to restore:
licensing
New version for cargo-about available: 0.8.4

Artifacts

Produced during runtime
Name Size Digest
license
29.2 KB
sha256:3a0b7e39253bf438b9c4fb07ffb7e2d7ceaaeb0d456f96936d309080c727aa69