Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to translate third-party package tantivy #2254

Open
Sivan22 opened this issue Aug 22, 2024 · 10 comments
Open

Unable to translate third-party package tantivy #2254

Sivan22 opened this issue Aug 22, 2024 · 10 comments
Labels
awaiting Waiting for responses, PR, further discussions, upstream release, etc experimental feature Issues related to experimental instead of stable features

Comments

@Sivan22
Copy link

Sivan22 commented Aug 22, 2024

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

@Sivan22 Sivan22 added the bug Something isn't working label Aug 22, 2024
Copy link

welcome bot commented Aug 22, 2024

Hi! Thanks for opening your first issue here! 😄

@fzyzcjy
Copy link
Owner

fzyzcjy commented Aug 22, 2024

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.

@fzyzcjy fzyzcjy added the awaiting Waiting for responses, PR, further discussions, upstream release, etc label Aug 22, 2024
@Sivan22
Copy link
Author

Sivan22 commented Aug 22, 2024

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<One>" }), 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<Two>" }), 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<Three>" }), 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<One>" }), 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<Two>" }), 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<Three>" }), 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<Four>" }), 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<One>" }), 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<Two>" }), 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<Three>" }), 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<Four>" }), 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<SegmentCountCollector>" }), 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<SegmentHistogramCollector>" }), 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<dyn BoxableSegmentCollector>" }), 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<Box < dyn BoxableSegmentCollector >>" }), 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<MultiCollectorChild>" }), 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<TopScoreSegmentCollector>" }), 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<CustomScoreTopSegmentCollector < T , TScore >>" }), 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<TopTweakedScoreSegmentCollector < TSegmentScoreTweaker , TScore >>" }), 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<FacetSegmentCollector>" }), 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<DocSetChildCollector>" }), 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<FilterSegmentCollector < TSegmentCollector , TPredicate , TPredicateValue >>" }), 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<SegmentMeta>" }), 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<Facet>" }), 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<FieldEntry>" }), 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<Value>" }), 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<MmapArc>" }), 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<Version>" }), 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<IndexSettings>" }), 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<IndexSortByField>" }), 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<Order>" }), 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<SegmentComponent>" }), 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<SegmentId>" }), 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<DeleteOperation>" }), 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<UserOperation>" }), 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<SegmentsStatus>" }), 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<Language>" }), 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<PreTokenizedString>" }), 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<Token>" }), 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<Footer>" }), 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<FileAddr>" }), 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<FastType>" }), 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<BlockInfo>" }), 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<TermInfo>" }), 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<Bm25Params>" }), 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<ScoreTerm>" }), 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<TargetDocument>" }), 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<QueryParserError>" }), 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<FacetParseError>" }), 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<Facet>" }), 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<FacetOptions>" }), 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<DocParsingError>" }), 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<Term < B >>" }), 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<FieldEntry>" }), 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<ValueParsingError>" }), 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<Type>" }), 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<FieldType>" }), 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<FieldValue>" }), 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<BytesOptions>" }), 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<Field>" }), 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<IndexRecordOption>" }), 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<Cardinality>" }), 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<IntOptions>" }), 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<TextOptions>" }), 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<TextFieldIndexing>" }), 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<Value>" }), 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<Compressor>" }), 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<DocStoreFooter>" }), 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<Checkpoint>" }), 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<TermInfoBlockMeta>" }), 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<SafeFileWriter>" }), 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<FooterProxy < W >>" }), 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<VecWriter>" }), 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<Version>" }), 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<AlphaNumOnlyFilter>" }), 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<AsciiFoldingFilter>" }), 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<LowerCaser>" }), 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<RemoveLongFilter>" }), 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<Stemmer>" }), 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<StopWordFilter>" }), 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<T>" }), 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<AlphaNumOnlyFilterStream < 'a >>" }), 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<AsciiFoldingFilterTokenStream < 'a >>" }), 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<FacetTokenStream < 'a >>" }), 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<LowerCaserTokenStream < 'a >>" }), 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<NgramTokenStream < 'a >>" }), 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<RawTokenStream>" }), 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<RemoveLongFilterStream < 'a >>" }), 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<SimpleTokenStream < 'a >>" }), 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<StemmerTokenStream < 'a >>" }), 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<StopWordFilterStream < 'a >>" }), 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<TokenStreamChain < 'a >>" }), 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<PreTokenizedStream>" }), 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<dyn TokenStream + 'a>" }), 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<Box < dyn TokenStream + 'a >>" }), 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<WhitespaceTokenStream < 'a >>" }), 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<FacetTokenizer>" }), 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<NgramTokenizer>" }), 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<RawTokenizer>" }), 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<SimpleTokenizer>" }), 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<WhitespaceTokenizer>" }), 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<T>" }), 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<IndexReaderBuilder>" }), 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<BlockDecoder>" }), 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<BlockEncoder>" }), 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<AllWeight>" }), 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<AutomatonWeight < A >>" }), 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<BooleanWeight>" }), 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<BoostWeight>" }), 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<EmptyWeight>" }), 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<PhraseWeight>" }), 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<RangeWeight>" }), 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<TermWeight>" }), 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<SafeFileWriter>" }), 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<FooterProxy < W >>" }), 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<VecWriter>" }), 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<ExpUnrolledLinkedListWriter < 'a >>" }), 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
Copy link
Owner

