Repository navigation
postgresqlPackages.vectorchord: update for rust 1.88.0 - #425811
Conversation
|
|
@wolfgangwalther somewhat related: do you know if there is a way for me to get notified when a package I maintain fails to build on hydra? |
|
I think there is no easy way - one of the many open things a lot of people would like to have. Some references:
Also related could be https://discourse.nixos.org/t/nixpkgs-update-notifier-subscribe-to-nixpkgs-update-build-errors/52554 |
|
For some reason, after doing error[E0599]: no method named `select_unpredictable` found for type `bool` in the current scope
--> crates/simd/src/rotate.rs:40:60
|
40 | slice[i][j] ^= ((bits[i] & (1 << j)) != 0).select_unpredictable(0x80000000, 0);
| ^^^^^^^^^^^^^^^^^^^^ method not found in `bool`
error[E0599]: no method named `select_unpredictable` found for type `bool` in the current scope
--> crates/simd/src/rotate.rs:44:57
|
44 | remainder[j] ^= ((bits[n] & (1 << j)) != 0).select_unpredictable(0x80000000, 0);
| ^^^^^^^^^^^^^^^^^^^^ method not found in `bool`
For more information about this error, try `rustc --explain E0599`.
warning: `simd` (lib) generated 2 warnings
error: could not compile `simd` (lib) due to 2 previous errors; 2 warnings emitted
warning: build failed, waiting for other jobs to finish...The only difference in my setup is that I'm using PostgreSQL from the stable Nixpkgs (25.05), while VectorChord is from the unstable channel, as it's not yet available in the stable release. But I don't think that this is related to this error. |
|
@sadorowo this PR hasn't reached nixos-unstable yet, you'll have to wait a few more days |
|
@sadorowo This PR fixes precisely this error. For now you can switch to master for this package |
Yeah I know, I just wasn't aware that we have to wait some time to get the PR merged to |
rustc was updated to 1.88.0 that includes changes from the rust-lang/rust#139726. Thus this patch is not needed anymore
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.