fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.

Home Page:https://fzyzcjy.github.io/flutter_rust_bridge/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

using flutter_rust_bridge in ios flutter project

kyrosle opened this issue · comments

Describe the bug

i want to add flutter_rust_bindgen into the flutter plugin, i using this command to add into my exist flutter plugin project: flutter_rust_bridge_codegen integrate, everything is ok until i run this flutter plugin and using the example api greet, my xcode report this error:

[ERROR:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.mm(42)] Using the Impeller rendering backend.
flutter: The Dart VM service is listening on http://127.0.0.1:62805/_EFTeGzYpmQ=/
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'rust_lib.framework/rust_lib': dlopen(rust_lib.framework/rust_lib, 0x0001): tried: 'rust_lib.framework/rust_lib' (no such file), '/private/preboot/Cryptexes/OSrust_lib.framework/rust_lib' (no such file), '/private/var/containers/Bundle/Application/A3ACABB5-D9A1-406B-AFF7-373F62DDE010/Runner.app/Frameworks/rust_lib.framework/rust_lib' (no such file), '/usr/lib/rust_lib.framework/rust_lib' (no such file, not in dyld cache), 'rust_lib.framework/rust_lib' (no such file), '/System/Library/Frameworks/rust_lib.framework/rust_lib' (no such file, not in dyld cache)
#0      _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:43)
#1      new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22:12)
#2      new ExternalLibrary.open (package:flutter_rust_bridge/src/platform_types/_io.dart:39:47)
#3      loadExternalLibraryRaw.<anonymous closure>.<anonymous closure> (package:flutter_rust_bridge/src/loader/_io.dart:72:29)
#4      _tryOpen (package:flutter_rust_bridge/src/loader/_io.dart:93:20)
#5      loadExternalLibraryRaw.<anonymous closure> (package:flutter_rust_bridge/src/loader/_io.dart:68:22)
#6      loadExternalLibraryRaw.tryAssumingNonPackaged (package:flutter_rust_bridge/src/loader/_io.dart:49:22)
#7      loadExternalLibraryRaw (package:flutter_rust_bridge/src/loader/_io.dart:66:12)
#8      loadExternalLibrary (package:flutter_rust_bridge/src/loader/_io.dart:14:10)
#9      BaseEntrypoint._loadDefaultExternalLibrary (package:flutter_rust_bridge/src/main_components/entrypoint.dart:107:13)
#10     BaseEntrypoint.initImpl (package:flutter_rust_bridge/src/main_components/entrypoint.dart:53:31)
#11     RustLib.init (package:vidmixer_ffmpeg/src/rust/frb_generated.dart:25:20)
#12     main (package:vidmixer_ffmpeg_example/main.dart:8:17)
#13     _runMain.<anonymous closure> (dart:ui/hooks.dart:301:23)
#14     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#15     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

Steps to reproduce

here is my project plugin git repo: https://github.com/kyrosle/vidmixer_ffmpeg.git

Logs