fzyzcjy commented Aug 23, 2024

Hmm, try RUST_BACKTRACE=1 the_command which will show backtrace

@Sivan22
Copy link
Author

Sivan22 commented Aug 23, 2024

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
Copy link
Owner

fzyzcjy commented Aug 23, 2024

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.

@fzyzcjy fzyzcjy changed the title unable to translate third-party package tantivy [experimental-feature] Unable to translate third-party package tantivy Sep 11, 2024
@Wdestroier
Copy link

I guess I'm having the same problem with the may_minihttp crate:

(c) Microsoft Corporation. Todos os direitos reservados.

C:\Users\Wdest\Desktop\mayhttp>flutter_rust_bridge_codegen generate --watch
[2024-09-16T22:08:43.064Z INFO C:\Users\Wdest\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.4.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=("HttpService", "call"), objects={"namespace":"may_minihttp","owner":{"TraitDef":{"trait_def_name":"may_minihttp/HttpService"}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=call, vis=None, attrs=[])"}, {"namespace":"may_minihttp","owner":{"TraitDef":{"trait_def_name":"may_minihttp/HttpService"}},"sources":["Normal"],"item_fn":"GeneralizedItemFn(name=call, vis=None, attrs=[])"})
[2024-09-16T22:08:43.065Z INFO C:\Users\Wdest\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.4.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="HttpService", objects={"name":"may_minihttp/HttpService","attrs":["# [doc = \" the http service trait\"]","# [doc = \" user code should supply a type that impl the `call` method for the http server\"]","# [doc = \"\"]"],"sources":["Normal"]}, {"name":"may_minihttp/HttpService","attrs":["# [doc = \" the http service trait\"]","# [doc = \" user code should supply a type that impl the `call` method for the http server\"]","# [doc = \"\"]"],"sources":["Normal"]})
[2024-09-16T22:08:43.068Z INFO C:\Users\Wdest\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.4.0\src\library\codegen\parser\mir\parser\ty\enum_or_struct.rs:73] Skip parsing enum_or_struct `NamespacedName { namespace: Namespace { joined_path: "may_minihttp" }, name: "Response" }` because of error (e=Cannot parse array length)
[5.9s] Parse ⠄
  └── [5.9s] Cargo expand & syn parse  
  └── [0.0s] Parse HIR[2024-09-16T22:08:43.070Z ERROR C:\Users\Wdest\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.4.0\src\library\utils\logs.rs:55] panicked at C:\Users\Wdest\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.4.0\src\library\codegen\ir\mir\ty\structure.rs:36:32:
no entry found for key=MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "may_minihttp" }, name: "Response" })
thread 'main' panicked at C:\Users\Wdest\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.4.0\src\library\codegen\ir\mir\ty\structure.rs:36:32:
no entry found for key=MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "may_minihttp" }, name: "Response" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

C:\Users\Wdest\Desktop\mayhttp>

In the response.rs file:

pub struct Response<'a> {
    headers: [&'static str; MAX_HEADERS],
    headers_len: usize,
    status_message: StatusMessage,
    body: Body,
    rsp_buf: &'a mut BytesMut,
}

impl<'a> Response<'a> {
    ...
}

@Musta-Pollo
Copy link

Musta-Pollo commented Oct 7, 2024

I have the same issue with yrs library:

janzimola@Jans-Mac-mini rust_test % RUST_BACKTRACE=1 flutter_rust_bridge_codegen generate --watch
[2024-10-07T12:16:20.147Z INFO /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.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="Inner", objects={"name":"yrs::observer/Inner","visibility":"Inherited","sources":["Normal"],"mirror":true}, {"name":"yrs::undo/Inner","visibility":"Inherited","sources":["Normal"],"mirror":true})
[2024-10-07T12:16:20.147Z INFO /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.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="Event", objects={"name":"yrs::sync::awareness/Event","visibility":"Public","sources":["Normal"],"mirror":true}, {"name":"yrs::undo/Event","visibility":"Public","sources":["Normal"],"mirror":true})
[2024-10-07T12:16:20.147Z INFO /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.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="Iter", objects={"name":"yrs::types/Iter","visibility":"Restricted","sources":["Normal"],"mirror":true}, {"name":"yrs::branch/Iter","visibility":"Restricted","sources":["Normal"],"mirror":true})
[2024-10-07T12:16:20.147Z INFO /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.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="Values", objects={"name":"yrs::types::map/Values","visibility":"Public","sources":["Normal"],"mirror":true}, {"name":"yrs::iter/Values","visibility":"Restricted","sources":["Normal"],"mirror":true})
[2024-10-07T12:16:20.147Z INFO /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.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="Options", objects={"name":"yrs::doc/Options","visibility":"Public","sources":["Normal"],"mirror":true}, {"name":"yrs::undo/Options","visibility":"Public","sources":["Normal"],"mirror":true})
[2024-10-07T12:16:20.147Z INFO /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.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="Error", objects={"name":"yrs::encoding::read/Error","visibility":"Public","sources":["Normal"],"mirror":true}, {"name":"yrs::error/Error","visibility":"Public","sources":["Normal"],"mirror":true}, {"name":"yrs::sync::awareness/Error","visibility":"Public","sources":["Normal"],"mirror":true}, {"name":"yrs::sync::protocol/Error","visibility":"Public","sources":["Normal"],"mirror":true})
[2024-10-07T12:16:20.156Z INFO /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/enum_or_struct.rs:73] Skip parsing enum_or_struct `NamespacedName { namespace: Namespace { joined_path: "yrs::sync::protocol" }, name: "DefaultProtocol" }` because of error (e=struct with unit fields are not supported yet, what about using `struct DefaultProtocol {}` or `#[frb(opaque)] struct DefaultProtocol;` instead

Stack backtrace:
   0: std::backtrace::Backtrace::create
   1: anyhow::error::<impl anyhow::Error>::msg
   2: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::structure::<impl lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::TypeParserWithContext>::parse_struct
   3: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::enum_or_struct::EnumOrStructParser::parse
   4: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::path::<impl lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::TypeParserWithContext>::parse_type_path
   5: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::ty::<impl lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::TypeParserWithContext>::parse_type
   6: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::try_fold
   7: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
   8: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parse
   9: lib_flutter_rust_bridge_codegen::library::codegen::generate_once
  10: lib_flutter_rust_bridge_codegen::library::codegen::controller::run
  11: lib_flutter_rust_bridge_codegen::library::codegen::generate
  12: flutter_rust_bridge_codegen::main
  13: std::sys::backtrace::__rust_begin_short_backtrace
  14: std::rt::lang_start::{{closure}}
  15: std::rt::lang_start_internal
  16: _main)
[2024-10-07T12:16:20.167Z INFO /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/enum_or_struct.rs:73] Skip parsing enum_or_struct `NamespacedName { namespace: Namespace { joined_path: "yrs::sync::time" }, name: "SystemClock" }` because of error (e=struct with unit fields are not supported yet, what about using `struct SystemClock {}` or `#[frb(opaque)] struct SystemClock;` instead

Stack backtrace:
   0: std::backtrace::Backtrace::create
   1: anyhow::error::<impl anyhow::Error>::msg
   2: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::structure::<impl lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::TypeParserWithContext>::parse_struct
   3: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::enum_or_struct::EnumOrStructParser::parse
   4: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::path::<impl lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::TypeParserWithContext>::parse_type_path
   5: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::ty::<impl lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::TypeParserWithContext>::parse_type
   6: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::try_fold
   7: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
   8: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parse
   9: lib_flutter_rust_bridge_codegen::library::codegen::generate_once
  10: lib_flutter_rust_bridge_codegen::library::codegen::controller::run
  11: lib_flutter_rust_bridge_codegen::library::codegen::generate
  12: flutter_rust_bridge_codegen::main
  13: std::sys::backtrace::__rust_begin_short_backtrace
  14: std::rt::lang_start::{{closure}}
  15: std::rt::lang_start_internal
  16: _main)
[2024-10-07T12:16:20.185Z INFO /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/parser/mir/parser/ty/enum_or_struct.rs:73] Skip parsing enum_or_struct `NamespacedName { namespace: Namespace { joined_path: "yrs::block" }, name: "Unused" }` because of error (e=struct with unit fields are not supported yet, what about using `struct Unused {}` or `#[frb(opaque)] struct Unused;` instead

Stack backtrace:
   0: std::backtrace::Backtrace::create
   1: anyhow::error::<impl anyhow::Error>::msg
   2: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::structure::<impl lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::TypeParserWithContext>::parse_struct
   3: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::enum_or_struct::EnumOrStructParser::parse
   4: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::path::<impl lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::TypeParserWithContext>::parse_type_path
   5: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::ty::<impl lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parser::ty::TypeParserWithContext>::parse_type
   6: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::try_fold
   7: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
   8: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parse
   9: lib_flutter_rust_bridge_codegen::library::codegen::generate_once
  10: lib_flutter_rust_bridge_codegen::library::codegen::controller::run
  11: lib_flutter_rust_bridge_codegen::library::codegen::generate
  12: flutter_rust_bridge_codegen::main
  13: std::sys::backtrace::__rust_begin_short_backtrace
  14: std::rt::lang_start::{{closure}}
  15: std::rt::lang_start_internal
  16: _main)
[2.2s] Parse ⡀
  └── [2.2s] Cargo expand & syn parse  
  └── [0.1s] Parse HIR ⠄                                                                                                                            [2024-10-07T12:16:20.187Z ERROR /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/utils/logs.rs:55] panicked at /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/ir/mir/ty/structure.rs:36:32:
no entry found for key=MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "yrs::sync::protocol" }, name: "DefaultProtocol" })
thread 'main' panicked at /Users/janzimola/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.4.0/src/library/codegen/ir/mir/ty/structure.rs:36:32:
no entry found for key=MirStructIdent(NamespacedName { namespace: Namespace { joined_path: "yrs::sync::protocol" }, name: "DefaultProtocol" })
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: lib_flutter_rust_bridge_codegen::library::codegen::ir::mir::ty::structure::MirTypeStructRef::get
   3: alloc::vec::in_place_collect::from_iter_in_place
   4: lib_flutter_rust_bridge_codegen::library::codegen::parser::mir::parse
   5: lib_flutter_rust_bridge_codegen::library::codegen::generate_once
   6: lib_flutter_rust_bridge_codegen::library::codegen::controller::run
   7: lib_flutter_rust_bridge_codegen::library::codegen::generate
   8: flutter_rust_bridge_codegen::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
janzimola@Jans-Mac-mini rust_test % 

Here is the related code from the library:

/// A default implementation of y-sync [Protocol].
#[derive(Debug, Copy, Clone, Default)]
pub struct DefaultProtocol;

impl Protocol for DefaultProtocol {}

#[cfg_attr(not(feature = "sync"), async_trait(?Send))]
#[cfg_attr(feature = "sync", async_trait)]
impl AsyncProtocol for DefaultProtocol {}

/// Trait implementing a y-sync protocol. The default implementation can be found in
/// [DefaultProtocol], but its implementation steps can be potentially changed by the user if
/// necessary.
pub trait Protocol {
    /// To be called whenever a new connection has been accepted. Returns an encoded list of
    /// messages to be sent back to initiator. This binary may contain multiple messages inside,
    /// stored one after another.
    fn start<E>(&self, awareness: &Awareness, encoder: &mut E) -> Result<(), Error>
....
}

Not trying to span here, just though it could come usefull when looking into it.

@Musta-Pollo
Copy link

I found that it's also linked here: #2198

@fzyzcjy
Copy link
Owner

fzyzcjy commented Oct 8, 2024

(I replied there)

@fzyzcjy fzyzcjy added experimental feature Issues related to experimental instead of stable features and removed bug Something isn't working labels Nov 5, 2024
@fzyzcjy fzyzcjy changed the title [experimental-feature] Unable to translate third-party package tantivy Unable to translate third-party package tantivy Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting Waiting for responses, PR, further discussions, upstream release, etc experimental feature Issues related to experimental instead of stable features
Projects
None yet
Development

No branches or pull requests

4 participants