-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation fails with “attempted to communicate with a crashed background worker” #1642
Comments
The first error in the stack backtrace is the actual error. I suspect this is related to or a duplicate of #1515 |
Hey all, is there a solution to this problem?I think my query has the same problem although I absolutely do not understand which. I realized for my failed query that it compiles and runs fine using the |
It seems to be the left join that is not working as expected.
|
I ran into the same style of issue here (with a LEFT JOIN) rust-lang/rust#97067 |
I believe #1816 might have fixed this which is released as 0.6.0. If anyone can reproduce this crash on 0.6.0, please feel free to open a new issue. |
Under certain conditions an
sqlx::query!
macro causes a compilation error with the message “attempted to communicate with a crashed background worker” (see steps to reproduce below).Basic information
runtime-tokio-native-tls
,sqlite
, andmacros
sqlite3 --version
is3.37.0 2021-11-27 14:13:22 bd41822c7424d393a30e92ff6cb254d25c26769889c1499a18a0b9 f5dalt1
Steps to reproduce
First, create an SQLite database with the following schema using
sqlite3 test.db < schema.sql
:Then, et the
DATABASE_URL
environment variable:export DATABASE_URL=sqlite:test.db
Finally, try to compile the following code:
Compilation should fail with the following error message (or something similar):
The error message
The text was updated successfully, but these errors were encountered: