louis030195
louis0301954mo ago

already borrowed: BorrowMutError in deno runtime

/Users/louisbeaumont/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deno_core-0.283.0/runtime/op_driver/futures_unordered_driver.rs:307:22: already borrowed: BorrowMutError this is my deno code: https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-core/src/pipes.rs
GitHub
screenpipe/screenpipe-core/src/pipes.rs at main · mediar-ai/screenp...
Library to build personalized AI powered by what you've seen, said, or heard. Works with Ollama. Alternative to Rewind.ai. Open. Secure. You own your data. Rust. - mediar-ai/screenpipe
3 Replies
bartlomieju
bartlomieju4mo ago
Please upgrade to latest deno_core, this is quite and old version and the problem is most likely fixed already
louis030195
louis030195OP4mo ago
@bartlomieju thanks i never managed to use latest version because of this error: https://gist.github.com/louis030195/bdddcdacc0283831e43ab65e50f25b7b this is my code https://gist.github.com/louis030195/306a83241efaaa0c8c405c3087c5537c also very hard to find any docs on how to use deno runtime in rust i don't have this error when using 0.283 but it occurs on 0.307.0 nvm fixed (did not notice i had deno_core in build deps which was diff version) but still have this
bartlomieju
bartlomieju4mo ago
How can I reproduce this error you are getting? What command should I run?

Did you find this page helpful?