Repository navigation
Closed
Description
I have the following error:
$ sudo pgxnclient install vchord
INFO: best version: vchord 1.1.1
INFO: saving /tmp/tmpjx5w99cj/vchord-1.1.1.zip
INFO: unpacking: /tmp/tmpjx5w99cj/vchord-1.1.1.zip
INFO: building extension
cargo run -p xtask -- build
Running `target/debug/xtask build`
Reading "./vchord.control"
Running "/usr/bin/pg_config"
Running "rustc" "--print" "cfg" "--target" "x86_64-unknown-linux-gnu"
Running "cargo" "metadata" "--format-version" "1"
Running PGRX_PG_CONFIG_PATH="/usr/bin/pg_config" "cargo" "rustc" "--crate-type" "cdylib" "-p" "vchord" "--lib" "--profile" "release" "--target" "x86_64-unknown-linux-gnu" "--features" "pg18"
...
Compiling bitvec v1.0.1
error[E0658]: use of unstable library feature `vec_deque_pop_if`
--> crates/index/src/prefetcher.rs:294:29
|
294 | let e = self.window.pop_front_if(move |x| predicate(x))?;
| ^^^^^^^^^^^^
|
= note: see issue #135889 <https://github.com/rust-lang/rust/issues/135889> for more information
For more information about this error, try `rustc --explain E0658`.
error: could not compile `index` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Building [====================> ] 275/321: pgrx-sql-entity-graph, syn, pgrx-pg-sys(build)
Error: "Cargo failed: exit status: 101"
gmake: *** [Makefile:12: build] Error 1
ERROR: command returned 2: gmake PG_CONFIG=/usr/bin/pg_config all
Ubuntu 24.04.5 LTS
$ pg_lsclusters
Ver Cluster Port Status Owner Data directory Log file
18 main 5432 online postgres /pgdata/18/main /var/log/postgresql/postgresql-18-main.log
$ pgxnclient --version
pgxnclient 1.3.2
$ rustup --version
rustup 1.28.1 (f9edccde0 2025-03-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active rustc version is rustc 1.85.1 (4eb161250 2025-03-15)
$ rustc --version
rustc 1.85.1 (4eb161250 2025-03-15)
Metadata
Metadata
Assignees
Labels
No labels
Activity
reopensoft commentedon Oct 22, 2026
I updated RUST and it works.