mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #8244] [Bug] Protobuf not generated after run the setup script #3684
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#3684
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dimasaryamurdiyan on GitHub (Sep 30, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8244
Bug Description
That makes error import on several classes
How to Reproduce
Here's the log when initial setup
AppFlowy : The Rust programming language is required to compile AppFlowy.
AppFlowy : We can install it now if you don't already have it on your system.
AppFlowy : Do you want to install Rust? [y/N] y
AppFlowy : Installing Rust.
Warning: rustup 1.28.2 is already installed and up-to-date.
To reinstall 1.28.2, run:
brew reinstall rustup
warn: It looks like you have an existing rustup settings file at:
warn: /Users/singaludra/.rustup/settings.toml
warn: Rustup will install the default toolchain as specified in the settings file,
warn: instead of the one inferred from the default host triple.
info: profile set to 'default'
info: default host triple is aarch64-apple-darwin
warn: Updating existing toolchain, profile choice will be ignored
info: syncing channel updates for 'stable-aarch64-apple-darwin'
info: default toolchain set to 'stable-aarch64-apple-darwin'
stable-aarch64-apple-darwin unchanged - rustc 1.90.0 (1159e78c4 2025-09-14)
Rust is installed now. Great!
To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).
To configure your current shell, you need to source
the corresponding env file under $HOME/.cargo.
This is usually done by running one of the following (note the leading DOT):
. "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh
source "$HOME/.cargo/env.fish" # For fish
source $"($nu.home-path)/.cargo/env.nu" # For nushell
AppFlowy : Installing sqlLite3.
Warning: sqlite 3.50.4 is already installed and up-to-date.
To reinstall 3.50.4, run:
brew reinstall sqlite
AppFlowy : Setting up Flutter
Flutter version is already 3.27.4
Setting "enable-macos-desktop" value to "true".
You may need to restart any open editors for them to read new settings.
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.27.4, on macOS 15.5 24F74 darwin-arm64, locale en-ID)
! Flutter version 3.27.4 on channel [user-branch] at /Users/singaludra/development/flutter
Currently on an unknown channel. Run
flutter channelto switch to an official channel.If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.104.2)
[✓] Connected device (6 available)
[✓] Network resources
! Doctor found issues in 1 category.
AppFlowy : Setting up githooks.
AppFlowy : Installing go-gitlint.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 4132k 100 4132k 0 0 2050k 0 0:00:02 0:00:02 --:--:-- 3490k
x gitlint
AppFlowy : Installing cargo-make.
Updating crates.io index
Installing cargo-make v0.37.24
Updating crates.io index
Locking 234 packages to latest compatible versions
Adding cargo_metadata v0.19.2 (available: v0.20.0)
Adding petgraph v0.7.1 (available: v0.8.2)
Adding strum_macros v0.26.4 (available: v0.27.2)
Adding toml v0.8.23 (available: v0.9.7)
Compiling proc-macro2 v1.0.101
Compiling quote v1.0.41
Compiling unicode-ident v1.0.19
Compiling libc v0.2.176
Compiling cfg-if v1.0.3
Compiling serde_core v1.0.228
Compiling memchr v2.7.6
Compiling stable_deref_trait v1.2.0
Compiling find-msvc-tools v0.1.2
Compiling shlex v1.3.0
Compiling zerocopy v0.8.27
Compiling cc v1.2.39
Compiling serde v1.0.228
Compiling autocfg v1.5.0
Compiling getrandom v0.3.3
Compiling aho-corasick v1.1.3
Compiling litemap v0.8.0
Compiling writeable v0.6.1
Compiling regex-syntax v0.8.6
Compiling getrandom v0.2.16
Compiling log v0.4.28
Compiling typenum v1.18.0
Compiling icu_properties_data v2.0.1
Compiling icu_normalizer_data v2.0.0
Compiling syn v2.0.106
Compiling version_check v0.9.5
Compiling rand_core v0.9.3
Compiling generic-array v0.14.7
Compiling ring v0.17.14
Compiling zeroize v1.8.2
Compiling ppv-lite86 v0.2.21
Compiling crc32fast v1.5.0
Compiling rand_chacha v0.9.0
Compiling regex-automata v0.4.11
Compiling rand v0.9.2
Compiling rustls-pki-types v1.12.0
Compiling crossbeam-utils v0.8.21
Compiling smallvec v1.15.1
Compiling pkg-config v0.3.32
Compiling thiserror v2.0.17
Compiling hashbrown v0.16.0
Compiling equivalent v1.0.2
Compiling bzip2-sys v0.1.13+1.0.8
Compiling synstructure v0.13.2
Compiling indexmap v2.11.4
Compiling regex v1.11.3
Compiling fsio v0.4.1
Compiling semver v1.0.27
Compiling num-traits v0.2.19
Compiling untrusted v0.9.0
Compiling adler2 v2.0.1
Compiling bitflags v2.9.4
Compiling itoa v1.0.15
Compiling once_cell v1.21.3
Compiling miniz_oxide v0.8.9
Compiling zerofrom-derive v0.1.6
Compiling yoke-derive v0.8.0
Compiling displaydoc v0.2.5
Compiling zerovec-derive v0.11.1
Compiling serde_derive v1.0.228
Compiling zerofrom v0.1.6
Compiling thiserror-impl v2.0.17
Compiling yoke v0.8.0
Compiling indexmap v1.9.3
Compiling serde_json v1.0.145
Compiling zerovec v0.11.4
Compiling zerotrie v0.2.2
Compiling rustls v0.23.32
Compiling percent-encoding v2.3.2
Compiling core-foundation-sys v0.8.7
Compiling cfg_aliases v0.2.1
Compiling utf8_iter v1.0.4
Compiling powerfmt v0.2.0
Compiling rustix v0.38.44
Compiling deranged v0.5.4
Compiling rustls-webpki v0.103.6
Compiling iana-time-zone v0.1.64
Compiling nix v0.30.1
Compiling form_urlencoded v1.2.2
Compiling tinystr v0.8.1
Compiling potential_utf v0.1.3
Compiling icu_locale_core v2.0.0
Compiling icu_collections v2.0.0
Compiling lazy-regex-proc_macros v3.4.1
Compiling crossbeam-epoch v0.9.18
Compiling flate2 v1.1.2
Compiling icu_provider v2.0.0
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling webpki-roots v1.0.2
Compiling icu_normalizer v2.0.0
Compiling icu_properties v2.0.1
Compiling rand_core v0.6.4
Compiling errno v0.3.14
Compiling bstr v1.12.0
Compiling camino v1.2.1
Compiling either v1.15.0
Compiling pin-project-lite v0.2.16
Compiling bytes v1.10.1
Compiling fnv v1.0.7
Compiling ryu v1.0.20
Compiling bumpalo v3.19.0
Compiling same-file v1.0.6
Compiling futures-core v0.3.31
Compiling futures-io v0.3.31
Compiling lazy_static v1.5.0
Compiling simd-adler32 v0.3.7
Compiling zip v2.4.2
Compiling subtle v2.6.1
Compiling fastrand v2.3.0
Compiling parking v2.2.1
Compiling hashbrown v0.12.3
Compiling time-core v0.1.6
Compiling rustversion v1.0.22
Compiling idna_adapter v1.2.1
Compiling num-conv v0.1.0
Compiling futures-lite v2.6.1
Compiling idna v1.1.0
Compiling time v0.3.44
Compiling http v1.3.1
Compiling zopfli v0.8.2
Compiling url v2.5.7
Compiling walkdir v2.5.0
Compiling toml_datetime v0.6.11
Compiling serde_spanned v0.6.9
Compiling globset v0.4.16
Compiling rand_chacha v0.3.1
Compiling webpki-roots v0.26.11
Compiling digest v0.10.7
Compiling chrono v0.4.42
Compiling lazy-regex v3.4.1
Compiling crossbeam-deque v0.8.6
Compiling bzip2 v0.5.2
Compiling lenient_semver_version_builder v0.4.2
Compiling cpufeatures v0.2.17
Compiling encoding_rs v0.8.35
Compiling home v0.5.11
Compiling winnow v0.7.13
Compiling toml_write v0.1.2
Compiling which v6.0.3
Compiling suppaftp v6.3.0
Compiling sha2 v0.10.9
Compiling lenient_semver_parser v0.4.2
Compiling ignore v0.4.23
Compiling java-properties v2.0.0
Compiling attohttpc v0.28.5
Compiling rand v0.8.5
Compiling toml_edit v0.22.27
Compiling envmnt v0.10.4
Compiling colored v2.2.0
Compiling cargo-platform v0.1.9
Compiling duckscript v0.10.0
Compiling num_cpus v1.17.0
Compiling dirs-sys-next v0.1.2
Compiling uname v0.1.1
Compiling vte v0.14.1
Compiling heck v0.5.0
Compiling base64 v0.22.1
Compiling fixedbitset v0.5.7
Compiling glob v0.3.3
Compiling evalexpr v11.3.1
Compiling dispatch v0.2.0
Compiling whoami v1.6.1
Compiling fs_extra v1.3.0
Compiling ctrlc v3.5.0
Compiling petgraph v0.7.1
Compiling strum_macros v0.26.4
Compiling duckscriptsdk v0.11.1
Compiling toml v0.8.23
Compiling strip-ansi-escapes v0.2.1
Compiling dirs-next v2.0.0
Compiling cargo_metadata v0.19.2
Compiling ci_info v0.14.14
Compiling lenient_semver v0.4.2
Compiling itertools v0.14.0
Compiling run_script v0.11.0
Compiling shell2batch v0.4.5
Compiling serde_ignored v0.1.14
Compiling fern v0.7.1
Compiling git_info v0.1.3
Compiling colored v3.0.0
Compiling hex v0.4.3
Compiling cliparser v0.1.2
Compiling rust_info v0.3.3
Compiling cargo-make v0.37.24
Finished
releaseprofile [optimized] target(s) in 1m 36sReplacing /Users/singaludra/.cargo/bin/cargo-make
Replacing /Users/singaludra/.cargo/bin/makers
Replaced package
cargo-make v0.37.24withcargo-make v0.37.24(executablescargo-make,makers)AppFlowy : Installing duckscript.
Updating crates.io index
Installing duckscript_cli v0.11.1
Updating crates.io index
warning: package
zip v2.2.0in Cargo.lock is yanked in registrycrates-io, consider running without --lockedUpdating crates.io index
Compiling libc v0.2.159
Compiling proc-macro2 v1.0.87
Compiling cfg-if v1.0.0
Compiling unicode-ident v1.0.13
Compiling shlex v1.3.0
Compiling memchr v2.7.4
Compiling typenum v1.17.0
Compiling version_check v0.9.5
Compiling log v0.4.22
Compiling regex-syntax v0.8.5
Compiling cc v1.1.30
Compiling generic-array v0.14.7
Compiling aho-corasick v1.1.3
Compiling byteorder v1.5.0
Compiling quote v1.0.37
Compiling ring v0.17.8
Compiling syn v2.0.79
Compiling regex-automata v0.4.8
Compiling getrandom v0.2.15
Compiling pkg-config v0.3.31
Compiling tinyvec_macros v0.1.1
Compiling autocfg v1.4.0
Compiling crossbeam-utils v0.8.20
Compiling num-traits v0.2.19
Compiling bzip2-sys v0.1.11+1.0.8
Compiling tinyvec v1.8.0
Compiling rand_core v0.6.4
Compiling crc32fast v1.4.2
Compiling once_cell v1.20.2
Compiling thiserror v1.0.64
Compiling untrusted v0.9.0
Compiling rustls-pki-types v1.10.0
Compiling spin v0.9.8
Compiling adler2 v2.0.0
Compiling miniz_oxide v0.8.0
Compiling zerocopy-derive v0.7.35
Compiling thiserror-impl v1.0.64
Compiling zerocopy v0.7.35
Compiling regex v1.11.0
Compiling unicode-normalization v0.1.24
Compiling ppv-lite86 v0.2.20
Compiling rand_chacha v0.3.1
Compiling percent-encoding v2.3.1
Compiling itoa v1.0.11
Compiling rustix v0.38.37
Compiling core-foundation-sys v0.8.7
Compiling unicode-bidi v0.3.17
Compiling serde v1.0.210
Compiling rustls v0.22.4
Compiling powerfmt v0.2.0
Compiling deranged v0.3.11
Compiling idna v0.5.0
Compiling iana-time-zone v0.1.61
Compiling rustls-webpki v0.102.8
Compiling form_urlencoded v1.2.1
Compiling crossbeam-epoch v0.9.18
Compiling rand v0.8.5
Compiling lazy-regex-proc_macros v3.3.0
Compiling flate2 v1.0.34
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling errno v0.3.9
Compiling bstr v1.10.0
Compiling parking v2.2.1
Compiling lockfree-object-pool v0.1.6
Compiling bytes v1.7.2
Compiling serde_json v1.0.128
Compiling equivalent v1.0.1
Compiling hashbrown v0.15.0
Compiling zeroize v1.8.1
Compiling subtle v2.6.1
Compiling same-file v1.0.6
Compiling fastrand v2.1.1
Compiling fnv v1.0.7
Compiling time-core v0.1.2
Compiling bitflags v2.6.0
Compiling simd-adler32 v0.3.7
Compiling pin-project-lite v0.2.14
Compiling bumpalo v3.16.0
Compiling semver v1.0.23
Compiling num-conv v0.1.0
Compiling lazy_static v1.5.0
Compiling futures-core v0.3.31
Compiling futures-io v0.3.31
Compiling zip v2.2.0
Compiling futures-lite v2.3.0
Compiling time v0.3.36
Compiling indexmap v2.6.0
Compiling zopfli v0.8.1
Compiling http v1.1.0
Compiling walkdir v2.5.0
Compiling globset v0.4.15
Compiling digest v0.10.7
Compiling lazy-regex v3.3.0
Compiling fsio v0.4.0
Compiling chrono v0.4.38
Compiling crossbeam-deque v0.8.5
Compiling url v2.5.2
Compiling bzip2 v0.4.4
Compiling displaydoc v0.2.5
Compiling webpki-roots v0.26.6
Compiling cpufeatures v0.2.14
Compiling encoding_rs v0.8.34
Compiling either v1.13.0
Compiling ryu v1.0.18
Compiling home v0.5.9
Compiling which v6.0.3
Compiling java-properties v2.0.0
Compiling suppaftp v6.0.3
Compiling sha2 v0.10.8
Compiling attohttpc v0.28.0
Compiling ignore v0.4.23
Compiling duckscript v0.10.0
Compiling colored v2.1.0
Compiling uname v0.1.1
Compiling num_cpus v1.16.0
Compiling heck v0.5.0
Compiling whoami v1.5.2
Compiling fs_extra v1.3.0
Compiling glob v0.3.1
Compiling evalexpr v11.3.1
Compiling base64 v0.22.1
Compiling duckscriptsdk v0.11.1
Compiling duckscript_cli v0.11.1
Finished
releaseprofile [optimized] target(s) in 29.05sReplacing /Users/singaludra/.cargo/bin/duck
Replaced package
duckscript_cli v0.11.1withduckscript_cli v0.11.1(executableduck)AppFlowy : Checking prerequisites.
[cargo-make] INFO - cargo make 0.37.24
[cargo-make] INFO -
[cargo-make] INFO - Project: dart-ffi
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: appflowy-flutter-deps-tools
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Execute Command: "cargo" "make" "--disable-check-for-updates" "--no-on-error" "--loglevel=info" "--profile=development" "--makefile" "/Users/singaludra/FlutterProjects/work/AppFlowy/frontend/Makefile.toml" "appflowy-flutter-deps-tools"
[cargo-make][1] INFO -
[cargo-make][1] INFO - Project: dart-ffi
[cargo-make][1] INFO - Build File: /Users/singaludra/FlutterProjects/work/AppFlowy/frontend/Makefile.toml
[cargo-make][1] INFO - Task: appflowy-flutter-deps-tools
[cargo-make][1] INFO - Profile: development
[cargo-make][1] INFO - Running Task: install_targets
info: component 'rust-std' for target 'x86_64-apple-darwin' is up to date
info: component 'rust-std' for target 'aarch64-apple-darwin' is up to date
/Users/singaludra/.pub-cache/bin/protoc-gen-dart
[cargo-make][1] INFO - Skipping Task: install_flutter_protobuf
[cargo-make][1] INFO - Build Done in 0.39 seconds.
[cargo-make] INFO - Build Done in 0.78 seconds.
Expected Behavior
protobuf succesfully generated
Operating System
MacOs
AppFlowy Version(s)
0.9.9
Screenshots
No response
Additional Context
No response
@ChiragKr04 commented on GitHub (Sep 30, 2025):
What
protoc_pluginversion you are using?@dimasaryamurdiyan commented on GitHub (Sep 30, 2025):
currently using
22.4.0. Previousely I'm using21.1.2but got the same issue.Currently got error on _initByValueList too @ChiragKr04
@ChiragKr04 commented on GitHub (Sep 30, 2025):
I encountered the same issue I ran this
dart pub global activate protoc_plugin 21.1.2and then I did the normal build command, it worked for me.No idea in your case.
@dimasaryamurdiyan commented on GitHub (Oct 1, 2025):
It solved now, I restarted my IDE, and try using
21.1.2again, Thanks @ChiragKr04