these logs are the second run:
[2024-01-29T12:20:48.646Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/main.rs:24] cli=Cli { verbose: false, command: Integrate(IntegrateCommandArgs { no_enable_integration_test: false, common: CreateOrIntegrateCommandCommonArgs { rust_crate_name: None, rust_crate_dir: None, local: false } }) }
[2024-01-29T12:20:48.646Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:28] integrate dart_root="/Users/kyros/MyProject/libs/vidmixer_ffmpeg"
[2024-01-29T12:20:48.646Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust"
[2024-01-29T12:20:48.646Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:32] Write to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/.gitignore"
[2024-01-29T12:20:48.647Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:32] Write to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/Cargo.lock"
[2024-01-29T12:20:48.647Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:32] Write to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/Cargo.toml"
[2024-01-29T12:20:48.647Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/src"
[2024-01-29T12:20:48.647Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/src/api"
[2024-01-29T12:20:48.647Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:32] Write to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/src/api/mod.rs"
[2024-01-29T12:20:48.647Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:32] Write to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/src/api/simple.rs"
[2024-01-29T12:20:48.647Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:32] Write to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/src/frb_generated.io.rs"
[2024-01-29T12:20:48.648Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:32] Write to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/src/frb_generated.rs"
[2024-01-29T12:20:48.648Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:32] Write to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/src/frb_generated.web.rs"
[2024-01-29T12:20:48.648Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:32] Write to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust/src/lib.rs"
[2024-01-29T12:20:48.648Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/flutter_rust_bridge.yaml" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.648Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/integration_test"
[2024-01-29T12:20:48.648Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/integration_test/simple_test.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.648Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/lib"
[2024-01-29T12:20:48.649Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:32] Write to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/lib/main.dart"
[2024-01-29T12:20:48.649Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/lib/src"
[2024-01-29T12:20:48.649Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/lib/src/rust"
[2024-01-29T12:20:48.649Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/lib/src/rust/api"
[2024-01-29T12:20:48.649Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/lib/src/rust/api/simple.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.649Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/lib/src/rust/frb_generated.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.649Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/lib/src/rust/frb_generated.io.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.649Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/lib/src/rust/frb_generated.web.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.649Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder"
[2024-01-29T12:20:48.649Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/.gitignore" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.649Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/README.md" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.649Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/android"
[2024-01-29T12:20:48.649Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/android/.gitignore" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.650Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/android/build.gradle" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.650Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/android/settings.gradle" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.650Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/android/src"
[2024-01-29T12:20:48.650Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/android/src/main"
[2024-01-29T12:20:48.650Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/android/src/main/AndroidManifest.xml" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.650Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit"
[2024-01-29T12:20:48.650Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/.gitignore" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.650Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/LICENSE" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.650Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/README" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_pod.sh" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool"
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/README.md" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/analysis_options.yaml" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/bin"
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/bin/build_tool.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib"
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/build_tool.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src"
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/android_environment.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/artifacts_provider.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/build_cmake.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/build_gradle.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/build_pod.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/build_tool.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/builder.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/cargo.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.651Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/crate_hash.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/environment.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/logging.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/options.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/precompile_binaries.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/rustup.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/target.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/util.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/lib/src/verify_binaries.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/pubspec.lock" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool/pubspec.yaml" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/cmake"
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/cmake/cargokit.cmake" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/cmake/resolve_symlinks.ps1" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.652Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/gradle"
[2024-01-29T12:20:48.653Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/gradle/plugin.gradle" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.653Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/run_build_tool.cmd" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.653Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/run_build_tool.sh" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.653Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/ios"
[2024-01-29T12:20:48.653Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/ios/Classes"
[2024-01-29T12:20:48.653Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/ios/Classes/dummy_file.c" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.653Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/ios/rust_builder.podspec" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.653Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/linux"
[2024-01-29T12:20:48.653Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/linux/CMakeLists.txt" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.653Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/macos"
[2024-01-29T12:20:48.653Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/macos/Classes"
[2024-01-29T12:20:48.653Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/macos/Classes/dummy_file.c" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.654Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/macos/rust_builder.podspec" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.654Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/pubspec.yaml" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.654Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/windows"
[2024-01-29T12:20:48.654Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/windows/.gitignore" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.654Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/windows/CMakeLists.txt" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.654Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/utils.rs:23] Create dir "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/test_driver"
[2024-01-29T12:20:48.654Z WARN /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/integration/integrator.rs:131] Skip writing to "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/test_driver/integration_test.dart" because file already exists. It is suggested to remove that file before running this command to apply the full template.
[2024-01-29T12:20:48.654Z INFO /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/flutter.rs:22] Execute flutter pub add rust_builder --path=rust_builder (this may take a while)
[2024-01-29T12:20:48.654Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/command_runner.rs:109] execute command: bin=sh args="-c \"flutter\" \"pub\" \"add\" \"rust_builder\" \"--path=rust_builder\"" current_dir=None cmd="sh" "-c" "\"flutter\" \"pub\" \"add\" \"rust_builder\" \"--path=rust_builder\""
[2024-01-29T12:20:54.523Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/command_runner.rs:120] command="sh" "-c" "\"flutter\" \"pub\" \"add\" \"rust_builder\" \"--path=rust_builder\"" stdout="rust_builder" is already in "dependencies". Will try to update the constraint.
Resolving dependencies...
  _fe_analyzer_shared 64.0.0 (66.0.0 available)
  analyzer 6.2.0 (6.4.0 available)
  file 6.1.4 (7.0.0 available)
  flutter_lints 2.0.3 (3.0.1 available)
  js 0.6.8 (0.7.0 available)
  lints 2.1.1 (3.0.0 available)
  matcher 0.12.16 (0.12.16+1 available)
  material_color_utilities 0.5.0 (0.8.0 available)
  meta 1.10.0 (1.11.0 available)
  path 1.8.3 (1.9.0 available)
  platform 3.1.2 (3.1.4 available)
  process 4.2.4 (5.0.2 available)
  test_api 0.6.1 (0.7.0 available)
  vm_service 11.10.0 (14.0.0 available)
  web 0.3.0 (0.4.2 available)
  webdriver 3.0.2 (3.0.3 available)
Got dependencies!
16 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Resolving dependencies in ./example...
Got dependencies in ./example.
 stderr=
[2024-01-29T12:20:54.523Z INFO /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/flutter.rs:22] Execute flutter pub add flutter_rust_bridge:2.0.0-dev.22 (this may take a while)
[2024-01-29T12:20:54.523Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/command_runner.rs:109] execute command: bin=sh args="-c \"flutter\" \"pub\" \"add\" \"flutter_rust_bridge:2.0.0-dev.22\"" current_dir=None cmd="sh" "-c" "\"flutter\" \"pub\" \"add\" \"flutter_rust_bridge:2.0.0-dev.22\""
[2024-01-29T12:20:58.856Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/command_runner.rs:120] command="sh" "-c" "\"flutter\" \"pub\" \"add\" \"flutter_rust_bridge:2.0.0-dev.22\"" stdout="flutter_rust_bridge" is already in "dependencies". Will try to update the constraint.
Resolving dependencies...
  _fe_analyzer_shared 64.0.0 (66.0.0 available)
  analyzer 6.2.0 (6.4.0 available)
  file 6.1.4 (7.0.0 available)
  flutter_lints 2.0.3 (3.0.1 available)
  js 0.6.8 (0.7.0 available)
  lints 2.1.1 (3.0.0 available)
  matcher 0.12.16 (0.12.16+1 available)
  material_color_utilities 0.5.0 (0.8.0 available)
  meta 1.10.0 (1.11.0 available)
  path 1.8.3 (1.9.0 available)
  platform 3.1.2 (3.1.4 available)
  process 4.2.4 (5.0.2 available)
  test_api 0.6.1 (0.7.0 available)
  vm_service 11.10.0 (14.0.0 available)
  web 0.3.0 (0.4.2 available)
  webdriver 3.0.2 (3.0.3 available)
Got dependencies!
16 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Resolving dependencies in ./example...
Got dependencies in ./example.
 stderr=
[2024-01-29T12:20:58.856Z INFO /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/flutter.rs:22] Execute flutter pub add integration_test --dev --sdk=flutter (this may take a while)
[2024-01-29T12:20:58.856Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/command_runner.rs:109] execute command: bin=sh args="-c \"flutter\" \"pub\" \"add\" \"integration_test\" \"--dev\" \"--sdk=flutter\"" current_dir=None cmd="sh" "-c" "\"flutter\" \"pub\" \"add\" \"integration_test\" \"--dev\" \"--sdk=flutter\""
[2024-01-29T12:21:03.831Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/command_runner.rs:120] command="sh" "-c" "\"flutter\" \"pub\" \"add\" \"integration_test\" \"--dev\" \"--sdk=flutter\"" stdout="integration_test" is already in "dev_dependencies". Will try to update the constraint.
Resolving dependencies...
  _fe_analyzer_shared 64.0.0 (66.0.0 available)
  analyzer 6.2.0 (6.4.0 available)
  file 6.1.4 (7.0.0 available)
  flutter_lints 2.0.3 (3.0.1 available)
  js 0.6.8 (0.7.0 available)
  lints 2.1.1 (3.0.0 available)
  matcher 0.12.16 (0.12.16+1 available)
  material_color_utilities 0.5.0 (0.8.0 available)
  meta 1.10.0 (1.11.0 available)
  path 1.8.3 (1.9.0 available)
  platform 3.1.2 (3.1.4 available)
  process 4.2.4 (5.0.2 available)
  test_api 0.6.1 (0.7.0 available)
  vm_service 11.10.0 (14.0.0 available)
  web 0.3.0 (0.4.2 available)
  webdriver 3.0.2 (3.0.3 available)
Got dependencies!
16 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Resolving dependencies in ./example...
Got dependencies in ./example.
 stderr=
[2024-01-29T12:21:03.831Z INFO /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/flutter.rs:37] Execute `flutter pub get` inside "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool" (this may take a while)
[2024-01-29T12:21:03.831Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/command_runner.rs:109] execute command: bin=sh args="-c \"flutter\" \"pub\" \"get\"" current_dir=Some("/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool") cmd=cd "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool" && "sh" "-c" "\"flutter\" \"pub\" \"get\""
[2024-01-29T12:21:04.398Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/command_runner.rs:120] command=cd "/Users/kyros/MyProject/libs/vidmixer_ffmpeg/rust_builder/cargokit/build_tool" && "sh" "-c" "\"flutter\" \"pub\" \"get\"" stdout=Resolving dependencies...
  file 6.1.4 (7.0.0 available)
  github 9.17.0 (9.22.0 available)
  http 1.1.0 (1.2.0 available)
  lints 2.1.1 (3.0.0 available)
  path 1.8.0 (1.9.0 available)
  petitparser 5.4.0 (6.0.2 available)
  toml 0.14.0 (0.15.0 available)
  version 3.0.0 (3.0.2 available)
Got dependencies!
8 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
 stderr=
[2024-01-29T12:21:04.398Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/format_dart.rs:13] execute format_dart paths=["."] line_length=80
[2024-01-29T12:21:04.398Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/command_runner.rs:109] execute command: bin=sh args="-c \"dart\" \"format\" \"--line-length\" \"80\" \".\"" current_dir=Some("/Users/kyros/MyProject/libs/vidmixer_ffmpeg") cmd=cd "/Users/kyros/MyProject/libs/vidmixer_ffmpeg" && "sh" "-c" "\"dart\" \"format\" \"--line-length\" \"80\" \".\""
[2024-01-29T12:21:04.804Z DEBUG /Users/kyros/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flutter_rust_bridge_codegen-2.0.0-dev.22/src/library/commands/command_runner.rs:120] command=cd "/Users/kyros/MyProject/libs/vidmixer_ffmpeg" && "sh" "-c" "\"dart\" \"format\" \"--line-length\" \"80\" \".\"" stdout=Formatted lib/main.dart
Formatted 36 files (1 changed) in 0.31 seconds.
 stderr=

Expected behavior

the example application can call the rust api function successfully.

Generated binding code

No response

OS

macos 14.2.1

Version of flutter_rust_bridge_codegen

2.0.0-dev22

Flutter info

·> flutter doctor -v
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.2.1 23C71 darwin-arm64, locale en-CN)
    • Flutter version 3.16.9 on channel stable at /Users/kyros/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 41456452f2 (4 days ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5
    • Pub download mirror https://mirrors.tuna.tsinghua.edu.cn/dart-pub
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/kyros/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/kyros/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.11.3

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.85.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Proxy Configuration
    • HTTP_PROXY is set
    • NO_PROXY is localhost,127.0.0.1,::1
    • NO_PROXY contains localhost
    • NO_PROXY contains 127.0.0.1
    • NO_PROXY contains ::1

[✓] Connected device (2 available)
    • kyros’s iPhone (mobile) •  • ios          • iOS 17.3 21D50
    • macOS (desktop)         • macos                     • darwin-arm64 • macOS 14.2.1 23C71 darwin-arm64

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Version of clang++

17.0.6

Additional context

No response

Hi! Thanks for opening your first issue here! 😄

The flutter_rust_bridge_codegen integrate creates templates for flutter apps. If you want to use flutter_rust_bridge plugins, https://cjycode.com/flutter_rust_bridge/manual/integrate/overview introduces several ways. For example, you can use the Cargokit https://cjycode.com/flutter_rust_bridge/manual/integrate/cargokit. Alternatively, another way is to work through https://cjycode.com/flutter_rust_bridge/manual/integrate/library.

The flutter_rust_bridge_codegen integrate creates templates for flutter apps. If you want to use flutter_rust_bridge plugins, https://cjycode.com/flutter_rust_bridge/manual/integrate/overview introduces several ways. For example, you can use the Cargokit https://cjycode.com/flutter_rust_bridge/manual/integrate/cargokit. Alternatively, another way is to work through https://cjycode.com/flutter_rust_bridge/manual/integrate/library.

I try to follow this link https://matejknopp.com/post/flutter_plugin_in_rust_with_no_prebuilt_binaries/ to build a plugin for ios, but it seem some problem:
image

Do you have any clue about this?
here the project link: vidmixer_ffmpeg_plugin

Hi, that one looks like a cargokit error instead of flutter_rust_bridge error. But a first guess, one way is to fork https://github.com/irondash/hello_rust_ffi_plugin and try to run it first, and modify to your needs.

oh, I create anohter plugin project and follow the hello_rust_ffi_plugin example modify, it works, it seem the problem is in xcode, the hello_rust_ffi_plugin example is using the framework but I was using .a library previous

Happy to see it works!

hello, when i using cargokit in flutter plugin project, is that mean i can't use flutter_rust_codgen tool to create glue code?

As mentioned in flutter_rust_bridge doc, frb does not require any specific way of integrating Rust+Flutter. Therefore, you can surely use commands like flutter_rust_bridge_codegen generate.

Just one command that you cannot use - the integrate command which auto injects cargokit template into your project (but surely you do not need it!).

oh thanks a lot, i have change my project to using flutter_rust_bridge_codegen generate, it feel more easy to do develop in the future

You are welcome!