Skip to content

Implement DataNotification for rust #53

Implement DataNotification for rust

Implement DataNotification for rust #53

Triggered via push December 10, 2025 20:08
Status Failure
Total duration 2m 38s
Artifacts 1

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
cargo fmt
Process completed with exit code 1.
cargo clippy
Error: Clippy has exited with exit code 101
missing fields `derivedStringFound` and `derivedStringRemoved` in initializer of `binaryninjacore_sys::BNBinaryDataNotification`: rust/src/data_notification.rs#L92
error[E0063]: missing fields `derivedStringFound` and `derivedStringRemoved` in initializer of `binaryninjacore_sys::BNBinaryDataNotification` --> rust/src/data_notification.rs:92:22 | 92 | let handle = BNBinaryDataNotification { | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `derivedStringFound` and `derivedStringRemoved` ... 174 | / trait_handler! { 175 | | notificationBarrier => notification_barrier( 176 | | view: *mut BNBinaryView: &BinaryView = &BinaryView::from_raw(view), 177 | | ) -> u64, ... | 407 | | ), 408 | | } | |_- in this macro invocation | = note: this error originates in the macro `trait_handler` (in Nightly builds, run with -Z macro-backtrace for more info)
type alias import `StringType` is private: rust/src/data_notification.rs#L14
error[E0603]: type alias import `StringType` is private --> rust/src/data_notification.rs:14:25 | 14 | use crate::disassembly::StringType; | ^^^^^^^^^^ private type alias import | note: the type alias import `StringType` is defined here... --> rust/src/disassembly.rs:36:5 | 36 | use crate::binary_view::StringType; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: ...and refers to the type alias `StringType` which is defined here --> rust/src/binary_view.rs:87:1 | 87 | pub type StringType = BNStringType; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly help: import `StringType` directly | 14 - use crate::disassembly::StringType; 14 + use binary_view::StringType; |
cargo fmt: rust/src/lib.rs#L39
Diff in /home/runner/work/binaryninja-api/binaryninja-api/rust/src/lib.rs
licensing
New version for cargo-about available: 0.8.4

Artifacts

Produced during runtime
Name Size Digest
license
26.5 KB
sha256:032143d12bd3ab0b2c1eab3902f0cd407754441138c9193c73c89e74893b8fea