-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
Build failure: cargo-pgrx #320131
Comments
Its most likely a version issue. |
This seems to have been caused by an upgrade of rustc to 1.78 (from 1.77.2). I'll see if it can be patched in pgvecto.rs (or pgrx if that's the case).
|
Some more information I found:
I think the easiest fix here would be to patch pgvecto-rs to use Rust's crate instead of the fork, which should work fine. I'll still have to investigate whether there were any other changes to the |
@anoadragon453 Can you try my branch in PR #320302? Let me know on the PR if it works fine with Immich (perhaps backup first, but I don't think it should have problems). |
I was attempting to build
pgvecto-rs
0.2.1 which relies oncargo-pgrx
, and hit a build failure on e9ee548 (nixos-unstable via flakes). I addpgvecto-rs
to my system flake in this line.Steps To Reproduce
Steps to reproduce the behavior:
pgvectors-0.2.1
std_detect
crate while buildingcargo-pgrx
, whichpgvectors-0.2.1
relies on.Build log
Click to view logs
Additional context
I was able to build
pgvecto-rs
0.2.1 successfully in the past, and there hasn't been an update topgvecto-rs
orcargo-pgrx
recently, so I'm not sure why this is failing now. Perhaps I was relying on the build cache's copy ofcargo-pgrx
, and now I'm not?The error looks to be due to using an unstable rust library feature (
stdarch_x86_has_cpuid
) while not using a nightly rust compiler. Did the default rust compiler used to build packages change recently?Notify maintainers
cargo-pgrx maintainers:
pgvecto-rs maintainers:
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: