Skip to content

rename librocksdb-sys library #30

rename librocksdb-sys library

rename librocksdb-sys library #30

GitHub Actions / clippy failed Feb 10, 2024 in 0s

clippy

40 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 40
Warning 0
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 139 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `librocksdb_sys`

error[E0432]: unresolved import `librocksdb_sys`
   --> src/lib.rs:139:5
    |
139 | use librocksdb_sys as ffi;
    |     ^^^^^^^^^^^^^^^^^^^^^ no external crate `librocksdb_sys`

Check failure on line 15 in src/write_batch.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/write_batch.rs:15:13
   |
15 | use crate::{ffi, AsColumnFamilyRef};
   |             ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 30 in src/transactions/transaction_db.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/transactions/transaction_db.rs:30:5
   |
30 |     ffi,
   |     ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 20 in src/transactions/transaction.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/transactions/transaction.rs:20:5
   |
20 |     ffi, AsColumnFamilyRef, DBIteratorWithThreadMode, DBPinnableSlice, DBRawIteratorWithThreadMode,
   |     ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 16 in src/transactions/options.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/transactions/options.rs:16:5
   |
16 | use crate::ffi;
   |     ^^^^^^^^^^ no `ffi` in the root
   |
help: consider importing one of these items instead
   |
16 | use core::ffi;
   |     ~~~~~~~~~
16 | use std::ffi;
   |     ~~~~~~~~
16 | use std::os::unix::ffi;
   |     ~~~~~~~~~~~~~~~~~~

Check failure on line 21 in src/transactions/optimistic_transaction_db.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/transactions/optimistic_transaction_db.rs:21:32
   |
21 |     db::DBCommon, db::DBInner, ffi, ffi_util::to_cpath, write_batch::WriteBatchWithTransaction,
   |                                ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 16 in src/sst_file_writer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/sst_file_writer.rs:16:13
   |
16 | use crate::{ffi, ffi_util::to_cpath, Error, Options};
   |             ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 16 in src/snapshot.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/snapshot.rs:16:19
   |
16 |     db::DBAccess, ffi, AsColumnFamilyRef, DBIteratorWithThreadMode, DBPinnableSlice,
   |                   ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 20 in src/slice_transform.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/slice_transform.rs:20:13
   |
20 | use crate::{ffi, ffi_util::CStrLike};
   |             ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 17 in src/perf.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/perf.rs:17:26
   |
17 | use crate::{db::DBInner, ffi, ffi_util::from_cstr, Cache, Error, DB};
   |                          ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 5 in src/env.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
 --> src/env.rs:5:13
  |
5 | use crate::{ffi, Error};
  |             ^^^ no `ffi` in the root
  |
  = help: consider importing one of these items instead:
          std::ffi
          std::os::unix::ffi
          core::ffi

Check failure on line 15 in src/db_pinnable_slice.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/db_pinnable_slice.rs:15:13
   |
15 | use crate::{ffi, DB};
   |             ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 29 in src/db_options.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/db_options.rs:29:5
   |
29 |     ffi,
   |     ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 139 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `librocksdb_sys`

error[E0432]: unresolved import `librocksdb_sys`
   --> src/lib.rs:139:5
    |
139 | use librocksdb_sys as ffi;
    |     ^^^^^^^^^^^^^^^^^^^^^ no external crate `librocksdb_sys`

Check failure on line 15 in src/write_batch.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/write_batch.rs:15:13
   |
15 | use crate::{ffi, AsColumnFamilyRef};
   |             ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 17 in src/db_iterator.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/db_iterator.rs:17:5
   |
17 |     ffi, Error, ReadOptions, WriteBatch,
   |     ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 30 in src/transactions/transaction_db.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/transactions/transaction_db.rs:30:5
   |
30 |     ffi,
   |     ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 21 in src/db.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/db.rs:21:5
   |
21 |     ffi,
   |     ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 20 in src/transactions/transaction.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/transactions/transaction.rs:20:5
   |
20 |     ffi, AsColumnFamilyRef, DBIteratorWithThreadMode, DBPinnableSlice, DBRawIteratorWithThreadMode,
   |     ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 7 in src/compaction_filter_factory.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
 --> src/compaction_filter_factory.rs:7:5
  |
7 |     ffi,
  |     ^^^ no `ffi` in the root
  |
  = help: consider importing one of these items instead:
          std::ffi
          std::os::unix::ffi
          core::ffi

Check failure on line 16 in src/transactions/options.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/transactions/options.rs:16:5
   |
16 | use crate::ffi;
   |     ^^^^^^^^^^ no `ffi` in the root
   |
help: consider importing one of these items instead
   |
16 | use core::ffi;
   |     ~~~~~~~~~
16 | use std::ffi;
   |     ~~~~~~~~
16 | use std::os::unix::ffi;
   |     ~~~~~~~~~~~~~~~~~~

Check failure on line 15 in src/column_family.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/column_family.rs:15:32
   |
15 | use crate::{db::MultiThreaded, ffi, Options};
   |                                ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 21 in src/transactions/optimistic_transaction_db.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/transactions/optimistic_transaction_db.rs:21:32
   |
21 |     db::DBCommon, db::DBInner, ffi, ffi_util::to_cpath, write_batch::WriteBatchWithTransaction,
   |                                ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 20 in src/checkpoint.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/checkpoint.rs:20:26
   |
20 | use crate::{db::DBInner, ffi, ffi_util::to_cpath, DBCommon, Error, ThreadMode};
   |                          ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi

Check failure on line 16 in src/sst_file_writer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ffi`

error[E0432]: unresolved import `crate::ffi`
  --> src/sst_file_writer.rs:16:13
   |
16 | use crate::{ffi, ffi_util::to_cpath, Error, Options};
   |             ^^^ no `ffi` in the root
   |
   = help: consider importing one of these items instead:
           std::ffi
           std::os::unix::ffi
           core::ffi