Skip to content

Recently installing plrust function fails with error (litemap@0.7.5 requires rustc 1.81) #421

Description

@sriselvaraj

The following is the error i am getting recently when i try ti install a PL/Rust based UDF. Could you please help me on how to resolve this issue?

test=# \i ~/Downloads/plrust.sql
psql:/Users/srinivasan/Downloads/plrust.sql:9: ERROR:
0: cargo build failed

Location:
/rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/convert/mod.rs:716

cargo build stderr:
Updating crates.io index
Locking 151 packages to latest compatible versions
Adding litemap v0.7.5 (requires Rust 1.81)
Adding pgrx v0.11.0 (available: v0.11.4)
Adding pgrx-macros v0.11.0 (available: v0.11.4)
Adding pgrx-pg-config v0.11.0 (available: v0.11.4)
Adding pgrx-pg-sys v0.11.0 (available: v0.11.4)
Adding pgrx-sql-entity-graph v0.11.0 (available: v0.11.4)
Adding zerofrom v0.1.6 (requires Rust 1.81)
error: rustc 1.72.0 is not supported by the following packages:
litemap@0.7.5 requires rustc 1.81
zerofrom@0.1.6 requires rustc 1.81
Either upgrade rustc or select compatible dependency versions with
cargo update <name>@<current-ver> --precise <compatible-ver>
where <compatible-ver> is the latest version supporting rustc 1.72.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions