fzyzcjy / flutter_rust_bridge

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

New Error flutter_rust_bridge_codegen generate #2375

Closed 107295472 closed 3 weeks ago

107295472 commented 3 weeks ago

Skip parsing enum_or_structNamespacedName { namespace: Namespace { joined_path: "crate::system::entitys::alct_api_driver_new" }, name: "Entity" }because of error (e=struct with unit fields are not supported yet, what about usingstruct Entity {}or#[frb(opaque)] struct Entity;instead

107295472 commented 3 weeks ago
D:\work\rust\alctnew> flutter run                                                                                                                                                 2024/10/28 17:12:00Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Connected devices:
Windows (desktop) • windows • windows-x64    • Microsoft Windows [10.0.19044.5011]
Edge (web)        • edge    • web-javascript • Microsoft Edge 130.0.2849.56
[1]: Windows (windows)
[2]: Edge (edge)
Please choose one (or "q" to quit): 1
Launching lib\main.dart on Windows in debug mode...
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `DatabaseConnection` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0412]: cannot find type `Value` in this scope
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `Res`
  SEVERE: error[E0277]: the trait bound `Res<bool>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `Res<std::string::String>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `Res<std::string::String>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `ListData<AlctApiListDto>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `Res<std::string::String>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `Res<std::string::String>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<(ResPage<query_dk_list::Result>, bool), anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<std::option::Option<std::string::String>, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<i32, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<(bool, ResPageArr<SearchResult>), anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<(ResPage<list::Result>, bool), anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<Vec<AlctApiDriverList>, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<ListData<AlctApiListDto>, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<Vec<alct_api_driver_new::Model>, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<(bool, ResPage<std::string::String>, bool), anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<(ResPage<std::string::String>, bool), anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<i32, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, MyError>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `std::result::Result<bool, anyhow::Error>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<Decimal>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<Decimal>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<Decimal>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<JsonValue>`, but its trait bounds were not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
SEVERE : error : could not compile `rust_lib_alctnew` (lib) due to 223 previous errors [D:\work\rust\alctnew\build\windows\x64\plugins\rust_lib_alctnew\rust_lib_alctnew_cargokit.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: “D:\work\rust\alctnew\build\windows\x64\CMakeFiles\8e0a7a78a3960e769a88360145745685\rust_lib_alctnew.dll.rule;D:\work\rust\alctnew\build\windows\x64\CMakeFiles\b441a1bafbeca461fe5f46e939f45d28\rust_lib_alctnew_cargokit.rule”[D:\work\rust\alctnew\build\windows\x64\plugins\rust_lib_alctnew\rust_lib_alctnew_cargokit.vcxproj]
Building Windows application...                                    10.5s
Error: Build process failed.
107295472 commented 3 weeks ago

Why did you convert seaorm's rs to dart?

fzyzcjy commented 3 weeks ago

Hi, could you please make a minimal reproducible sample? The current information does not seem to be super complete.

107295472 commented 3 weeks ago

Didn't I specify an api.rs to convert to dart before? Now all are converted to dart. Can I specify an rs to convert to dart like in 1.x? The orm entity does not need to be converted to dart, and the front end will not use it.

fzyzcjy commented 3 weeks ago

Sorry but I am confused about your question. Do you mean having rust_input: crate::your_whatever::subpackage_name in flutter_rust_bridge.yaml?

107295472 commented 3 weeks ago

Can't use Decimal with T and rust, go to dart error

fzyzcjy commented 3 weeks ago

Well I am not sure what is your question...

107295472 commented 3 weeks ago
Launching lib\main.dart on Windows in debug mode...
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `Decimal` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
  SEVERE: error[E0412]: cannot find type `T` in this scope
SEVERE : warning : unused import: `rust_decimal::prelude::*` [D:\work\rust\alctnew\build\windows\x64\plugins\rust_lib_alctnew\rust_lib_alctnew_cargokit.vcxproj]
  SEVERE: error[E0308]: mismatched types
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0107]: missing generics for struct `ListData`
  SEVERE: error[E0277]: the trait bound `ListData<AlctApiListDto>: SseEncode` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0599]: the method `into_into_dart` exists for enum `Option<Decimal>`, but its trait bounds were not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
  SEVERE: error[E0277]: the trait bound `RustAutoOpaqueInner<_>: MoiArcValue` is not satisfied
SEVERE : warning : `rust_lib_alctnew` (lib) generated 1 warning [D:\work\rust\alctnew\build\windows\x64\plugins\rust_lib_alctnew\rust_lib_alctnew_cargokit.vcxproj]
SEVERE : error : could not compile `rust_lib_alctnew` (lib) due to 54 previous errors; 1 warning emitted [D:\work\rust\alctnew\build\windows\x64\plugins\rust_lib_alctnew\rust_lib_alctnew_cargokit.vcxproj]
fzyzcjy commented 3 weeks ago

Again I am not sure about your question... Usually you need to have a reproducible sample or some descriptions...

github-actions[bot] commented 1 week ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.