Closed
Description
"previous use here" seems to be the same location as the error?
error: concrete type differs from previous defining opaque type use
--> src/storage/src/table/batch_table/storage_table.rs:505:9
|
505 | Ok(iter)
| ^^^^^^^^ expected `StorageTableInnerIter<S, SD>`, got `impl Stream<Item = std::result::Result<(Vec<u8>, OwnedRow), error::StorageError>> + 'static`
|
note: previous use here
--> src/storage/src/table/batch_table/storage_table.rs:412:54
|
412 | ) -> StorageResult<StorageTableInnerIter<S, SD>> {
| ______________________________________________________^
413 | | let cache_policy = match (
414 | | encoded_key_range.start_bound(),
415 | | encoded_key_range.end_bound(),
... |
505 | | Ok(iter)
506 | | }
| |_____^
warning: `risingwave_storage` (lib) generated 1 warning
Note: tested latest 2023-08-11
, and reports same error.
Tested on this commit risingwavelabs/risingwave@9d3e587
cargo build -p risingwave_storage
(Sorry for not having a minimal example yet)
Bisect rustc and found the regression commit:
searched nightlies: from nightly-2023-06-16 to nightly-2023-07-08
regressed nightly: nightly-2023-06-18
searched commit range: 6bba061...3b2073f
regressed commit: 0cc541e
bisected with cargo-bisect-rustc v0.6.6
Host triple: aarch64-apple-darwin
Reproduce with:
cargo bisect-rustc --start 2023-06-16 --end 2023-07-08 -- build -p risingwave_storage
Source code here
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done