Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A can't install tokei

I am trying to install tokei in Ubuntu 24.04.3 LTS wsl machine. I ran: cargo install tokei And I got: Downloaded grep-matcher v0.1.8 error: failed to compile tokei v14.0.0, intermediate ar...

1 answer  ·  posted 8mo ago by programAngel‭  ·  edited 8mo ago by GeraldS‭

Question ubuntu wsl cargo rust
#3: Post edited by user avatar GeraldS‭ · 2026-01-21T13:52:04Z (8 months ago)
formatting, fixed some grammar, added relevant tags
can't install tokei
  • I am trying to install tokei in ubuntu 24.04.3 LTS wsl machine.
  • I run:
  • `cargo install tokei`
  • And I get:
  • ` Downloaded grep-matcher v0.1.8
  • error: failed to compile `tokei v14.0.0`, intermediate artifacts can be found at `/tmp/cargo-installJBFjRf`.
  • To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
  • Caused by:
  • failed to download replaced source registry `crates-io`
  • Caused by:
  • failed to parse manifest at `/home/oren/.cargo/registry/src/index.crates.io-6f17d22bba15001f/grep-matcher-0.1.8/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.75.0).
  • 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.`
  • How cab I solve it?
  • I am trying to install tokei in Ubuntu 24.04.3 LTS wsl machine.
  • I ran:
  • ```
  • cargo install tokei
  • ```
  • And I got:
  • > Downloaded grep-matcher v0.1.8
  • error: failed to compile `tokei v14.0.0`, intermediate artifacts can be found at `/tmp/cargo-installJBFjRf`.
  • To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
  • >
  • > Caused by:
  • failed to download replaced source registry `crates-io`
  • >
  • > Caused by:
  • failed to parse manifest at `/home/oren/.cargo/registry/src/index.crates.io-6f17d22bba15001f/grep-matcher-0.1.8/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.75.0).
  • 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.
  • How can I solve this?
#2: Post edited by user avatar programAngel‭ · 2026-01-19T14:15:37Z (8 months ago)
  • I am trying to install tokei in ubuntu 24.04.3 LTS wsl machine.
  • I run:
  • `cargo install tokei``
  • And I get:
  • ` Downloaded grep-matcher v0.1.8
  • error: failed to compile `tokei v14.0.0`, intermediate artifacts can be found at `/tmp/cargo-installJBFjRf`.
  • To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
  • Caused by:
  • failed to download replaced source registry `crates-io`
  • Caused by:
  • failed to parse manifest at `/home/oren/.cargo/registry/src/index.crates.io-6f17d22bba15001f/grep-matcher-0.1.8/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.75.0).
  • 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.`
  • How cab I solve it?
  • I am trying to install tokei in ubuntu 24.04.3 LTS wsl machine.
  • I run:
  • `cargo install tokei`
  • And I get:
  • ` Downloaded grep-matcher v0.1.8
  • error: failed to compile `tokei v14.0.0`, intermediate artifacts can be found at `/tmp/cargo-installJBFjRf`.
  • To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
  • Caused by:
  • failed to download replaced source registry `crates-io`
  • Caused by:
  • failed to parse manifest at `/home/oren/.cargo/registry/src/index.crates.io-6f17d22bba15001f/grep-matcher-0.1.8/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.75.0).
  • 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.`
  • How cab I solve it?
#1: Initial revision by user avatar programAngel‭ · 2026-01-19T14:15:06Z (8 months ago)
can't install tokei
I am trying to install tokei in ubuntu 24.04.3 LTS wsl machine.
I run:
`cargo install tokei``

And I get:
`  Downloaded grep-matcher v0.1.8
error: failed to compile `tokei v14.0.0`, intermediate artifacts can be found at `/tmp/cargo-installJBFjRf`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

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

Caused by:
  failed to parse manifest at `/home/oren/.cargo/registry/src/index.crates.io-6f17d22bba15001f/grep-matcher-0.1.8/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.75.0).
  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.`

How cab I solve it?