fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
https://fzyzcjy.github.io/flutter_rust_bridge/
MIT License
4.12k stars 281 forks source link

[experimental-feature] Unable to translate third-party package tantivy #2254

Open Sivan22 opened 3 weeks ago

Sivan22 commented 3 weeks ago

Describe the bug

i am willing to use tantivy in my Dart/Flutter code. when adding tantivy to flutter_rust_bridge.yaml and running flutter_rust_bridge_codegen generate it returnes an error.

Steps to reproduce

just add the line rust_input: tantivy to your flutter_rust_bridge.yaml file and run flutter_rust_bridge_codegen generate

Logs

PS C:\dev\tantivy\my_app> flutter_rust_bridge_codegen generate 
[2024-08-22T04:25:41.094Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionaryBuilder < W >", "insert"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Inserts a `(key, value)` pair in the term dictionary.\"], # [doc = \"\"], # [doc = \" *Keys have to be inserted in order.*\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Inserts a `(key, value)` pair in the term dictionary.\"], # [doc = \"\"], # [doc = \" *Keys have to be inserted in order.*\"]])"})
[2024-08-22T04:25:41.099Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "empty"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=empty, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Creates an empty term dictionary which contains no terms.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=empty, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Creates an empty term dictionary which contains no terms.\"]])"})
[2024-08-22T04:25:41.103Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionaryBuilder < W >", "insert_key"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert_key, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" # Warning\"], # [doc = \" Horribly dangerous internal API\"], # [doc = \"\"], # [doc = \" If used, it must be used by systematically alternating calls\"], # [doc = \" to insert_key and insert_value.\"], # [doc = \"\"], # [doc = \" Prefer using `.insert(key, value)`\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert_key, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" # Warning\"], # [doc = \" Horribly dangerous internal API\"], # [doc = \"\"], # [doc = \" If used, it must be used by systematically alternating calls\"], # [doc = \" to insert_key and insert_value.\"], # [doc = \"\"], # [doc = \" Prefer using `.insert(key, value)`\"]])"})
[2024-08-22T04:25:41.109Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionaryBuilder < W >", "create"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=create, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Creates a new `TermDictionaryBuilder`\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=create, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Creates a new `TermDictionaryBuilder`\"]])"})
[2024-08-22T04:25:41.119Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionaryBuilder < W >", "insert_value"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert_value, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" # Warning\"], # [doc = \"\"], # [doc = \" Horribly dangerous internal API. See `.insert_key(...)`.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert_value, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" # Warning\"], # [doc = \"\"], # [doc = \" Horribly dangerous internal API. See `.insert_key(...)`.\"]])"})
[2024-08-22T04:25:41.128Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "range"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=range, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns a range builder, to stream all of the terms\"], # [doc = \" within an interval.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=range, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns a range builder, to stream all of the terms\"], # [doc = \" within an interval.\"]])"})
[2024-08-22T04:25:41.136Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "term_ord"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=term_ord, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns the ordinal associated with a given term.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=term_ord, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns the ordinal associated with a given term.\"]])"})
[2024-08-22T04:25:41.142Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "open"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=open, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Opens a `TermDictionary`.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=open, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Opens a `TermDictionary`.\"]])"})
[2024-08-22T04:25:41.149Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "ord_to_term"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=ord_to_term, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Stores the term associated with a given term ordinal in\"], # [doc = \" a `bytes` buffer.\"], # [doc = \"\"], # [doc = \" Term ordinals are defined as the position of the term in\"], # [doc = \" the sorted list of terms.\"], # [doc = \"\"], # [doc = \" Returns true if and only if the term has been found.\"], # [doc = \"\"], # [doc = \" Regardless of whether the term is found or not,\"], # [doc = \" the buffer may be modified.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=ord_to_term, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Stores the term associated with a given term ordinal in\"], # [doc = \" a `bytes` buffer.\"], # [doc = \"\"], # [doc = \" Term ordinals are defined as the position of the term in\"], # [doc = \" the sorted list of terms.\"], # [doc = \"\"], # [doc = \" Returns true if and only if the term has been found.\"], # [doc = \"\"], # [doc = \" Regardless of whether the term is found or not,\"], # [doc = \" the buffer may be modified.\"]])"})
[2024-08-22T04:25:41.154Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "num_terms"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=num_terms, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns the number of terms in the dictionary.\"], # [doc = \" Term ordinals range from 0 to `num_terms() - 1`.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=num_terms, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns the number of terms in the dictionary.\"], # [doc = \" Term ordinals range from 0 to `num_terms() - 1`.\"]])"})      
[2024-08-22T04:25:41.161Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "search"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=search, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns a search builder, to stream all of the terms\"], # [doc = \" within the Automaton\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=search, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns a search builder, to stream all of the terms\"], # [doc = \" within the Automaton\"]])"})
[2024-08-22T04:25:41.165Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionaryBuilder < W >", "finish"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=finish, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Finalize writing the builder, and returns the underlying\"], # [doc = \" `Write` object.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=finish, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Finalize writing the builder, and returns the underlying\"], # [doc = \" `Write` object.\"]])"})
[2024-08-22T04:25:41.171Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "stream"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=stream, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" A stream of all the sorted terms.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=stream, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" A stream of all the sorted terms.\"]])"})
[2024-08-22T04:25:41.176Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "get"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=get, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Lookups the value corresponding to the key.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=get, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Lookups the value corresponding to the key.\"]])"})
[2024-08-22T04:25:41.191Z INFO C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key="AggregationCollector", objects={"name":"tantivy::aggregation/AggregationCollector","visibility":"Public","sources":["Normal"],"mirror":true}, {"name":"tantivy::aggregation/AggregationCollector","visibility":"Public","sources":["Normal"],"mirror":true})
[14.0s] Parse ⠈
  └── [13.7s] Cargo expand & syn parse
  └── [0.3s] Parse HIR ⠐                                                                               
[2024-08-22T04:25:41.222Z ERROR C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\utils\logs.rs:55] panicked at C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\concrete.rs:118:38:
index out of bounds: the len is 0 but the index is 0
thread 'main' panicked at C:\Dev\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\concrete.rs:118:38:
[14.0s] Parse ⠈
  └── [13.7s] Cargo expand & syn parse
  └── [0.4s] Parse HIR ⠈

Expected behavior

No response

Generated binding code

No response

OS

No response

Version of flutter_rust_bridge_codegen

No response

Flutter info

No response

Version of clang++

No response

Additional context

No response

welcome[bot] commented 3 weeks ago

Hi! Thanks for opening your first issue here! :smile:

fzyzcjy commented 3 weeks ago

Firstly, try to run with stacktrace enabled and paste it here to know what is happening.

Secondly, as is mentioned in the doc, scanning whole third party crate is experimental, thus for complex scenarios it may be needed to fall back to manually write a thin wrapper and use the classical features of frb.

Sivan22 commented 3 weeks ago

thank you for the fast response. here is the logging, with the backtrace:

``` { raw: "Three" }, segments: [NameComponent { ident: "Three", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.086Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=(One , Two , Three) ans=Record(MirTypeRecord { inner: MirTypeStructRef { ident: MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "crate" }, name: "__record__Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerOne_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerTwo_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerThree" }), is_exception: false }, values: [RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "One" }, segments: [NameComponent { ident: "One", args: [] }] }, reason: None, ignore: false }), RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Two" }, segments: [NameComponent { ident: "Two", args: [] }] }, reason: None, ignore: false }), RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Three" }, segments: [NameComponent { ident: "Three", args: [] }] }, reason: None, ignore: false })] }) [2024-08-22T14:47:44.093Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=One ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "One" }, segments: [NameComponent { ident: "One", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.099Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Two ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Two" }, segments: [NameComponent { ident: "Two", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.103Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Three ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Three" }, segments: [NameComponent { ident: "Three", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.107Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Four ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Four" }, segments: [NameComponent { ident: "Four", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.113Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=(One , Two , Three , Four) ans=Record(MirTypeRecord { inner: MirTypeStructRef { ident: MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "crate" }, name: "__record__Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerOne_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerTwo_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerThree_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerFour" }), is_exception: false }, values: [RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "One" }, segments: [NameComponent { ident: "One", args: [] }] }, reason: None, ignore: false }), RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Two" }, segments: [NameComponent { ident: "Two", args: [] }] }, reason: None, ignore: false }), RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Three" }, segments: [NameComponent { ident: "Three", args: [] }] }, reason: None, ignore: false }), RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Four" }, segments: [NameComponent { ident: "Four", args: [] }] }, reason: None, ignore: false })] }) [2024-08-22T14:47:44.122Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=SegmentCountCollector ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "SegmentCountCollector" }, segments: [NameComponent { ident: "SegmentCountCollector", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.125Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=SegmentHistogramCollector ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "SegmentHistogramCollector" }, segments: [NameComponent { ident: "SegmentHistogramCollector", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.130Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=dyn BoxableSegmentCollector ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "dyn BoxableSegmentCollector" }, segments: [] }, reason: None, ignore: false }) [2024-08-22T14:47:44.134Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Box < dyn BoxableSegmentCollector > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Box < dyn BoxableSegmentCollector >" }, segments: [NameComponent { ident: "Box", args: [Type::TraitObject { dyn_token: Some(Dyn), bounds: [TypeParamBound::Trait(TraitBound { paren_token: None, modifier: TraitBoundModifier::None, lifetimes: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: BoxableSegmentCollector, span: bytes(1943050..1943073) }, arguments: PathArguments::None }] } })] }] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.138Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=MultiCollectorChild ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "MultiCollectorChild" }, segments: [NameComponent { ident: "MultiCollectorChild", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.143Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=TopScoreSegmentCollector ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "TopScoreSegmentCollector" }, segments: [NameComponent { ident: "TopScoreSegmentCollector", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.147Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=CustomScoreTopSegmentCollector < T , TScore > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "CustomScoreTopSegmentCollector < T , TScore >" }, segments: [NameComponent { ident: "CustomScoreTopSegmentCollector", args: [Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: T, span: bytes(711992..711993) }, arguments: PathArguments::None }] } }, Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: TScore, span: bytes(711995..712001) }, arguments: PathArguments::None }] } }] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.152Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=TopTweakedScoreSegmentCollector < TSegmentScoreTweaker , TScore > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "TopTweakedScoreSegmentCollector < TSegmentScoreTweaker , TScore >" }, segments: [NameComponent { ident: "TopTweakedScoreSegmentCollector", args: [Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: TSegmentScoreTweaker, span: bytes(716996..717016) }, arguments: PathArguments::None }] } }, Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: TScore, span: bytes(717018..717024) }, arguments: PathArguments::None }] } }] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.156Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FacetSegmentCollector ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FacetSegmentCollector" }, segments: [NameComponent { ident: "FacetSegmentCollector", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.162Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=DocSetChildCollector ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "DocSetChildCollector" }, segments: [NameComponent { ident: "DocSetChildCollector", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.165Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FilterSegmentCollector < TSegmentCollector , TPredicate , TPredicateValue > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FilterSegmentCollector < TSegmentCollector , TPredicate , TPredicateValue >" }, segments: [NameComponent { ident: "FilterSegmentCollector", args: [Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: TSegmentCollector, span: bytes(746110..746127) }, arguments: PathArguments::None }] } }, Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: TPredicate, span: bytes(746129..746139) }, arguments: PathArguments::None }] } }, Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: TPredicateValue, span: bytes(746153..746168) }, arguments: PathArguments::None }] } }] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.170Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=SegmentMeta ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "SegmentMeta" }, segments: [NameComponent { ident: "SegmentMeta", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.174Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Facet ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Facet" }, segments: [NameComponent { ident: "Facet", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.177Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Schema ans=StructRef(MirTypeStructRef { ident: MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "crate::api" }, name: "Schema" }), is_exception: false }) [2024-08-22T14:47:44.180Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FieldEntry ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FieldEntry" }, segments: [NameComponent { ident: "FieldEntry", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.183Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Value ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Value" }, segments: [NameComponent { ident: "Value", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.187Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=MmapArc ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "MmapArc" }, segments: [NameComponent { ident: "MmapArc", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.190Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\enum_or_struct.rs:85] Treat Version as opaque by compute_default_opaque [2024-08-22T14:47:44.193Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Version ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "tantivy" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Version" }, segments: [NameComponent { ident: "Version", args: [] }] }, reason: Some(StructOrEnumRequireOpaque), ignore: false }) [2024-08-22T14:47:44.197Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=DocAddress ans=StructRef(MirTypeStructRef { ident: MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "tantivy" }, name: "DocAddress" }), is_exception: false }) [2024-08-22T14:47:44.199Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=IndexSettings ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "IndexSettings" }, segments: [NameComponent { ident: "IndexSettings", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.202Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=IndexSortByField ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "IndexSortByField" }, segments: [NameComponent { ident: "IndexSortByField", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.205Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Order ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Order" }, segments: [NameComponent { ident: "Order", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.208Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=SegmentComponent ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "SegmentComponent" }, segments: [NameComponent { ident: "SegmentComponent", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.213Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=SegmentId ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "SegmentId" }, segments: [NameComponent { ident: "SegmentId", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.216Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\enum_or_struct.rs:85] Treat DeleteOperation as opaque by compute_default_opaque [2024-08-22T14:47:44.218Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=DeleteOperation ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "tantivy::indexer::operation" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "DeleteOperation" }, segments: [NameComponent { ident: "DeleteOperation", args: [] }] }, reason: Some(StructOrEnumRequireOpaque), ignore: false }) [2024-08-22T14:47:44.221Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=AddOperation ans=StructRef(MirTypeStructRef { ident: MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "tantivy::indexer::operation" }, name: "AddOperation" }), is_exception: false }) [2024-08-22T14:47:44.224Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\enum_or_struct.rs:85] Treat UserOperation as opaque by compute_default_opaque [2024-08-22T14:47:44.227Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=UserOperation ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "tantivy::indexer::operation" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "UserOperation" }, segments: [NameComponent { ident: "UserOperation", args: [] }] }, reason: Some(StructOrEnumRequireOpaque), ignore: false }) [2024-08-22T14:47:44.231Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=SegmentsStatus ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "SegmentsStatus" }, segments: [NameComponent { ident: "SegmentsStatus", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.234Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Language ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Language" }, segments: [NameComponent { ident: "Language", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.237Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=PreTokenizedString ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "PreTokenizedString" }, segments: [NameComponent { ident: "PreTokenizedString", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.240Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Token ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Token" }, segments: [NameComponent { ident: "Token", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.243Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Footer ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner
" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Footer" }, segments: [NameComponent { ident: "Footer", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.247Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FileAddr ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FileAddr" }, segments: [NameComponent { ident: "FileAddr", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.249Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FastType ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FastType" }, segments: [NameComponent { ident: "FastType", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.253Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FreqReadingOption ans=Delegate(PrimitiveEnum(MirTypeDelegatePrimitiveEnum { mir: MirTypeEnumRef { ident: MirEnumIdent(NamespacedName { namespace: Namespace { joined_path: "tantivy::postings" }, name: "FreqReadingOption" }), is_exception: false }, repr: I32 })) [2024-08-22T14:47:44.255Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=BlockInfo ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "BlockInfo" }, segments: [NameComponent { ident: "BlockInfo", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.258Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=TermInfo ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "TermInfo" }, segments: [NameComponent { ident: "TermInfo", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.262Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Bm25Params ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Bm25Params" }, segments: [NameComponent { ident: "Bm25Params", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.265Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=ScoreTerm ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "ScoreTerm" }, segments: [NameComponent { ident: "ScoreTerm", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.269Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=TargetDocument ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "TargetDocument" }, segments: [NameComponent { ident: "TargetDocument", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.272Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=QueryParserError ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "QueryParserError" }, segments: [NameComponent { ident: "QueryParserError", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.275Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FacetParseError ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FacetParseError" }, segments: [NameComponent { ident: "FacetParseError", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.279Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Facet ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Facet" }, segments: [NameComponent { ident: "Facet", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.281Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FacetOptions ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FacetOptions" }, segments: [NameComponent { ident: "FacetOptions", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.285Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Schema ans=StructRef(MirTypeStructRef { ident: MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "crate::api" }, name: "Schema" }), is_exception: false }) [2024-08-22T14:47:44.287Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=DocParsingError ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "DocParsingError" }, segments: [NameComponent { ident: "DocParsingError", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.290Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Term < B > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Term < B >" }, segments: [NameComponent { ident: "Term", args: [Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: B, span: bytes(1510250..1510251) }, arguments: PathArguments::None }] } }] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.295Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FieldEntry ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FieldEntry" }, segments: [NameComponent { ident: "FieldEntry", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.298Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=ValueParsingError ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "ValueParsingError" }, segments: [NameComponent { ident: "ValueParsingError", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.301Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Type ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Type" }, segments: [NameComponent { ident: "Type", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.304Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FieldType ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FieldType" }, segments: [NameComponent { ident: "FieldType", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.307Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FieldValue ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FieldValue" }, segments: [NameComponent { ident: "FieldValue", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.312Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=BytesOptions ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "BytesOptions" }, segments: [NameComponent { ident: "BytesOptions", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.315Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Field ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Field" }, segments: [NameComponent { ident: "Field", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.318Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=IndexRecordOption ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "IndexRecordOption" }, segments: [NameComponent { ident: "IndexRecordOption", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.321Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Cardinality ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Cardinality" }, segments: [NameComponent { ident: "Cardinality", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.325Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=IntOptions ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "IntOptions" }, segments: [NameComponent { ident: "IntOptions", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.329Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=TextOptions ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "TextOptions" }, segments: [NameComponent { ident: "TextOptions", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.332Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=TextFieldIndexing ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "TextFieldIndexing" }, segments: [NameComponent { ident: "TextFieldIndexing", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.336Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Value ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Value" }, segments: [NameComponent { ident: "Value", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.340Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Compressor ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Compressor" }, segments: [NameComponent { ident: "Compressor", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.344Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=DocStoreFooter ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "DocStoreFooter" }, segments: [NameComponent { ident: "DocStoreFooter", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.351Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Checkpoint ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Checkpoint" }, segments: [NameComponent { ident: "Checkpoint", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.357Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=TermInfoBlockMeta ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "TermInfoBlockMeta" }, segments: [NameComponent { ident: "TermInfoBlockMeta", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.368Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=SafeFileWriter ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "SafeFileWriter" }, segments: [NameComponent { ident: "SafeFileWriter", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.374Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FooterProxy < W > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FooterProxy < W >" }, segments: [NameComponent { ident: "FooterProxy", args: [Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: W, span: bytes(851015..851016) }, arguments: PathArguments::None }] } }] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.380Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=VecWriter ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "VecWriter" }, segments: [NameComponent { ident: "VecWriter", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.383Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\enum_or_struct.rs:85] Treat Version as opaque by compute_default_opaque [2024-08-22T14:47:44.385Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Version ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "tantivy" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Version" }, segments: [NameComponent { ident: "Version", args: [] }] }, reason: Some(StructOrEnumRequireOpaque), ignore: false }) [2024-08-22T14:47:44.388Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=AlphaNumOnlyFilter ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "AlphaNumOnlyFilter" }, segments: [NameComponent { ident: "AlphaNumOnlyFilter", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.392Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=AsciiFoldingFilter ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "AsciiFoldingFilter" }, segments: [NameComponent { ident: "AsciiFoldingFilter", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.396Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=LowerCaser ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "LowerCaser" }, segments: [NameComponent { ident: "LowerCaser", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.400Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=RemoveLongFilter ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "RemoveLongFilter" }, segments: [NameComponent { ident: "RemoveLongFilter", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.403Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Stemmer ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Stemmer" }, segments: [NameComponent { ident: "Stemmer", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.407Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=StopWordFilter ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "StopWordFilter" }, segments: [NameComponent { ident: "StopWordFilter", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.411Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=T ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "T" }, segments: [NameComponent { ident: "T", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.415Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=AlphaNumOnlyFilterStream < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "AlphaNumOnlyFilterStream < 'a >" }, segments: [NameComponent { ident: "AlphaNumOnlyFilterStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.419Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=AsciiFoldingFilterTokenStream < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "AsciiFoldingFilterTokenStream < 'a >" }, segments: [NameComponent { ident: "AsciiFoldingFilterTokenStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.423Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FacetTokenStream < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FacetTokenStream < 'a >" }, segments: [NameComponent { ident: "FacetTokenStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.428Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=LowerCaserTokenStream < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "LowerCaserTokenStream < 'a >" }, segments: [NameComponent { ident: "LowerCaserTokenStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.432Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=NgramTokenStream < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "NgramTokenStream < 'a >" }, segments: [NameComponent { ident: "NgramTokenStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.435Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=RawTokenStream ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "RawTokenStream" }, segments: [NameComponent { ident: "RawTokenStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.439Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=RemoveLongFilterStream < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "RemoveLongFilterStream < 'a >" }, segments: [NameComponent { ident: "RemoveLongFilterStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.443Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=SimpleTokenStream < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "SimpleTokenStream < 'a >" }, segments: [NameComponent { ident: "SimpleTokenStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.447Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=StemmerTokenStream < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "StemmerTokenStream < 'a >" }, segments: [NameComponent { ident: "StemmerTokenStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.450Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=StopWordFilterStream < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "StopWordFilterStream < 'a >" }, segments: [NameComponent { ident: "StopWordFilterStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.454Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=TokenStreamChain < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "TokenStreamChain < 'a >" }, segments: [NameComponent { ident: "TokenStreamChain", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.458Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=PreTokenizedStream ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "PreTokenizedStream" }, segments: [NameComponent { ident: "PreTokenizedStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.463Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=dyn TokenStream + 'a ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "dyn TokenStream + 'a" }, segments: [] }, reason: None, ignore: false }) [2024-08-22T14:47:44.467Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=Box < dyn TokenStream + 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "Box < dyn TokenStream + 'a >" }, segments: [NameComponent { ident: "Box", args: [Type::TraitObject { dyn_token: Some(Dyn), bounds: [TypeParamBound::Trait(TraitBound { paren_token: None, modifier: TraitBoundModifier::None, lifetimes: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: TokenStream, span: bytes(1943083..1943094) }, arguments: PathArguments::None }] } }), Plus, TypeParamBound::Lifetime { apostrophe: bytes(1943097..1943098), ident: Ident { sym: a, span: bytes(1943098..1943099) } }] }] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.473Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=WhitespaceTokenStream < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "WhitespaceTokenStream < 'a >" }, segments: [NameComponent { ident: "WhitespaceTokenStream", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.479Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FacetTokenizer ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FacetTokenizer" }, segments: [NameComponent { ident: "FacetTokenizer", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.482Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=NgramTokenizer ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "NgramTokenizer" }, segments: [NameComponent { ident: "NgramTokenizer", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.486Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=RawTokenizer ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "RawTokenizer" }, segments: [NameComponent { ident: "RawTokenizer", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.489Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=SimpleTokenizer ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "SimpleTokenizer" }, segments: [NameComponent { ident: "SimpleTokenizer", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.494Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=WhitespaceTokenizer ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "WhitespaceTokenizer" }, segments: [NameComponent { ident: "WhitespaceTokenizer", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.497Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=T ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "T" }, segments: [NameComponent { ident: "T", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.501Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=IndexReaderBuilder ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "IndexReaderBuilder" }, segments: [NameComponent { ident: "IndexReaderBuilder", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.504Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=BlockDecoder ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "BlockDecoder" }, segments: [NameComponent { ident: "BlockDecoder", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.508Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=BlockEncoder ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "BlockEncoder" }, segments: [NameComponent { ident: "BlockEncoder", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.512Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=AllWeight ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "AllWeight" }, segments: [NameComponent { ident: "AllWeight", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.515Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=AutomatonWeight < A > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "AutomatonWeight < A >" }, segments: [NameComponent { ident: "AutomatonWeight", args: [Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: A, span: bytes(1178638..1178639) }, arguments: PathArguments::None }] } }] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.519Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=BooleanWeight ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "BooleanWeight" }, segments: [NameComponent { ident: "BooleanWeight", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.523Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=BoostWeight ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "BoostWeight" }, segments: [NameComponent { ident: "BoostWeight", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.527Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=EmptyWeight ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "EmptyWeight" }, segments: [NameComponent { ident: "EmptyWeight", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.531Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=PhraseWeight ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "PhraseWeight" }, segments: [NameComponent { ident: "PhraseWeight", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.534Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=RangeWeight ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "RangeWeight" }, segments: [NameComponent { ident: "RangeWeight", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.539Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=TermWeight ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "TermWeight" }, segments: [NameComponent { ident: "TermWeight", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.543Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=SafeFileWriter ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "SafeFileWriter" }, segments: [NameComponent { ident: "SafeFileWriter", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.547Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=FooterProxy < W > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "FooterProxy < W >" }, segments: [NameComponent { ident: "FooterProxy", args: [Type::Path { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: W, span: bytes(850566..850567) }, arguments: PathArguments::None }] } }] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.552Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=VecWriter ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "VecWriter" }, segments: [NameComponent { ident: "VecWriter", args: [] }] }, reason: None, ignore: false }) [2024-08-22T14:47:44.555Z DEBUG C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\ty.rs:12] TypeParserWithContext.parse_type ty=ExpUnrolledLinkedListWriter < 'a > ans=RustAutoOpaqueImplicit(MirTypeRustAutoOpaqueImplicit { ownership_mode: Owned, inner: MirTypeRustOpaque { namespace: Namespace { joined_path: "crate" }, inner: MirRustOpaqueInner(MirLifetimeAwareType { raw: "flutter_rust_bridge::for_generated::RustAutoOpaqueInner>" }), codec: Moi, dart_api_type: None, brief_name: true }, raw: MirRustAutoOpaqueRaw { string: MirLifetimeAwareType { raw: "ExpUnrolledLinkedListWriter < 'a >" }, segments: [NameComponent { ident: "ExpUnrolledLinkedListWriter", args: [] }] }, reason: None, ignore: false }) [80.4s] Parse ⠈ └── [75.2s] Cargo expand & syn parse └── [5.3s] Parse HIR ⢀ [2024-08-22T14:47:44.559Z ERROR C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\utils\logs.rs:55] panicked at C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\ir\mir\ty\structure.rs:36:32: no entry found for key=MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "tantivy::indexerdexer::merge_policy" }, name: "NoMergePolicy" }) thread 'main' panicked at C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\ir\mir\ty\structure.rs:36:32: no entry found for key=MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "tantivy::in[80.5s] Parse ⠁ └── [75.2s] Cargo expand & syn parse └── [5.3s] Parse HIR ⠠ ```

