Opened 5 months ago

Last modified 7 weeks ago

#73331 assigned defect

cargo-c @0.10.18: error: failed to get `anyhow` as a dependency of package `cargo-c v0.10.18+cargo-0.92.0

Reported by: mrkapqa Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.11.6
Keywords: mavericks Cc: potmj (Michael Pot)
Port: cargo-c

Description

when doing "port upgrade outdated"

--->  Verifying checksums for cargo-c
--->  Extracting cargo-c
Error: Failed to extract cargo-c: command execution failed

thank you very much

Attachments (1)

cargo-c.log (473.6 KB) - added by mrkapqa 5 months ago.

Download all attachments as: .zip

Change History (6)

Changed 5 months ago by mrkapqa

Attachment: cargo-c.log added

comment:1 Changed 5 months ago by mrkapqa

:debug:extract Executing proc-post-org.macports.extract-extract-2
:debug:extract system -W /opt/local/var/macports/build/cargo-c-9f172ca6/work/cargo-c-0.10.18: /opt/local/bin/cargo --offline update
:info:extract error: failed to get `anyhow` as a dependency of package `cargo-c v0.10.18+cargo-0.92.0 (/opt/local/var/macports/build/cargo-c-9f172ca6/work/cargo-c-0.10.18)`
:info:extract Caused by:
:info:extract   failed to load source for dependency `anyhow`
:info:extract Caused by:
:info:extract   Unable to update registry `crates-io`
:info:extract Caused by:
:info:extract   failed to update replaced source registry `crates-io`
:info:extract Caused by:
:info:extract   failed to parse manifest at `/opt/local/var/macports/build/cargo-c-9f172ca6/work/.home/.cargo/macports/base64ct-1.8.0/Cargo.toml`
:info:extract Caused by:
:info:extract   feature `edition2024` is required
:info:extract   The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.78.0).
:info:extract   Consider trying a more recent nightly release.
:info:extract   See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.
:info:extract Command failed: /opt/local/bin/cargo --offline update
:info:extract Exit code: 101
:error:extract Failed to extract cargo-c: command execution failed
:debug:extract Error code: NONE
:debug:extract Backtrace: command execution failed
:debug:extract     while executing
:debug:extract "$post $targetname"

comment:2 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: (10.9) Error: Failed to extract cargo-c: command execution failedcargo-c @0.10.18: error: failed to get `anyhow` as a dependency of package `cargo-c v0.10.18+cargo-0.92.0

comment:3 Changed 2 months ago by potmj (Michael Pot)

Cc: potmj added

comment:4 Changed 7 weeks ago by rmottola (Riccardo)

I am on 10.7 Lion and see about the same:

Adding zlib-rs-0.5.2.crate to cargo home
error: failed to get `anyhow` as a dependency of package `cargo-c v0.10.18+cargo-0.92.0 (/opt/local/var/macports/build/cargo-c-9f172ca6/work/cargo-c-0.10.18)`

Caused by:
  failed to load source for dependency `anyhow`

Caused by:
  Unable to update registry `crates-io`

Caused by:
  failed to update replaced source registry `crates-io`

Caused by:
  failed to parse manifest at `/opt/local/var/macports/build/cargo-c-9f172ca6/work/.home/.cargo/macports/base64ct-1.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.78.0).
  Consider trying a more recent nightly release.

I suppose we have a too old version of cargo or with a feature not enabled? Does this come from a too old version of rust?

comment:5 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

The older version of rust that MacPorts makes available on these old systems does not have the "edition2024" feature that this software requires.

Note: See TracTickets for help on using tickets.