-
Notifications
You must be signed in to change notification settings - Fork 34
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
Cannot Compile Anymore #79
Comments
It's impossible to help you based on these information. You need to at least provide information about:
|
I apologize for the lack of information, did not even realize I did not post the error message.
error: couldn't read `C:\Users\daunt\dev\Protein\target\debug\build\pq-sys-4ddb3d56de9010e2\out/bindings.rs`: The system cannot find the path specified. (os error 3)
--> C:\Users\daunt\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\pq-sys-0.7.0\src\lib.rs:6:5
|
6 | include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info) |
That's surprising, given that we have a CI job that tests this for windows. Can you verify that the file |
In this case something very strange is going on at your system because |
Well, I do not have a |
You don't need a https://github.com/sgrif/pq-sys/blob/master/build.rs#L89-L119 |
from reading the documentation, will cargo set |
Again: Your crate does not matter for this, the compilation does not even reach your crate. The only thing that's required here is that |
I understand, so what can I do? |
Well given that this seems to be specific to your environment there is not much we can do this to solve the problem for you. You could try:
|
I think downgrading or dropping the dependency works, how would I drop |
|
I was thankfully able to do a git restore on |
very strange error though I will not lie, will have to investigate later. |
Updated to
diesel 2.2.8
and from then on I can no longer compile this module:rust
: rustup 1.28.1 (f9edccde0 2025-03-05)cargo
: cargo 1.87.0-nightly (ab1463d63 2025-03-08)please let me know if you need any other information.
The text was updated successfully, but these errors were encountered: