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

Remove huge fvm not found warning #2459

Open
VladTheJunior opened this issue Dec 17, 2024 · 1 comment
Open

Remove huge fvm not found warning #2459

VladTheJunior opened this issue Dec 17, 2024 · 1 comment
Labels
awaiting Waiting for responses, PR, further discussions, upstream release, etc bug Something isn't working

Comments

@VladTheJunior
Copy link

Describe the bug

After update to FRB 2.7.0, there is huge warning message about fvm. I never used it, and I never planned to, but after flutter_rust_bridge_codegen generate command I always see this output:

PS D:\Rust\pumpkin_project> flutter_rust_bridge_codegen generate
[2024-12-17T00:52:53.978Z WARN C:\Users\vladt\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.7.0\src\library\commands\command_runner.rs:153] command="powershell" "-noprofile" "-command" "& \"fvm\" \"--version\"" stdout= stderr=& : ��� "fvm" �� �ᯮ����� ��� ��� ���������, �㭪樨, 䠩�� �業��� ��� �믮��塞�� �ணࠬ��. �஢���� �ࠢ��쭮��� ����ᠭ�� �����, � ⠪�� ����稥 � ��
���쭮��� ���, ��᫥ 祣� ������ ������.
��ப�:1 ����:3
+ & "fvm" "--version"
+   ~~~~~
    + CategoryInfo          : ObjectNotFound: (fvm:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


[2024-12-17T00:52:53.979Z INFO C:\Users\vladt\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.7.0\src\library\commands\fvm.rs:15] Has .fvmrc but no fvm binary installation, thus skip using fvm.

Steps to reproduce

Hint: A simple way to reproduce is to clone and modify the https://github.com/fzyzcjy/flutter_rust_bridge/tree/master/frb_example/dart_minimal example package according to your needs.

  1. ...
  2. ...
  3. ...

Logs

PS D:\Rust\pumpkin_project> flutter_rust_bridge_codegen generate
[2024-12-17T00:52:53.978Z WARN C:\Users\vladt\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.7.0\src\library\commands\command_runner.rs:153] command="powershell" "-noprofile" "-command" "& \"fvm\" \"--version\"" stdout= stderr=& : ��� "fvm" �� �ᯮ����� ��� ��� ���������, �㭪樨, 䠩�� �業��� ��� �믮��塞�� �ணࠬ��. �஢���� �ࠢ��쭮��� ����ᠭ�� �����, � ⠪�� ����稥 � ��
���쭮��� ���, ��᫥ 祣� ������ ������.
��ப�:1 ����:3
+ & "fvm" "--version"
+   ~~~~~
    + CategoryInfo          : ObjectNotFound: (fvm:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


[2024-12-17T00:52:53.979Z INFO C:\Users\vladt\.cargo\registry\src\index.crates.io-6f17d22bba15001f\flutter_rust_bridge_codegen-2.7.0\src\library\commands\fvm.rs:15] Has .fvmrc but no fvm binary installation, thus skip using fvm.

Expected behavior

No response

Generated binding code

No response

OS

Windows

Version of flutter_rust_bridge_codegen

2.7.0

Flutter info

No response

Version of clang++

No response

Additional context

No response

@VladTheJunior VladTheJunior added the bug Something isn't working label Dec 17, 2024
@fzyzcjy
Copy link
Owner

fzyzcjy commented Dec 17, 2024

This will be fixed in the next batch; at the same time, a workaround is to ignore the log, or use 2.6.x.

@fzyzcjy fzyzcjy added the awaiting Waiting for responses, PR, further discussions, upstream release, etc label Dec 17, 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 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants