bloop
bloop copied to clipboard
build from source failed
Describe the bug
i build the oss branch on a macbook, just run npm run build-app
Expected behavior no error occured when compile
To Reproduce How can we reproduce the bug? Helpful information could include:
- Details about your system
- The data that you had indexed
- The query that you ran
Screenshots or output If applicable, add screenshots to help illustrate the bug.
Additional context
error[E0425]: cannot find value language in crate tree_sitter_php
--> server/bleep/src/intelligence/language/php/mod.rs:6:31
|
6 | grammar: tree_sitter_php::language,
| ^^^^^^^^ not found in tree_sitter_php
|
help: consider importing one of these items
|
1 + use tree_sitter_COBOL::language;
|
1 + use tree_sitter_c::language;
|
1 + use tree_sitter_c_sharp::language;
|
1 + use tree_sitter_cpp::language;
|
and 8 other candidates
help: if you import language, refer to it directly
|
6 - grammar: tree_sitter_php::language,
6 + grammar: language,
|
warning: external crate zstd_sys unused in bleep: remove the dependency or add use zstd_sys as _;
|
note: the lint level is defined here
--> server/bleep/src/lib.rs:10:9
|
10 | #![warn(unused_crate_dependencies)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated method qdrant_client::client::QdrantClient::has_collection: Please use collection_exists instead
--> server/bleep/src/semantic.rs:209:22
|
209 | match qdrant.has_collection(&config.collection_name).await {
| ^^^^^^^^^^^^^^
|
= note: #[warn(deprecated)] on by default
warning: use of deprecated method qdrant_client::client::QdrantClient::has_collection: Please use collection_exists instead
--> server/bleep/src/semantic.rs:275:22
|
275 | .has_collection(&self.config.collection_name)
| ^^^^^^^^^^^^^^
error[E0061]: this method takes 4 arguments but 3 arguments were supplied
--> server/bleep/src/semantic.rs:696:14
|
696 | .delete_points(&self.config.collection_name, &selector, None)
| ^^^^^^^^^^^^^-----------------------------------------------
| | | |
| | | expected &PointsSelector, found std::option::Option<_>
| | expected std::option::Option<std::vec::Vec<qdrant_client::qdrant::shard_key::Key>>, found &_
| an argument of type std::option::Option<WriteOrdering> is missing
|
note: method defined here
--> /Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/qdrant-client-1.9.0/src/client.rs:1407:18
|
1407 | pub async fn delete_points(
| ^^^^^^^^^^^^^
help: did you mean
|
696 | .delete_points(&self.config.collection_name, None, &selector, /* std::option::Option<WriteOrdering> */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0061]: this method takes 4 arguments but 3 arguments were supplied
--> server/bleep/src/cache.rs:332:18
|
332 | .upsert_points(self.semantic.collection_name(), new_points, None)
| ^^^^^^^^^^^^^---------------------------------------------------
| | | |
| | | expected std::vec::Vec<PointStruct>, found std::option::Option<_>
| | expected std::option::Option<std::vec::Vec<qdrant_client::qdrant::shard_key::Key>>, found std::vec::Vec<PointStruct>
| an argument of type std::option::Option<WriteOrdering> is missing
|
note: method defined here
--> /Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/qdrant-client-1.9.0/src/client.rs:891:18
|
891 | pub async fn upsert_points(
| ^^^^^^^^^^^^^
help: did you mean
|
332 | .upsert_points(self.semantic.collection_name(), None, new_points, /* std::option::Option<WriteOrdering> */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0061]: this method takes 6 arguments but 4 arguments were supplied
--> server/bleep/src/cache.rs:724:22
|
724 | .set_payload(semantic.collection_name(), &id, payload, None)
| ^^^^^^^^^^^------------------------------------------------
| | |
| | an argument of type std::option::Option<std::vec::Vec<qdrant_client::qdrant::shard_key::Key>> is missing
| an argument of type std::option::Option<WriteOrdering> is missing
|
note: method defined here
--> /Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/qdrant-client-1.9.0/src/client.rs:1043:18
|
1043 | pub async fn set_payload(
| ^^^^^^^^^^^
help: provide the arguments
|
724 | .set_payload(semantic.collection_name(), /* std::option::Option<std::vec::Vec<qdrant_client::qdrant::shard_key::Key>> /, &id, payload, None, / std::option::Option<WriteOrdering> */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0061]: this method takes 4 arguments but 3 arguments were supplied
--> server/bleep/src/cache.rs:669:18
|
669 | .delete_points(
| ^^^^^^^^^^^^^-
670 | | self.semantic.collection_name(),
671 | |/ &to_delete
672 | || .into_iter()
673 | || .map(PointId::from)
674 | || .collect::<Vec<>>()
675 | || .into(),
| ||- expected std::option::Option<std::vec::Vec<qdrant_client::qdrant::shard_key::Key>>, found &_
676 | | None,
| | ---- expected &PointsSelector, found std::option::Option<_>
677 | | )
| |____- an argument of type std::option::Option<WriteOrdering> is missing
|
note: method defined here
--> /Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/qdrant-client-1.9.0/src/client.rs:1407:18
|
1407 | pub async fn delete_points(
| ^^^^^^^^^^^^^
help: did you mean
|
669 ~ .delete_points(self.semantic.collection_name(), None, &to_delete
670 + .into_iter()
671 + .map(PointId::from)
672 + .collect::<Vec<>>()
673 + .into(), /* std::option::Option<WriteOrdering> */)
|
warning: use of deprecated associated function chrono::NaiveDateTime::from_timestamp_opt: use DateTime::from_timestamp instead
--> server/bleep/src/webserver/repos.rs:135:41
|
135 | last_update: NaiveDateTime::from_timestamp_opt(repo.last_commit_unix_secs, 0)
| ^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function chrono::NaiveDateTime::from_timestamp_opt: use DateTime::from_timestamp instead
--> server/bleep/src/webserver/repos.rs:142:36
|
142 | NaiveDateTime::from_timestamp_opt(other as i64, 0)
| ^^^^^^^^^^^^^^^^^^
Some errors have detailed explanations: E0061, E0425.
For more information about an error, try rustc --explain E0061.
warning: bleep (lib) generated 5 warnings
error: could not compile bleep (lib) due to 5 previous errors; 5 warnings emitted
Error [tauri_cli_node] failed to build app: failed to build app