meanwhile i will try to create wrappers, while simplifing the use of the library. i got some inspiration for the architacture from these two projects (although they are using FRB v1 and have not been maintained recerntly): 1) https://github.com/yiv/full_search 2) https://github.com/JJVillalba/tantivy_dart/

fzyzcjy commented 3 weeks ago

Hmm, try RUST_BACKTRACE=1 the_command which will show backtrace

Sivan22 commented 3 weeks ago

Oh, I am sorry for that. this is with RUST_BACKTRACE=1

 flutter_rust_bridge_codegen generate 
[2024-08-23T11:12:19.009Z WARN C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\config\internal_config_parser\rust_path_parser.rs:50] Reminder: `rust_input` field usually looks like `crate::api`, but no `crate` word is detected. This is not a problem if the first-party crate is really not scanned[2024-08-23T11:18:59.903Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionaryBuilder < W >", "insert_key"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert_key, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" # Warning\"], # [doc = \" Horribly dangerous internal API\"], # [doc = \"\"], # [doc = \" If used, it must be used by systematically alternating calls\"], # [doc = \" to insert_key and insert_value.\"], # [doc = \"\"], # [doc = \" Prefer using `.insert(key, value)`\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert_key, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" # Warning\"], # [doc = \" Horribly dangerous internal API\"], # [doc = \"\"], # [doc = \" If used, it must be used by systematically alternating calls\"], # [doc = \" to insert_key and insert_value.\"], # [doc = \"\"], # [doc = \" Prefer using `.insert(key, value)`\"]])"})
[2024-08-23T11:18:59.907Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "num_terms"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=num_terms, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns the number of terms in the dictionary.\"], # [doc = \" Term ordinals range from 0 to `num_terms() - 1`.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=num_terms, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns the number of terms in the dictionary.\"], # [doc = \" Term ordinals range from 0 to `num_terms() - 1`.\"]])"})
[2024-08-23T11:18:59.910Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "get"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=get, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Lookups the value corresponding to the key.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=get, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Lookups the value corresponding to the key.\"]])"})
[2024-08-23T11:18:59.914Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "range"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=range, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns a range builder, to stream all of the terms\"], # [doc = \" within an interval.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=range, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns a range builder, to stream all of the terms\"], # [doc = \" within an interval.\"]])"})
[2024-08-23T11:18:59.921Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "search"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=search, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns a search builder, to stream all of the terms\"], # [doc = \" within the Automaton\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=search, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns a search builder, to stream all of the terms\"], # [doc = \" within the Automaton\"]])"})
[2024-08-23T11:18:59.924Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "open"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=open, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Opens a `TermDictionary`.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=open, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Opens a `TermDictionary`.\"]])"})
[2024-08-23T11:18:59.929Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "ord_to_term"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=ord_to_term, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Stores the term associated with a given term ordinal in\"], # [doc = \" a `bytes` buffer.\"], # [doc = \"\"], # [doc = \" Term ordinals are defined as the position of the term in\"], # [doc = \" the sorted list of terms.\"], # [doc = \"\"], # [doc = \" Returns true if and only if the term has been found.\"], # [doc = \"\"], # [doc = \" Regardless of whether the term is found or not,\"], # [doc = \" the buffer may be modified.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=ord_to_term, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Stores the term associated with a given term ordinal in\"], # [doc = \" a `bytes` buffer.\"], # [doc = \"\"], # [doc = \" Term ordinals are defined as the position of the term in\"], # [doc = \" the sorted list of terms.\"], # [doc = \"\"], # [doc = \" Returns true if and only if the term has been found.\"], # [doc = \"\"], # [doc = \" Regardless of whether the term is found or not,\"], # [doc = \" the buffer may be modified.\"]])"})
[2024-08-23T11:18:59.935Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionaryBuilder < W >", "create"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=create, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Creates a new `TermDictionaryBuilder`\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=create, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Creates a new `TermDictionaryBuilder`\"]])"})
[2024-08-23T11:18:59.941Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "term_ord"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=term_ord, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns the ordinal associated with a given term.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=term_ord, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Returns the ordinal associated with a given term.\"]])"})
[2024-08-23T11:18:59.949Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "stream"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=stream, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" A stream of all the sorted terms.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=stream, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" A stream of all the sorted terms.\"]])"})
[2024-08-23T11:18:59.953Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionary", "empty"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=empty, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Creates an empty term dictionary which contains no terms.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionary","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=empty, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Creates an empty term dictionary which contains no terms.\"]])"})
[2024-08-23T11:18:59.957Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionaryBuilder < W >", "insert_value"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert_value, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" # Warning\"], # [doc = \"\"], # [doc = \" Horribly dangerous internal API. See `.insert_key(...)`.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert_value, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" # Warning\"], # [doc = \"\"], # [doc = \" Horribly dangerous internal API. See `.insert_key(...)`.\"]])"})
[2024-08-23T11:18:59.961Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionaryBuilder < W >", "insert"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Inserts a `(key, value)` pair in the term dictionary.\"], # [doc = \"\"], # [doc = \" *Keys have to be inserted in order.*\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=insert, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Inserts a `(key, value)` pair in the term dictionary.\"], # [doc = \"\"], # [doc = \" *Keys have to be inserted in order.*\"]])"})
[2024-08-23T11:18:59.969Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key=("TermDictionaryBuilder < W >", "finish"), objects={"namespace":"tantivy::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=finish, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Finalize writing the builder, and returns the underlying\"], # [doc = \" `Write` object.\"]])"}, {"namespace":"tantivy::termdict::fst_termdict::termdict","owner":{"StructOrEnum":{"impl_ty":"TermDictionaryBuilder < W >","trait_def_name":null}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=finish, vis=Some(Visibility::Public(Pub)), attrs=[# [doc = \" Finalize writing the builder, and returns the underlying\"], # [doc = \" `Write` object.\"]])"})     
[2024-08-23T11:18:59.977Z INFO C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\hir\flat\transformer\merge_duplicate_transformer\mod.rs:72] There are still multiple objects with same key after merging, thus randomly pick one. This is an issue only if the object is indeed used. (key="AggregationCollector", objects={"name":"tantivy::aggregation/AggregationCollector","visibility":"Public","sources":["Normal"],"mirror":true}, {"name":"tantivy::aggregation/AggregationCollector","visibility":"Public","sources":["Normal"],"mirror":true})  
[377.5s] Parse ⠂
  └── [375.9s] Cargo expand & syn parse
  └── [0.2s] Parse HIR ⠠                                                                                                    
[2024-08-23T11:18:59.998Z ERROR C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\utils\logs.rs:55] panicked at C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\concrete.rs:118:38:
index out of bounds: the len is 0 but the index is 0
thread 'main' panicked at C:\Users.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\concrete.rs:118:38:
[377.5s] Parse ⠂
  └── [375.9s] Cargo expand & syn parse
  └── [0.3s] Parse HIR ⠐                                                                                                    
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

and this is with RUST_BACKTRACE=full:

[2024-08-23T09:09:26.218Z ERROR C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\utils\logs.rs:55] panicked at C:\Users\Goldman\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\concrete.rs:118:38:
index out of bounds: the len is 0 but the index is 0
thread 'main' panicked at C:\Users\Goldman\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.3.0\src\library\codegen\parser\mir\parser\ty\concrete.rs:118:38:
index out of bounds: the len is 0 but the index is 0
stack backtrace:
   0:     0x7ff7139c4cdd - <unknown>
   1:     0x7ff7139e8279 - <unknown>
   2:     0x7ff7139bfd31 - <unknown>
   3:     0x7ff7139c4ab6 - <unknown>
   4:     0x7ff7139c7358 - <unknown>
   5:     0x7ff7139c7006 - <unknown>
   6:     0x7ff712f1a6ad - <unknown>
   7:     0x7ff7139c78b7 - <unknown>
   8:     0x7ff7139c7747 - <unknown>
   9:     0x7ff7139c564f - <unknown>
  10:     0x7ff7139c73f8 - <unknown>
  11:     0x7ff713a1bea4 - <unknown>
  12:     0x7ff713a1c08e - <unknown>
  13:     0x7ff712fcb504 - <unknown>
[347.3s] Parse ⠐                                                                                                      
  └── [345.2s] Cargo expand & syn parse                                                                               
  └── [2.1s] Parse HIR ⠄                                                                                              
  16:     0x7ff71308c81e - <unknown>
  17:     0x7ff7130fef06 - <unknown>
  18:     0x7ff712fc8742 - <unknown>
  19:     0x7ff71308f43e - <unknown>
  20:     0x7ff7130fe7fd - <unknown>
  21:     0x7ff712fc7f74 - <unknown>
  22:     0x7ff713022f6d - <unknown>
  23:     0x7ff712fca737 - <unknown>
  24:     0x7ff712fd1714 - <unknown>
  25:     0x7ff71320b720 - <unknown>
  26:     0x7ff7130a946b - <unknown>
  27:     0x7ff713116c6c - <unknown>
  28:     0x7ff712fd4ca8 - <unknown>
  29:     0x7ff712f7ae54 - <unknown>
  30:     0x7ff7130e4ab8 - <unknown>
  31:     0x7ff712f7c95b - <unknown>
  32:     0x7ff71327ee3c - <unknown>
  33:     0x7ff712f7bf84 - <unknown>
  34:     0x7ff712e6f07f - <unknown>
  35:     0x7ff712e746a6 - <unknown>
  36:     0x7ff712e7541a - <unknown>
  37:     0x7ff7139b830e - <unknown>
  38:     0x7ff712e6fb2c - <unknown>
  39:     0x7ff7139f08b0 - <unknown>
[347.4s] Parse ⠁
  └── [345.2s] Cargo expand & syn parse
  └── [2.1s] Parse HIR ⠄    
fzyzcjy commented 3 weeks ago

Get it. Since this is experimental feature, I may not have time recently to have a deeper look at it, but feel free to PR for it (and I am happy to provide hints and suggestions)! And if there are bugs in non-experimental feature also feel free to ping me.