You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by li...@apache.org on 2025/02/25 09:41:17 UTC

(iceberg-rust) branch main updated: fix: fix version of mechete (#1006)

This is an automated email from the ASF dual-hosted git repository.

liurenjie1024 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new 7d71e47a fix: fix version of mechete (#1006)
7d71e47a is described below

commit 7d71e47a1d070e327eb7b9b42e699f9a8a82304a
Author: ZENOTME <43...@users.noreply.github.com>
AuthorDate: Tue Feb 25 17:41:11 2025 +0800

    fix: fix version of mechete (#1006)
    
    cargo-machete just released 0.8.0 and it needs new rust version. This PR
    fix it.
    
    ```
    error: failed to download `cargo-machete v0.8.0`
    
    Caused by:
      unable to get packages from source
    
    Caused by:
      failed to parse manifest at `/Users/ze/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-machete-0.8.0/Cargo.toml`
    
    Caused by:
      feature `edition2024` is required
    
      The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.81.0-nightly (b1feb75d0 2024-06-07)).
      Consider trying a more recent nightly release.
      See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.
    make: *** [install-cargo-machete] Error 101
    ```
    
    Co-authored-by: ZENOTME <st...@gmail.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index fc8a52e5..52543720 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ cargo-sort: install-cargo-sort
 	cargo sort -c -w
 
 install-cargo-machete:
-	cargo install cargo-machete
+	cargo install cargo-machete@0.7.0
 
 cargo-machete: install-cargo-machete
 	cargo machete