Skip to content

rustc 1.82.0 is required to build #272

@dzan-lab

Description

@dzan-lab

Error in dependencies:

~/ever-node# cargo build --release
     .....
      Adding zstd v0.11.2+zstd.1.5.2 (latest: v0.13.3)
      Adding zstd-safe v5.0.2+zstd.1.5.2 (latest: v7.2.4)
---INFO: RNODE build flags:  commit: e4068621a96d78969dd6df3087504d25b06fca6e Block version: 60 
error: rustc 1.81.0 is not supported by the following packages:                                
  backtrace@0.3.75 requires rustc 1.82.0
  icu_collections@2.0.0 requires rustc 1.82
  icu_locale_core@2.0.0 requires rustc 1.82
  icu_normalizer@2.0.0 requires rustc 1.82
  icu_normalizer_data@2.0.0 requires rustc 1.82 
  icu_normalizer_data@2.0.0 requires rustc 1.82 
  icu_normalizer_data@2.0.0 requires rustc 1.82 
  icu_properties@2.0.1 requires rustc 1.82
  icu_properties_data@2.0.1 requires rustc 1.82 
  icu_properties_data@2.0.1 requires rustc 1.82 
  icu_properties_data@2.0.1 requires rustc 1.82 
  icu_provider@2.0.0 requires rustc 1.82
  idna_adapter@1.2.1 requires rustc 1.82
  litemap@0.8.0 requires rustc 1.82
  zerotrie@0.2.2 requires rustc 1.82
  zerovec@0.11.2 requires rustc 1.82

Ubuntu 22.04

If set version 1.82.0 in /root/ever-node/rust-toolchain.toml this error is eliminated, but a new one appears:

   Compiling futures v0.3.31
   Compiling ton_api v0.4.29 (https://github.com/everx-labs/ever-tl.git?tag=0.4.29#56c1ca48)
error[E0425]: cannot find function, tuple struct or tuple variant `ZSTD_getDictID_fromCDict` in crate `zstd_sys`
    --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zstd-safe-5.0.2+zstd.1.5.2/src/lib.rs:1085:28
     |
1085 |         unsafe { zstd_sys::ZSTD_getDictID_fromCDict(self.0.as_ptr()) as u32 }
     |                            ^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `ZSTD_getDictID_fromDDict`
     |
    ::: /root/ever-node/target/release/build/zstd-sys-a36d36cbf1c49e0e/out/bindings.rs:511:5
     |
511  |     pub fn ZSTD_getDictID_fromDDict(ddict: *const ZSTD_DDict) -> ::core::ffi::c_uint;
     |     --------------------------------------------------------------------------------- similarly named function `ZSTD_getDictID_fromDDict` defined here

For more information about this error, try `rustc --explain E0425`.
error: could not compile `zstd-safe` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions