Skip to content

[Rust] Impl Debug for RemoteFolder #1255

[Rust] Impl Debug for RemoteFolder

[Rust] Impl Debug for RemoteFolder #1255

Triggered via push February 10, 2026 01:02
Status Failure
Total duration 1m 3s
Artifacts 1

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
cargo fmt
Process completed with exit code 1.
cargo clippy
Error: Clippy has exited with exit code 101
casting raw pointers to the same type and constness is unnecessary (`*const *const i8` -> `*const *const i8`): rust/src/types/parser.rs#L161
error: casting raw pointers to the same type and constness is unnecessary (`*const *const i8` -> `*const *const i8`) --> rust/src/types/parser.rs:161:17 | 161 | include_directories_raw.as_ptr() as *const *const c_char, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `include_directories_raw.as_ptr()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*const *const i8` -> `*const *const i8`): rust/src/types/parser.rs#L159
error: casting raw pointers to the same type and constness is unnecessary (`*const *const i8` -> `*const *const i8`) --> rust/src/types/parser.rs:159:17 | 159 | options_raw.as_ptr() as *const *const c_char, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `options_raw.as_ptr()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#unnecessary_cast
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`: rust/src/types/parser.rs#L143
error: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` --> rust/src/types/parser.rs:143:14 | 143 | .into_iter() | ^^^^^^^^^ help: call directly: `iter` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#into_iter_on_ref
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`: rust/src/types/parser.rs#L140
error: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` --> rust/src/types/parser.rs:140:39 | 140 | let options: Vec<_> = options.into_iter().map(|o| o.to_cstr()).collect(); | ^^^^^^^^^ help: call directly: `iter` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#into_iter_on_ref
casting raw pointers to the same type and constness is unnecessary (`*const *const i8` -> `*const *const i8`): rust/src/types/parser.rs#L111
error: casting raw pointers to the same type and constness is unnecessary (`*const *const i8` -> `*const *const i8`) --> rust/src/types/parser.rs:111:17 | 111 | include_directories_raw.as_ptr() as *const *const c_char, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `include_directories_raw.as_ptr()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#unnecessary_cast
casting raw pointers to the same type and constness is unnecessary (`*const *const i8` -> `*const *const i8`): rust/src/types/parser.rs#L109
error: casting raw pointers to the same type and constness is unnecessary (`*const *const i8` -> `*const *const i8`) --> rust/src/types/parser.rs:109:17 | 109 | options_raw.as_ptr() as *const *const c_char, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `options_raw.as_ptr()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#unnecessary_cast = note: `-D clippy::unnecessary-cast` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unnecessary_cast)]`
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`: rust/src/types/parser.rs#L94
error: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` --> rust/src/types/parser.rs:94:14 | 94 | .into_iter() | ^^^^^^^^^ help: call directly: `iter` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#into_iter_on_ref
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`: rust/src/types/parser.rs#L91
error: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` --> rust/src/types/parser.rs:91:39 | 91 | let options: Vec<_> = options.into_iter().map(|o| o.to_cstr()).collect(); | ^^^^^^^^^ help: call directly: `iter` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#into_iter_on_ref = note: `-D clippy::into-iter-on-ref` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::into_iter_on_ref)]`
licensing
New version for cargo-about available: 0.8.4
cargo fmt: rust/src/collaboration/folder.rs#L1
Diff in /home/runner/work/binaryninja-api/binaryninja-api/rust/src/collaboration/folder.rs

Artifacts

Produced during runtime
Name Size Digest
license Expired
27 KB
sha256:3accc18567846027a36bc0a04f475ea2b06d37c7db2e797afb5516a85ba6278d