Rust bindings refactor #283
Annotations
10 errors and 1 warning
|
rust/rust/src/collaboration/changeset.rs#L2
error: unused imports: `mem` and `ptr`
--> ./rust/rust/src/collaboration/changeset.rs:2:17
|
2 | use core::{ffi, mem, ptr};
| ^^^ ^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
|
rust/rust/src/collaboration/changeset.rs#L23
error: associated function `ref_from_raw` is never used
--> ./rust/rust/src/collaboration/changeset.rs:23:26
|
18 | impl Changeset {
| -------------- associated function in this implementation
...
23 | pub(crate) unsafe fn ref_from_raw(handle: NonNull<BNCollaborationChangeset>) -> Ref<Self> {
| ^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
|
rust/rust/src/collaboration/file.rs#L1
error: unused import: `mem`
--> ./rust/rust/src/collaboration/file.rs:1:17
|
1 | use core::{ffi, mem, ptr};
| ^^^
|
|
rust/rust/src/collaboration/folder.rs#L2
error: unused import: `crate::database::snapshot::Snapshot`
--> ./rust/rust/src/collaboration/folder.rs:2:5
|
2 | use crate::database::snapshot::Snapshot;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
rust/rust/src/collaboration/folder.rs#L4
error: unused import: `mem`
--> ./rust/rust/src/collaboration/folder.rs:4:17
|
4 | use core::{ffi, mem, ptr};
| ^^^
|
|
rust/rust/src/collaboration/group.rs#L2
error: unused import: `crate::database::snapshot::SnapshotId`
--> ./rust/rust/src/collaboration/group.rs:2:5
|
2 | use crate::database::snapshot::SnapshotId;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
rust/rust/src/collaboration/group.rs#L6
error: unused import: `mem`
--> ./rust/rust/src/collaboration/group.rs:6:17
|
6 | use core::{ffi, mem, ptr};
| ^^^
|
|
rust/rust/src/collaboration/merge.rs#L2
error: unused imports: `mem` and `ptr`
--> ./rust/rust/src/collaboration/merge.rs:2:17
|
2 | use core::{ffi, mem, ptr};
| ^^^ ^^^
|
|
rust/rust/src/collaboration/merge.rs#L23
error: associated function `ref_from_raw` is never used
--> ./rust/rust/src/collaboration/merge.rs:23:26
|
18 | impl MergeConflict {
| ------------------ associated function in this implementation
...
23 | pub(crate) unsafe fn ref_from_raw(handle: NonNull<BNAnalysisMergeConflict>) -> Ref<Self> {
| ^^^^^^^^^^^^
|
|
rust/rust/src/collaboration/project.rs#L1
error: unused import: `mem`
--> ./rust/rust/src/collaboration/project.rs:1:17
|
1 | use core::{ffi, mem, ptr};
| ^^^
|
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
The logs for this run have expired and are no longer available.
Loading