## Quick link [直接到提問的位置](##Problems) ## Environment - Macbook Air M2 (Ventura 13.4.1) - appflowy [30b52a29fdc8fee2beabc954c95e0f2e5ab3e3a4d](https://github.com/AppFlowy-IO/AppFlowy/commit/30b52a29fdc8fee2beabc954c95e0f2e5ab3e3a4) - flutter - setup ```bash # setup export PATH=$PATH:$FLUTTER_BIN ``` - version ``` Flutter 3.7.5 • channel unknown • unknown source Framework • revision c07f788888 (4 months ago) • 2023-02-22 17:52:33 -0600 Engine • revision 0f359063c4 Tools • Dart 2.19.2 • DevTools 2.20.1 ``` - doctor <details> ```bash= Doctor summary (to see all details, run flutter doctor -v): [!] Flutter (Channel unknown, 3.7.5, on macOS 13.4.1 22F82 darwin-arm64, locale en-TW) ! Flutter version 3.7.5 on channel unknown at /Users/wilson/apps/flutter Currently on an unknown channel. Run `flutter channel` to switch to an official channel. If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install. ! Unknown upstream repository. Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install. [✗] Android toolchain - develop for Android devices ✗ cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. [!] Xcode - develop for iOS and macOS (Xcode 14.1) ✗ CocoaPods not installed. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions. [✓] Chrome - develop for the web [!] Android Studio (not installed) [✓] VS Code (version 1.79.2) [✓] Connected device (2 available) [✓] HTTP Host Availability ! Doctor found issues in 4 categories. ``` </details> - [name=ZoneTwelve] 我是不是該把 CocoaPods 先裝起來 - #Reference:4 - cargo - version cargo 1.68.2 (6feb7c9cf 2023-03-26) ## Problems - Can not build the app by the command: - Command ```bash= cargo make --profile production-mac-arm64 appflowy ``` - Output ```bash= [cargo-make] INFO - cargo make 0.36.11 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: appflowy [cargo-make] INFO - Profile: production-mac-arm64 [cargo-make] ERROR - Task appflowy not found [cargo-make] WARN - Build Failed. ``` - Response - :did you change the directory into the frontend? - :Nope - Output:<details> ```bash= warning: unknown lint: `ambiguous_glob_reexports` --> flowy-error/src/protobuf/mod.rs:2:11 | 2 | #![allow(ambiguous_glob_reexports)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unknown_lints)]` on by default warning: unknown lint: `ambiguous_glob_reexports` --> flowy-folder2/src/protobuf/mod.rs:2:11 | 2 | #![allow(ambiguous_glob_reexports)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unknown_lints)]` on by default warning: `flowy-error` (lib) generated 1 warning warning: unknown lint: `ambiguous_glob_reexports` --> flowy-document2/src/protobuf/mod.rs:2:11 | 2 | #![allow(ambiguous_glob_reexports)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unknown_lints)]` on by default warning: unknown lint: `ambiguous_glob_reexports` --> flowy-user/src/protobuf/mod.rs:2:11 | 2 | #![allow(ambiguous_glob_reexports)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unknown_lints)]` on by default warning: unknown lint: `ambiguous_glob_reexports` --> flowy-net/src/protobuf/mod.rs:2:11 | 2 | #![allow(ambiguous_glob_reexports)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unknown_lints)]` on by default warning: `flowy-net` (lib) generated 1 warning # ....... 省略 warning: unknown lint: `ambiguous_glob_reexports` --> flowy-database2/src/protobuf/mod.rs:2:11 | 2 | #![allow(ambiguous_glob_reexports)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unknown_lints)]` on by default warning: unknown lint: `ambiguous_glob_reexports` --> flowy-config/src/protobuf/mod.rs:2:11 | 2 | #![allow(ambiguous_glob_reexports)] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unknown_lints)]` on by default # ...... 省略 ...... note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [cargo-make][1] INFO - Running Task: post-desktop 🚀 🚀 🚀 AppFlowy-Core build success [cargo-make][1] INFO - Running Task: restore-crate-type [cargo-make][1] INFO - Running Task: code_generation Cleaning Xcode workspace... 4.2s Cleaning Xcode workspace... 3.0s Running "flutter pub get" in appflowy_flutter... Resolving dependencies... The current Dart SDK version is 2.19.2. Because appflowy requires SDK version >=3.0.0 <4.0.0, version solving failed. pub get failed command: "/Users/wilson/apps/flutter/bin/cache/dart-sdk/bin/dart __deprecated_pub --color --directory . get --example" pub env: { "FLUTTER_ROOT": "/Users/wilson/apps/flutter", "PUB_ENVIRONMENT": "flutter_cli:get", "PUB_CACHE": "/Users/wilson/.pub-cache", } exit code: 1 [cargo-make][1] ERROR - Error while executing command, exit code: 1 [cargo-make][1] WARN - Build Failed. [cargo-make] INFO - Running Task: legacy-migration [cargo-make] INFO - Running Task: restore-crate-type [cargo-make] ERROR - Task error detected, exit code: 1 [cargo-make] WARN - Build Failed. # 參考 Reference:2, Reference:3 # Ref:2 應該根本問題無關,忽略 ``` </details> ## Progress - 19:59 (cargo make --profile production-mac-arm64 appflowy) <details> <code> [cargo-make] INFO - cargo make 0.36.11 [cargo-make] INFO - Project: dart-ffi [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: appflowy [cargo-make] INFO - Profile: production-mac-arm64 [cargo-make] INFO - Execute Command: "cargo" "make" "--disable-check-for-updates" "--no-on-error" "--loglevel=info" "--profile=production-mac-arm64" "--makefile" "/Users/wilson/code/appflowy/frontend/Makefile.toml" "appflowy" [cargo-make][1] INFO - Project: dart-ffi [cargo-make][1] INFO - Build File: /Users/wilson/code/appflowy/frontend/Makefile.toml [cargo-make][1] INFO - Task: appflowy [cargo-make][1] INFO - Profile: production-mac-arm64 [cargo-make][1] INFO - Running Task: legacy-migration [cargo-make][1] INFO - Running Task: echo_env -------- Env Parameters -------- CRATE_TYPE: staticlib BUILD_FLAG: release TARGET_OS: macos RUST_COMPILE_TARGET: aarch64-apple-darwin FEATURES: dart,rev-sqlite PRODUCT_EXT: app APP_ENVIRONMENT: production arm64 /Users/wilson/.pub-cache/bin/protoc-gen-dart [cargo-make][1] INFO - Skipping Task: install_flutter_protobuf [cargo-make][1] INFO - Running Task: setup-crate-type [cargo-make][1] INFO - Running Task: sdk-release-build Compiling flowy-error v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-error) Compiling flowy-notification v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-notification) Compiling flowy-user v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-user) Compiling flowy-folder2 v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-folder2) Compiling flowy-database2 v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2) Compiling flowy-config v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-config) Compiling flowy-document2 v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-document2) Compiling flowy-net v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-net) error: failed to run custom build command for `flowy-error v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-error)` Caused by: process didn't exit successfully: `/Users/wilson/code/appflowy/frontend/rust-lib/target/release/build/flowy-error-7c2c0326cb37a676/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-error/src/errors.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-error/src/code.rs cargo:rerun-if-changed=resources/proto/code.proto cargo:rerun-if-changed=resources/proto/errors.proto /Users/wilson/.pub-cache/bin/protoc-gen-dart --- stderr thread 'main' panicked at 'Generate dart pb file failed with: resources/proto/code.proto, Err(Custom { kind: Other, error: "Running [\"/Users/wilson/.cargo/registry/src/github.com-1ecc6299db9ec823/protoc-bin-vendored-macos-x86_64-3.0.0/bin/protoc\", \"--dart_out=/Users/wilson/code/appflowy/frontend/appflowy_flutter/packages/appflowy_backend/lib/protobuf/flowy-error\", \"--proto_path=resources/proto\", \"resources/proto/code.proto\"] exited with error; status code: 1" })', /Users/wilson/code/appflowy/shared-lib/flowy-codegen/src/protobuf_file/mod.rs:209:7 stack backtrace: 0: 0x1016f4390 - std::backtrace_rs::backtrace::libunwind::trace::h7e290481d10ef323 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x1016f4390 - std::backtrace_rs::backtrace::trace_unsynchronized::h2aa61f03a3f6f25d at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x1016f4390 - std::sys_common::backtrace::_print_fmt::hb1e5156405f26352 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:65:5 3: 0x1016f4390 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3c406a4521928e59 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:44:22 4: 0x1017107a4 - core::fmt::write::hc60df9bae744c40c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/fmt/mod.rs:1213:17 5: 0x1016f10b0 - std::io::Write::write_fmt::h1c4129dfc94f7c33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/io/mod.rs:1682:15 6: 0x1016f41a4 - std::sys_common::backtrace::_print::h551adb153dee3888 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:47:5 7: 0x1016f41a4 - std::sys_common::backtrace::print::h34db077f1fa49c76 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:34:9 8: 0x1016f5b58 - std::panicking::default_hook::{{closure}}::hff4fe3239c020cef at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:267:22 9: 0x1016f58b0 - std::panicking::default_hook::hd2988fbcc86fdc46 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:286:9 10: 0x1016f617c - std::panicking::rust_panic_with_hook::h01730ad11d62092c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:688:13 11: 0x1016f5f9c - std::panicking::begin_panic_handler::{{closure}}::h30f454e305d4a708 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:579:13 12: 0x1016f47f8 - std::sys_common::backtrace::__rust_end_short_backtrace::hb7ff1894d55794a1 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:137:18 13: 0x1016f5cf8 - rust_begin_unwind at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5 14: 0x10172773c - core::panicking::panic_fmt::hf1070b3fc33229fa at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14 15: 0x10102cdf0 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::{{closure}}::h13400a82d59bab17 16: 0x10101fd2c - <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each::h98a84d50f5fd13ea 17: 0x10102c344 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::hcd4178895539609d 18: 0x10102baec - flowy_codegen::protobuf_file::gen::h4c9a044f9eca98cd 19: 0x100fff634 - build_script_build::main::h3c47f9456cc3d76d 20: 0x100fff698 - core::ops::function::FnOnce::call_once::h787958fe8e263059 21: 0x100fff608 - std::sys_common::backtrace::__rust_begin_short_backtrace::h21c0bbc35a2af733 22: 0x100fff758 - std::rt::lang_start::{{closure}}::h0ea4e801f4176a9e 23: 0x1016ec9ec - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hfcba2619400775c8 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:287:13 24: 0x1016ec9ec - std::panicking::try::do_call::h3dbcab59a51ccd10 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 25: 0x1016ec9ec - std::panicking::try::h4080a58a21c0db47 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 26: 0x1016ec9ec - std::panic::catch_unwind::h51bc66584898e527 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 27: 0x1016ec9ec - std::rt::lang_start_internal::{{closure}}::h8648c3428199657a at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:48 28: 0x1016ec9ec - std::panicking::try::do_call::h5ef523fc3ef8d604 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 29: 0x1016ec9ec - std::panicking::try::h8124f0d5fb60af33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 30: 0x1016ec9ec - std::panic::catch_unwind::h0d6a1ca206241be0 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 31: 0x1016ec9ec - std::rt::lang_start_internal::h24d09c16ec322e75 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:20 32: 0x100fff730 - std::rt::lang_start::hb44927f558f0f737 33: 0x100fff660 - _main warning: build failed, waiting for other jobs to finish... error: failed to run custom build command for `flowy-config v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-config)` Caused by: process didn't exit successfully: `/Users/wilson/code/appflowy/frontend/rust-lib/target/release/build/flowy-config-5c88b60a217df454/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-config/src/event_map.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-config/src/entities.rs cargo:rerun-if-changed=resources/proto/entities.proto cargo:rerun-if-changed=resources/proto/event_map.proto /Users/wilson/.pub-cache/bin/protoc-gen-dart --- stderr thread 'main' panicked at 'Generate dart pb file failed with: resources/proto/entities.proto, Err(Custom { kind: Other, error: "Running [\"/Users/wilson/.cargo/registry/src/github.com-1ecc6299db9ec823/protoc-bin-vendored-macos-x86_64-3.0.0/bin/protoc\", \"--dart_out=/Users/wilson/code/appflowy/frontend/appflowy_flutter/packages/appflowy_backend/lib/protobuf/flowy-config\", \"--proto_path=resources/proto\", \"resources/proto/entities.proto\"] exited with error; status code: 1" })', /Users/wilson/code/appflowy/shared-lib/flowy-codegen/src/protobuf_file/mod.rs:209:7 stack backtrace: 0: 0x100edcb08 - std::backtrace_rs::backtrace::libunwind::trace::h7e290481d10ef323 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x100edcb08 - std::backtrace_rs::backtrace::trace_unsynchronized::h2aa61f03a3f6f25d at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x100edcb08 - std::sys_common::backtrace::_print_fmt::hb1e5156405f26352 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:65:5 3: 0x100edcb08 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3c406a4521928e59 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:44:22 4: 0x100ef8f1c - core::fmt::write::hc60df9bae744c40c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/fmt/mod.rs:1213:17 5: 0x100ed9828 - std::io::Write::write_fmt::h1c4129dfc94f7c33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/io/mod.rs:1682:15 6: 0x100edc91c - std::sys_common::backtrace::_print::h551adb153dee3888 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:47:5 7: 0x100edc91c - std::sys_common::backtrace::print::h34db077f1fa49c76 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:34:9 8: 0x100ede2d0 - std::panicking::default_hook::{{closure}}::hff4fe3239c020cef at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:267:22 9: 0x100ede028 - std::panicking::default_hook::hd2988fbcc86fdc46 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:286:9 10: 0x100ede8f4 - std::panicking::rust_panic_with_hook::h01730ad11d62092c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:688:13 11: 0x100ede714 - std::panicking::begin_panic_handler::{{closure}}::h30f454e305d4a708 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:579:13 12: 0x100edcf70 - std::sys_common::backtrace::__rust_end_short_backtrace::hb7ff1894d55794a1 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:137:18 13: 0x100ede470 - rust_begin_unwind at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5 14: 0x100f0fefc - core::panicking::panic_fmt::hf1070b3fc33229fa at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14 15: 0x1007f1ab4 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::{{closure}}::h13400a82d59bab17 16: 0x1007e39b0 - <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each::h98a84d50f5fd13ea 17: 0x1007f1008 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::hcd4178895539609d 18: 0x1007f07b0 - flowy_codegen::protobuf_file::gen::h4c9a044f9eca98cd 19: 0x1007b8b34 - build_script_build::main::h2b858e8f59f33217 20: 0x1007b8ba8 - core::ops::function::FnOnce::call_once::h55c30cb9ed74b47c 21: 0x1007b8c90 - std::sys_common::backtrace::__rust_begin_short_backtrace::h578f5d699db70c38 22: 0x1007b8c68 - std::rt::lang_start::{{closure}}::hd62289e4f7cd4a9a 23: 0x100ed5164 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hfcba2619400775c8 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:287:13 24: 0x100ed5164 - std::panicking::try::do_call::h3dbcab59a51ccd10 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 25: 0x100ed5164 - std::panicking::try::h4080a58a21c0db47 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 26: 0x100ed5164 - std::panic::catch_unwind::h51bc66584898e527 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 27: 0x100ed5164 - std::rt::lang_start_internal::{{closure}}::h8648c3428199657a at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:48 28: 0x100ed5164 - std::panicking::try::do_call::h5ef523fc3ef8d604 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 29: 0x100ed5164 - std::panicking::try::h8124f0d5fb60af33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 30: 0x100ed5164 - std::panic::catch_unwind::h0d6a1ca206241be0 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 31: 0x100ed5164 - std::rt::lang_start_internal::h24d09c16ec322e75 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:20 32: 0x1007b8c40 - std::rt::lang_start::h370fd0bb0577f2e4 33: 0x1007b8b70 - _main error: failed to run custom build command for `flowy-user v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-user)` Caused by: process didn't exit successfully: `/Users/wilson/code/appflowy/frontend/rust-lib/target/release/build/flowy-user-ffac6212368778c1/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-user/src/entities/auth.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-user/src/entities/user_profile.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-user/src/entities/user_setting.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-user/src/event_map.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-user/src/notification.rs cargo:rerun-if-changed=resources/proto/notification.proto cargo:rerun-if-changed=resources/proto/user_profile.proto cargo:rerun-if-changed=resources/proto/event_map.proto cargo:rerun-if-changed=resources/proto/auth.proto cargo:rerun-if-changed=resources/proto/user_setting.proto /Users/wilson/.pub-cache/bin/protoc-gen-dart --- stderr thread 'main' panicked at 'Generate dart pb file failed with: resources/proto/notification.proto, Err(Custom { kind: Other, error: "Running [\"/Users/wilson/.cargo/registry/src/github.com-1ecc6299db9ec823/protoc-bin-vendored-macos-x86_64-3.0.0/bin/protoc\", \"--dart_out=/Users/wilson/code/appflowy/frontend/appflowy_flutter/packages/appflowy_backend/lib/protobuf/flowy-user\", \"--proto_path=resources/proto\", \"resources/proto/notification.proto\"] exited with error; status code: 1" })', /Users/wilson/code/appflowy/shared-lib/flowy-codegen/src/protobuf_file/mod.rs:209:7 stack backtrace: 0: 0x105628b08 - std::backtrace_rs::backtrace::libunwind::trace::h7e290481d10ef323 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x105628b08 - std::backtrace_rs::backtrace::trace_unsynchronized::h2aa61f03a3f6f25d at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x105628b08 - std::sys_common::backtrace::_print_fmt::hb1e5156405f26352 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:65:5 3: 0x105628b08 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3c406a4521928e59 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:44:22 4: 0x105644f1c - core::fmt::write::hc60df9bae744c40c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/fmt/mod.rs:1213:17 5: 0x105625828 - std::io::Write::write_fmt::h1c4129dfc94f7c33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/io/mod.rs:1682:15 6: 0x10562891c - std::sys_common::backtrace::_print::h551adb153dee3888 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:47:5 7: 0x10562891c - std::sys_common::backtrace::print::h34db077f1fa49c76 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:34:9 8: 0x10562a2d0 - std::panicking::default_hook::{{closure}}::hff4fe3239c020cef at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:267:22 9: 0x10562a028 - std::panicking::default_hook::hd2988fbcc86fdc46 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:286:9 10: 0x10562a8f4 - std::panicking::rust_panic_with_hook::h01730ad11d62092c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:688:13 11: 0x10562a714 - std::panicking::begin_panic_handler::{{closure}}::h30f454e305d4a708 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:579:13 12: 0x105628f70 - std::sys_common::backtrace::__rust_end_short_backtrace::hb7ff1894d55794a1 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:137:18 13: 0x10562a470 - rust_begin_unwind at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5 14: 0x10565befc - core::panicking::panic_fmt::hf1070b3fc33229fa at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14 15: 0x104f3dab4 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::{{closure}}::h13400a82d59bab17 16: 0x104f2f9b0 - <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each::h98a84d50f5fd13ea 17: 0x104f3d008 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::hcd4178895539609d 18: 0x104f3c7b0 - flowy_codegen::protobuf_file::gen::h4c9a044f9eca98cd 19: 0x104f04bb8 - build_script_build::main::h490c146368b1369e 20: 0x104f04c2c - core::ops::function::FnOnce::call_once::h6e646a8ad89028bf 21: 0x104f04c98 - std::sys_common::backtrace::__rust_begin_short_backtrace::hd5e8e1b9559ecf90 22: 0x104f04b70 - std::rt::lang_start::{{closure}}::h2ecfaecd899b6076 23: 0x105621164 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hfcba2619400775c8 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:287:13 24: 0x105621164 - std::panicking::try::do_call::h3dbcab59a51ccd10 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 25: 0x105621164 - std::panicking::try::h4080a58a21c0db47 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 26: 0x105621164 - std::panic::catch_unwind::h51bc66584898e527 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 27: 0x105621164 - std::rt::lang_start_internal::{{closure}}::h8648c3428199657a at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:48 28: 0x105621164 - std::panicking::try::do_call::h5ef523fc3ef8d604 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 29: 0x105621164 - std::panicking::try::h8124f0d5fb60af33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 30: 0x105621164 - std::panic::catch_unwind::h0d6a1ca206241be0 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 31: 0x105621164 - std::rt::lang_start_internal::h24d09c16ec322e75 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:20 32: 0x104f04b48 - std::rt::lang_start::he34aee6d42782c18 33: 0x104f04bf4 - _main error: failed to run custom build command for `flowy-document2 v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-document2)` Caused by: process didn't exit successfully: `/Users/wilson/code/appflowy/frontend/rust-lib/target/release/build/flowy-document2-91a1ebd109e45c7b/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-document2/src/event_map.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-document2/src/entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-document2/src/notification.rs cargo:rerun-if-changed=resources/proto/notification.proto cargo:rerun-if-changed=resources/proto/entities.proto cargo:rerun-if-changed=resources/proto/event_map.proto /Users/wilson/.pub-cache/bin/protoc-gen-dart --- stderr thread 'main' panicked at 'Generate dart pb file failed with: resources/proto/notification.proto, Err(Custom { kind: Other, error: "Running [\"/Users/wilson/.cargo/registry/src/github.com-1ecc6299db9ec823/protoc-bin-vendored-macos-x86_64-3.0.0/bin/protoc\", \"--dart_out=/Users/wilson/code/appflowy/frontend/appflowy_flutter/packages/appflowy_backend/lib/protobuf/flowy-document2\", \"--proto_path=resources/proto\", \"resources/proto/notification.proto\"] exited with error; status code: 1" })', /Users/wilson/code/appflowy/shared-lib/flowy-codegen/src/protobuf_file/mod.rs:209:7 stack backtrace: 0: 0x101510af8 - std::backtrace_rs::backtrace::libunwind::trace::h7e290481d10ef323 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x101510af8 - std::backtrace_rs::backtrace::trace_unsynchronized::h2aa61f03a3f6f25d at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x101510af8 - std::sys_common::backtrace::_print_fmt::hb1e5156405f26352 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:65:5 3: 0x101510af8 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3c406a4521928e59 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:44:22 4: 0x10152cf0c - core::fmt::write::hc60df9bae744c40c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/fmt/mod.rs:1213:17 5: 0x10150d818 - std::io::Write::write_fmt::h1c4129dfc94f7c33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/io/mod.rs:1682:15 6: 0x10151090c - std::sys_common::backtrace::_print::h551adb153dee3888 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:47:5 7: 0x10151090c - std::sys_common::backtrace::print::h34db077f1fa49c76 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:34:9 8: 0x1015122c0 - std::panicking::default_hook::{{closure}}::hff4fe3239c020cef at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:267:22 9: 0x101512018 - std::panicking::default_hook::hd2988fbcc86fdc46 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:286:9 10: 0x1015128e4 - std::panicking::rust_panic_with_hook::h01730ad11d62092c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:688:13 11: 0x101512704 - std::panicking::begin_panic_handler::{{closure}}::h30f454e305d4a708 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:579:13 12: 0x101510f60 - std::sys_common::backtrace::__rust_end_short_backtrace::hb7ff1894d55794a1 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:137:18 13: 0x101512460 - rust_begin_unwind at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5 14: 0x101543eec - core::panicking::panic_fmt::hf1070b3fc33229fa at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14 15: 0x100e25aa4 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::{{closure}}::h13400a82d59bab17 16: 0x100e179a0 - <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each::h98a84d50f5fd13ea 17: 0x100e24ff8 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::hcd4178895539609d 18: 0x100e247a0 - flowy_codegen::protobuf_file::gen::h4c9a044f9eca98cd 19: 0x100decbb0 - build_script_build::main::h4e92a5a32d87f535 20: 0x100decb2c - core::ops::function::FnOnce::call_once::h121960a185b66860 21: 0x100decc04 - std::sys_common::backtrace::__rust_begin_short_backtrace::h54b95996a0730037 22: 0x100decc78 - std::rt::lang_start::{{closure}}::hc6418a8c536eccda 23: 0x101509154 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hfcba2619400775c8 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:287:13 24: 0x101509154 - std::panicking::try::do_call::h3dbcab59a51ccd10 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 25: 0x101509154 - std::panicking::try::h4080a58a21c0db47 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 26: 0x101509154 - std::panic::catch_unwind::h51bc66584898e527 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 27: 0x101509154 - std::rt::lang_start_internal::{{closure}}::h8648c3428199657a at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:48 28: 0x101509154 - std::panicking::try::do_call::h5ef523fc3ef8d604 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 29: 0x101509154 - std::panicking::try::h8124f0d5fb60af33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 30: 0x101509154 - std::panic::catch_unwind::h0d6a1ca206241be0 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 31: 0x101509154 - std::rt::lang_start_internal::h24d09c16ec322e75 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:20 32: 0x100decc50 - std::rt::lang_start::h1c2d0aac3073d537 33: 0x100decbec - _main error: failed to run custom build command for `flowy-folder2 v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-folder2)` Caused by: process didn't exit successfully: `/Users/wilson/code/appflowy/frontend/rust-lib/target/release/build/flowy-folder2-14dace8ac31a88a0/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-folder2/src/entities/import.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-folder2/src/entities/workspace.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-folder2/src/entities/trash.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-folder2/src/entities/view.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-folder2/src/event_map.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-folder2/src/notification.rs cargo:rerun-if-changed=resources/proto/notification.proto cargo:rerun-if-changed=resources/proto/import.proto cargo:rerun-if-changed=resources/proto/view.proto cargo:rerun-if-changed=resources/proto/trash.proto cargo:rerun-if-changed=resources/proto/event_map.proto cargo:rerun-if-changed=resources/proto/workspace.proto /Users/wilson/.pub-cache/bin/protoc-gen-dart --- stderr thread 'main' panicked at 'Generate dart pb file failed with: resources/proto/notification.proto, Err(Custom { kind: Other, error: "Running [\"/Users/wilson/.cargo/registry/src/github.com-1ecc6299db9ec823/protoc-bin-vendored-macos-x86_64-3.0.0/bin/protoc\", \"--dart_out=/Users/wilson/code/appflowy/frontend/appflowy_flutter/packages/appflowy_backend/lib/protobuf/flowy-folder2\", \"--proto_path=resources/proto\", \"resources/proto/notification.proto\"] exited with error; status code: 1" })', /Users/wilson/code/appflowy/shared-lib/flowy-codegen/src/protobuf_file/mod.rs:209:7 stack backtrace: 0: 0x103134b08 - std::backtrace_rs::backtrace::libunwind::trace::h7e290481d10ef323 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x103134b08 - std::backtrace_rs::backtrace::trace_unsynchronized::h2aa61f03a3f6f25d at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x103134b08 - std::sys_common::backtrace::_print_fmt::hb1e5156405f26352 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:65:5 3: 0x103134b08 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3c406a4521928e59 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:44:22 4: 0x103150f1c - core::fmt::write::hc60df9bae744c40c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/fmt/mod.rs:1213:17 5: 0x103131828 - std::io::Write::write_fmt::h1c4129dfc94f7c33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/io/mod.rs:1682:15 6: 0x10313491c - std::sys_common::backtrace::_print::h551adb153dee3888 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:47:5 7: 0x10313491c - std::sys_common::backtrace::print::h34db077f1fa49c76 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:34:9 8: 0x1031362d0 - std::panicking::default_hook::{{closure}}::hff4fe3239c020cef at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:267:22 9: 0x103136028 - std::panicking::default_hook::hd2988fbcc86fdc46 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:286:9 10: 0x1031368f4 - std::panicking::rust_panic_with_hook::h01730ad11d62092c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:688:13 11: 0x103136714 - std::panicking::begin_panic_handler::{{closure}}::h30f454e305d4a708 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:579:13 12: 0x103134f70 - std::sys_common::backtrace::__rust_end_short_backtrace::hb7ff1894d55794a1 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:137:18 13: 0x103136470 - rust_begin_unwind at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5 14: 0x103167efc - core::panicking::panic_fmt::hf1070b3fc33229fa at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14 15: 0x102a49ab4 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::{{closure}}::h13400a82d59bab17 16: 0x102a3b9b0 - <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each::h98a84d50f5fd13ea 17: 0x102a49008 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::hcd4178895539609d 18: 0x102a487b0 - flowy_codegen::protobuf_file::gen::h4c9a044f9eca98cd 19: 0x102a10b34 - build_script_build::main::h17ce14e974b82df2 20: 0x102a10c4c - core::ops::function::FnOnce::call_once::h0375126f95afffce 21: 0x102a10b88 - std::sys_common::backtrace::__rust_begin_short_backtrace::hc25f780ceb809b86 22: 0x102a10c04 - std::rt::lang_start::{{closure}}::h0af2e4d4c30b7929 23: 0x10312d164 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hfcba2619400775c8 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:287:13 24: 0x10312d164 - std::panicking::try::do_call::h3dbcab59a51ccd10 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 25: 0x10312d164 - std::panicking::try::h4080a58a21c0db47 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 26: 0x10312d164 - std::panic::catch_unwind::h51bc66584898e527 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 27: 0x10312d164 - std::rt::lang_start_internal::{{closure}}::h8648c3428199657a at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:48 28: 0x10312d164 - std::panicking::try::do_call::h5ef523fc3ef8d604 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 29: 0x10312d164 - std::panicking::try::h8124f0d5fb60af33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 30: 0x10312d164 - std::panic::catch_unwind::h0d6a1ca206241be0 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 31: 0x10312d164 - std::rt::lang_start_internal::h24d09c16ec322e75 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:20 32: 0x102a10bdc - std::rt::lang_start::h66432e4b11e44c19 33: 0x102a10b70 - _main error: failed to run custom build command for `flowy-notification v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-notification)` Caused by: process didn't exit successfully: `/Users/wilson/code/appflowy/frontend/rust-lib/target/release/build/flowy-notification-34a88c87aa0bbc5c/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-notification/src/entities/subject.rs cargo:rerun-if-changed=resources/proto/subject.proto /Users/wilson/.pub-cache/bin/protoc-gen-dart --- stderr thread 'main' panicked at 'Generate dart pb file failed with: resources/proto/subject.proto, Err(Custom { kind: Other, error: "Running [\"/Users/wilson/.cargo/registry/src/github.com-1ecc6299db9ec823/protoc-bin-vendored-macos-x86_64-3.0.0/bin/protoc\", \"--dart_out=/Users/wilson/code/appflowy/frontend/appflowy_flutter/packages/appflowy_backend/lib/protobuf/flowy-notification\", \"--proto_path=resources/proto\", \"resources/proto/subject.proto\"] exited with error; status code: 1" })', /Users/wilson/code/appflowy/shared-lib/flowy-codegen/src/protobuf_file/mod.rs:209:7 stack backtrace: 0: 0x100b50390 - std::backtrace_rs::backtrace::libunwind::trace::h7e290481d10ef323 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x100b50390 - std::backtrace_rs::backtrace::trace_unsynchronized::h2aa61f03a3f6f25d at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x100b50390 - std::sys_common::backtrace::_print_fmt::hb1e5156405f26352 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:65:5 3: 0x100b50390 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3c406a4521928e59 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:44:22 4: 0x100b6c7a4 - core::fmt::write::hc60df9bae744c40c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/fmt/mod.rs:1213:17 5: 0x100b4d0b0 - std::io::Write::write_fmt::h1c4129dfc94f7c33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/io/mod.rs:1682:15 6: 0x100b501a4 - std::sys_common::backtrace::_print::h551adb153dee3888 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:47:5 7: 0x100b501a4 - std::sys_common::backtrace::print::h34db077f1fa49c76 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:34:9 8: 0x100b51b58 - std::panicking::default_hook::{{closure}}::hff4fe3239c020cef at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:267:22 9: 0x100b518b0 - std::panicking::default_hook::hd2988fbcc86fdc46 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:286:9 10: 0x100b5217c - std::panicking::rust_panic_with_hook::h01730ad11d62092c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:688:13 11: 0x100b51f9c - std::panicking::begin_panic_handler::{{closure}}::h30f454e305d4a708 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:579:13 12: 0x100b507f8 - std::sys_common::backtrace::__rust_end_short_backtrace::hb7ff1894d55794a1 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:137:18 13: 0x100b51cf8 - rust_begin_unwind at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5 14: 0x100b8373c - core::panicking::panic_fmt::hf1070b3fc33229fa at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14 15: 0x100488df0 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::{{closure}}::h13400a82d59bab17 16: 0x10047bd2c - <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each::h98a84d50f5fd13ea 17: 0x100488344 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::hcd4178895539609d 18: 0x100487aec - flowy_codegen::protobuf_file::gen::h4c9a044f9eca98cd 19: 0x10045b614 - build_script_build::main::h1c70909bc4340b88 20: 0x10045b768 - core::ops::function::FnOnce::call_once::hd953999924647441 21: 0x10045b660 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6b98bd70a81a51e9 22: 0x10045b6d4 - std::rt::lang_start::{{closure}}::hfaf52906434e82d2 23: 0x100b489ec - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hfcba2619400775c8 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:287:13 24: 0x100b489ec - std::panicking::try::do_call::h3dbcab59a51ccd10 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 25: 0x100b489ec - std::panicking::try::h4080a58a21c0db47 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 26: 0x100b489ec - std::panic::catch_unwind::h51bc66584898e527 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 27: 0x100b489ec - std::rt::lang_start_internal::{{closure}}::h8648c3428199657a at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:48 28: 0x100b489ec - std::panicking::try::do_call::h5ef523fc3ef8d604 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 29: 0x100b489ec - std::panicking::try::h8124f0d5fb60af33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 30: 0x100b489ec - std::panic::catch_unwind::h0d6a1ca206241be0 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 31: 0x100b489ec - std::rt::lang_start_internal::h24d09c16ec322e75 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:20 32: 0x10045b6ac - std::rt::lang_start::he1e63bf0dea55fd2 33: 0x10045b640 - _main error: failed to run custom build command for `flowy-database2 v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2)` Caused by: process didn't exit successfully: `/Users/wilson/code/appflowy/frontend/rust-lib/target/release/build/flowy-database2-f21d15ccab3018ee/build-script-build` (exit status: 101) --- stdout --------------------------------------------------- +import "util.proto"; --------------------------------------------------- --------------------------------------------------- -import "util.proto"; --------------------------------------------------- --------------------------------------------------- --------------------------------------------------- -import "row_entities.proto"; -import "group.proto";message GroupRowsNotificationPB { +import "group.proto"; +import "row_entities.proto";message GroupRowsNotificationPB { --------------------------------------------------- --------------------------------------------------- --------------------------------------------------- -import "setting_entities.proto"; -import "row_entities.proto";message DatabasePB { +import "row_entities.proto"; +import "setting_entities.proto";message DatabasePB { --------------------------------------------------- --------------------------------------------------- cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/event_map.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/number_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/checkbox_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/url_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/date_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/text_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/checklist_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/select_option.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/setting_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/row_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/calendar_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/filter_entities/util.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/filter_entities/filter_changeset.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/filter_entities/select_option_filter.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/filter_entities/checkbox_filter.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/filter_entities/number_filter.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/filter_entities/checklist_filter.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/filter_entities/date_filter.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/filter_entities/text_filter.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/field_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/group_entities/configuration.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/group_entities/group_changeset.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/group_entities/group.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/database_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/sort_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/cell_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/view_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/entities/share_entities.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-database2/src/notification.rs cargo:rerun-if-changed=resources/proto/text_filter.proto cargo:rerun-if-changed=resources/proto/util.proto cargo:rerun-if-changed=resources/proto/field_entities.proto cargo:rerun-if-changed=resources/proto/filter_changeset.proto cargo:rerun-if-changed=resources/proto/group.proto cargo:rerun-if-changed=resources/proto/calendar_entities.proto cargo:rerun-if-changed=resources/proto/database_entities.proto cargo:rerun-if-changed=resources/proto/number_entities.proto cargo:rerun-if-changed=resources/proto/notification.proto cargo:rerun-if-changed=resources/proto/text_entities.proto cargo:rerun-if-changed=resources/proto/checkbox_entities.proto cargo:rerun-if-changed=resources/proto/row_entities.proto cargo:rerun-if-changed=resources/proto/setting_entities.proto cargo:rerun-if-changed=resources/proto/cell_entities.proto cargo:rerun-if-changed=resources/proto/configuration.proto cargo:rerun-if-changed=resources/proto/url_entities.proto cargo:rerun-if-changed=resources/proto/share_entities.proto cargo:rerun-if-changed=resources/proto/view_entities.proto cargo:rerun-if-changed=resources/proto/select_option.proto cargo:rerun-if-changed=resources/proto/date_filter.proto cargo:rerun-if-changed=resources/proto/checkbox_filter.proto cargo:rerun-if-changed=resources/proto/event_map.proto cargo:rerun-if-changed=resources/proto/sort_entities.proto cargo:rerun-if-changed=resources/proto/group_changeset.proto cargo:rerun-if-changed=resources/proto/checklist_filter.proto cargo:rerun-if-changed=resources/proto/select_option_filter.proto cargo:rerun-if-changed=resources/proto/checklist_entities.proto cargo:rerun-if-changed=resources/proto/date_entities.proto cargo:rerun-if-changed=resources/proto/number_filter.proto /Users/wilson/.pub-cache/bin/protoc-gen-dart --- stderr thread 'main' panicked at 'Generate dart pb file failed with: resources/proto/text_filter.proto, Err(Custom { kind: Other, error: "Running [\"/Users/wilson/.cargo/registry/src/github.com-1ecc6299db9ec823/protoc-bin-vendored-macos-x86_64-3.0.0/bin/protoc\", \"--dart_out=/Users/wilson/code/appflowy/frontend/appflowy_flutter/packages/appflowy_backend/lib/protobuf/flowy-database2\", \"--proto_path=resources/proto\", \"resources/proto/text_filter.proto\"] exited with error; status code: 1" })', /Users/wilson/code/appflowy/shared-lib/flowy-codegen/src/protobuf_file/mod.rs:209:7 stack backtrace: 0: 0x1030c8b08 - std::backtrace_rs::backtrace::libunwind::trace::h7e290481d10ef323 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x1030c8b08 - std::backtrace_rs::backtrace::trace_unsynchronized::h2aa61f03a3f6f25d at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x1030c8b08 - std::sys_common::backtrace::_print_fmt::hb1e5156405f26352 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:65:5 3: 0x1030c8b08 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3c406a4521928e59 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:44:22 4: 0x1030e4f1c - core::fmt::write::hc60df9bae744c40c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/fmt/mod.rs:1213:17 5: 0x1030c5828 - std::io::Write::write_fmt::h1c4129dfc94f7c33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/io/mod.rs:1682:15 6: 0x1030c891c - std::sys_common::backtrace::_print::h551adb153dee3888 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:47:5 7: 0x1030c891c - std::sys_common::backtrace::print::h34db077f1fa49c76 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:34:9 8: 0x1030ca2d0 - std::panicking::default_hook::{{closure}}::hff4fe3239c020cef at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:267:22 9: 0x1030ca028 - std::panicking::default_hook::hd2988fbcc86fdc46 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:286:9 10: 0x1030ca8f4 - std::panicking::rust_panic_with_hook::h01730ad11d62092c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:688:13 11: 0x1030ca714 - std::panicking::begin_panic_handler::{{closure}}::h30f454e305d4a708 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:579:13 12: 0x1030c8f70 - std::sys_common::backtrace::__rust_end_short_backtrace::hb7ff1894d55794a1 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:137:18 13: 0x1030ca470 - rust_begin_unwind at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5 14: 0x1030fbefc - core::panicking::panic_fmt::hf1070b3fc33229fa at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14 15: 0x1029ddab4 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::{{closure}}::h13400a82d59bab17 16: 0x1029cf9b0 - <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each::h98a84d50f5fd13ea 17: 0x1029dd008 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::hcd4178895539609d 18: 0x1029dc7b0 - flowy_codegen::protobuf_file::gen::h4c9a044f9eca98cd 19: 0x1029a4b34 - build_script_build::main::h142ff7546527abd3 20: 0x1029a4ba8 - core::ops::function::FnOnce::call_once::h537f0f324daa13fb 21: 0x1029a4c14 - std::sys_common::backtrace::__rust_begin_short_backtrace::h5538ff372dc6ec70 22: 0x1029a4c90 - std::rt::lang_start::{{closure}}::h6e6bbaa535dfccd6 23: 0x1030c1164 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hfcba2619400775c8 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:287:13 24: 0x1030c1164 - std::panicking::try::do_call::h3dbcab59a51ccd10 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 25: 0x1030c1164 - std::panicking::try::h4080a58a21c0db47 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 26: 0x1030c1164 - std::panic::catch_unwind::h51bc66584898e527 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 27: 0x1030c1164 - std::rt::lang_start_internal::{{closure}}::h8648c3428199657a at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:48 28: 0x1030c1164 - std::panicking::try::do_call::h5ef523fc3ef8d604 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 29: 0x1030c1164 - std::panicking::try::h8124f0d5fb60af33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 30: 0x1030c1164 - std::panic::catch_unwind::h0d6a1ca206241be0 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 31: 0x1030c1164 - std::rt::lang_start_internal::h24d09c16ec322e75 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:20 32: 0x1029a4c68 - std::rt::lang_start::he48c0db14cf5b7c8 33: 0x1029a4b70 - _main error: failed to run custom build command for `flowy-net v0.1.0 (/Users/wilson/code/appflowy/frontend/rust-lib/flowy-net)` Caused by: process didn't exit successfully: `/Users/wilson/code/appflowy/frontend/rust-lib/target/release/build/flowy-net-c5ebc92074098f3d/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-net/src/event_map.rs cargo:rerun-if-changed=/Users/wilson/code/appflowy/frontend/rust-lib/flowy-net/src/entities/network_state.rs cargo:rerun-if-changed=resources/proto/network_state.proto cargo:rerun-if-changed=resources/proto/event_map.proto /Users/wilson/.pub-cache/bin/protoc-gen-dart --- stderr thread 'main' panicked at 'Generate dart pb file failed with: resources/proto/network_state.proto, Err(Custom { kind: Other, error: "Running [\"/Users/wilson/.cargo/registry/src/github.com-1ecc6299db9ec823/protoc-bin-vendored-macos-x86_64-3.0.0/bin/protoc\", \"--dart_out=/Users/wilson/code/appflowy/frontend/appflowy_flutter/packages/appflowy_backend/lib/protobuf/flowy-net\", \"--proto_path=resources/proto\", \"resources/proto/network_state.proto\"] exited with error; status code: 1" })', /Users/wilson/code/appflowy/shared-lib/flowy-codegen/src/protobuf_file/mod.rs:209:7 stack backtrace: 0: 0x102cf0af8 - std::backtrace_rs::backtrace::libunwind::trace::h7e290481d10ef323 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x102cf0af8 - std::backtrace_rs::backtrace::trace_unsynchronized::h2aa61f03a3f6f25d at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x102cf0af8 - std::sys_common::backtrace::_print_fmt::hb1e5156405f26352 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:65:5 3: 0x102cf0af8 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h3c406a4521928e59 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:44:22 4: 0x102d0cf0c - core::fmt::write::hc60df9bae744c40c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/fmt/mod.rs:1213:17 5: 0x102ced818 - std::io::Write::write_fmt::h1c4129dfc94f7c33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/io/mod.rs:1682:15 6: 0x102cf090c - std::sys_common::backtrace::_print::h551adb153dee3888 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:47:5 7: 0x102cf090c - std::sys_common::backtrace::print::h34db077f1fa49c76 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:34:9 8: 0x102cf22c0 - std::panicking::default_hook::{{closure}}::hff4fe3239c020cef at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:267:22 9: 0x102cf2018 - std::panicking::default_hook::hd2988fbcc86fdc46 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:286:9 10: 0x102cf28e4 - std::panicking::rust_panic_with_hook::h01730ad11d62092c at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:688:13 11: 0x102cf2704 - std::panicking::begin_panic_handler::{{closure}}::h30f454e305d4a708 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:579:13 12: 0x102cf0f60 - std::sys_common::backtrace::__rust_end_short_backtrace::hb7ff1894d55794a1 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:137:18 13: 0x102cf2460 - rust_begin_unwind at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5 14: 0x102d23eec - core::panicking::panic_fmt::hf1070b3fc33229fa at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14 15: 0x102605aa4 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::{{closure}}::h13400a82d59bab17 16: 0x1025f79a0 - <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each::h98a84d50f5fd13ea 17: 0x102604ff8 - flowy_codegen::protobuf_file::generate_dart_protobuf_files::hcd4178895539609d 18: 0x1026047a0 - flowy_codegen::protobuf_file::gen::h4c9a044f9eca98cd 19: 0x1025ccc54 - build_script_build::main::h7f6f5b905d88f364 20: 0x1025ccbb0 - core::ops::function::FnOnce::call_once::h30d19c81fa9a372d 21: 0x1025ccc1c - std::sys_common::backtrace::__rust_begin_short_backtrace::h569df2e39a6154c9 22: 0x1025ccb68 - std::rt::lang_start::{{closure}}::h87dbbe3191da2ce2 23: 0x102ce9154 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hfcba2619400775c8 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:287:13 24: 0x102ce9154 - std::panicking::try::do_call::h3dbcab59a51ccd10 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 25: 0x102ce9154 - std::panicking::try::h4080a58a21c0db47 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 26: 0x102ce9154 - std::panic::catch_unwind::h51bc66584898e527 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 27: 0x102ce9154 - std::rt::lang_start_internal::{{closure}}::h8648c3428199657a at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:48 28: 0x102ce9154 - std::panicking::try::do_call::h5ef523fc3ef8d604 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40 29: 0x102ce9154 - std::panicking::try::h8124f0d5fb60af33 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19 30: 0x102ce9154 - std::panic::catch_unwind::h0d6a1ca206241be0 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14 31: 0x102ce9154 - std::rt::lang_start_internal::h24d09c16ec322e75 at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:20 32: 0x1025ccb40 - std::rt::lang_start::he35cf42463045d63 33: 0x1025ccc90 - _main [cargo-make][1] ERROR - Error while executing command, exit code: 101 [cargo-make][1] WARN - Build Failed. [cargo-make] INFO - Running Task: legacy-migration [cargo-make] INFO - Running Task: restore-crate-type [cargo-make] ERROR - Task error detected, exit code: 1 [cargo-make] WARN - Build Failed. </code> </details> ```bash= [cargo-make][1] ERROR - Error while executing command, exit code: 101 [cargo-make][1] WARN - Build Failed. [cargo-make] INFO - Running Task: legacy-migration [cargo-make] INFO - Running Task: restore-crate-type [cargo-make] ERROR - Task error detected, exit code: 1 [cargo-make] WARN - Build Failed. ``` 再次參考 #Reference:2 ```bash= $ protoc-gen-dart Can't load Kernel binary: Invalid kernel binary format version. Building package executable... Failed to build protoc_plugin:protoc_plugin: ../../../../../.pub-cache/hosted/pub.dev/watcher-1.0.2/lib/src/constructable_file_system_event.dart:7:57: Error: The class 'FileSystemEvent' can't be extended, implemented, or mixed in outside of its library because it's a sealed class. abstract class _ConstructableFileSystemEvent implements FileSystemEvent { ``` ## Reference 1. https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/environment-setup/building-on-macos 2. https://github.com/AppFlowy-IO/AppFlowy/issues/413 3. https://stackoverflow.com/questions/73426569/flutter-requires-sdk-version-2-18-0-271-2-beta-3-0-0-version-solving-fail 4. https://guides.cocoapods.org/using/getting-started.html