Skip to content

Instantly share code, notes, and snippets.

@myypo
Created December 21, 2024 10:32
Show Gist options
  • Save myypo/0ef73cefe97f87659d66bfa0b38601cd to your computer and use it in GitHub Desktop.
Save myypo/0ef73cefe97f87659d66bfa0b38601cd to your computer and use it in GitHub Desktop.
restate-server rustc error
error: builder for '/nix/store/ba7dsra49nj8x8hyxxr44b3cx5rkyskd-restate-1.1.5.drv' failed with exit code 101;
last 25 log lines:
> error[E0425]: cannot find function `rocksdb_writebatch_wi_create_iterator_with_base_readopts` in crate `ffi`
> --> /build/restate-1.1.5-vendor/rust-rocksdb-0.29.0/src/write_batch_with_index.rs:396:18
> |
> 396 | ffi::rocksdb_writebatch_wi_create_iterator_with_base_readopts(
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `rocksdb_writebatch_wi_create_iterator_with_base_cf`
> |
> ::: /build/source/target/x86_64-unknown-linux-gnu/release/build/rust-librocksdb-sys-20f818cd1853f866/out/bindings.rs:3:59089
> |
> 3 | ... { pub fn rocksdb_writebatch_wi_create_iterator_with_base_cf (wbwi : * mut rocksdb_writebatch_wi_t , base_iterator : * mut rocksdb_iterator_t , cf : * mut rocksdb_column_fa
mily_
handle_t) -> * mut rocksdb_iterator_t ; } ...
> | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----
--------------------------------------- similarly named function `rocksdb_writebatch_wi_create_iterator_with_base_cf` defined here
>
> error[E0425]: cannot find function `rocksdb_writebatch_wi_create_iterator_with_base_cf_readopts` in crate `ffi`
> --> /build/restate-1.1.5-vendor/rust-rocksdb-0.29.0/src/write_batch_with_index.rs:417:18
> |
> 417 | ffi::rocksdb_writebatch_wi_create_iterator_with_base_cf_readopts(
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `rocksdb_writebatch_wi_create_iterator_with_base_cf`
> |
> ::: /build/source/target/x86_64-unknown-linux-gnu/release/build/rust-librocksdb-sys-20f818cd1853f866/out/bindings.rs:3:59089
> |
> 3 | ... { pub fn rocksdb_writebatch_wi_create_iterator_with_base_cf (wbwi : * mut rocksdb_writebatch_wi_t , base_iterator : * mut rocksdb_iterator_t , cf : * mut rocksdb_column_fa
mily_
handle_t) -> * mut rocksdb_iterator_t ; } ...
> | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----
--------------------------------------- similarly named function `rocksdb_writebatch_wi_create_iterator_with_base_cf` defined here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment