Skip to content

install patched pgrx failed #468

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

Closed
lij55 opened this issue Apr 18, 2024 · 4 comments
Closed

install patched pgrx failed #468

lij55 opened this issue Apr 18, 2024 · 4 comments
Assignees
Labels
type/question 🙋 Further information is requested

Comments

@lij55
Copy link

lij55 commented Apr 18, 2024

Hi,

I can't find the issue page from https://github.com/tensorchord/pgrx so I create the related issue here.

Below is the error that I hit while install patched pgrx by cargo install --git https://github.com/tensorchord/pgrx.git --branch v0.12.0-alpha.1-patch cargo-pgrx

error[E0658]: use of unstable library feature 'proc_macro_byte_character'
   --> /home/liyang/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.81/src/wrapper.rs:871:21
    |
871 |                     proc_macro::Literal::byte_character(byte)
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #115268 <https://github.com/rust-lang/rust/issues/115268> for more information
    = help: add `#![feature(proc_macro_byte_character)]` to the crate attributes to enable
    = note: this compiler was built on 2024-03-26; consider upgrading it if it is out of date

error[E0658]: use of unstable library feature 'proc_macro_c_str_literals'
   --> /home/liyang/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.81/src/wrapper.rs:898:21
    |
898 |                     proc_macro::Literal::c_string(string)
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #119750 <https://github.com/rust-lang/rust/issues/119750> for more information
    = help: add `#![feature(proc_macro_c_str_literals)]` to the crate attributes to enable
    = note: this compiler was built on 2024-03-26; consider upgrading it if it is out of date
@gaocegege gaocegege added the type/question 🙋 Further information is requested label Apr 18, 2024
@usamoi
Copy link
Collaborator

usamoi commented Apr 18, 2024

Did you try using --locked? It looks like a upstream issue.

@VoVAllen
Copy link
Member

Same problem at #466 (comment) cc @cutecutecat

@cutecutecat
Copy link
Member

cutecutecat commented Apr 18, 2024

Mostly, lock the version will solve your problem. If you don't like the lock, you can try rustup update to get a 2024-04-09 compiler.

@my-vegetable-has-exploded
Copy link
Contributor

my-vegetable-has-exploded commented Apr 19, 2024

I met same problem yesterday, It works for me to install pgrx using cargo install --force cargo-pgrx@=0.12.0-alpha.1 with nightly toolchain.

@lij55 lij55 closed this as completed Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question 🙋 Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants