You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SusStew opened this issue
May 21, 2024
· 2 comments
Labels
bugSomething doesn't work as expectedfixed in sourceBug has been fixed in source-code, but has not been released yetpriorityI'm working on it, or will be soon
When attempting to install Ferium using Cargo that I installed using the script from rustup.rs, I receive the following error message near the end of the installation steps:
Compiling libium v1.26.2
error[E0432]: unresolved import `ferinth::structures::version::Hashes`
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libium-1.26.2/src/modpack/modrinth/structs.rs:1:57
|
1 | use ferinth::structures::{project::ProjectSupportRange, version::Hashes, Int};
| ^^^^^^^^^------
| | |
| | help: a similar name exists in the module: `Hash`
| no `Hashes` in `structures::version`
error[E0308]: mismatched types
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libium-1.26.2/src/add.rs:36:47
|
36 | if Some(StatusCode::NOT_FOUND) == source.status() {
| ^^^^^^^^^^^^^^^ expected `StatusCode`, found `http::status::StatusCode`
|
= note: `http::status::StatusCode` and `StatusCode` have similar names, but are actually distinct types
note: `http::status::StatusCode` is defined in crate `http`
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/status.rs:45:1
|
45 | pub struct StatusCode(NonZeroU16);
| ^^^^^^^^^^^^^^^^^^^^^
note: `StatusCode` is defined in crate `http`
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/status.rs:45:1
|
45 | pub struct StatusCode(NonZeroU16);
| ^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `http` are being used?
error[E0308]: mismatched types
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libium-1.26.2/src/add.rs:50:47
|
50 | if Some(StatusCode::NOT_FOUND) == source.status() {
| ^^^^^^^^^^^^^^^ expected `StatusCode`, found `http::status::StatusCode`
|
= note: `http::status::StatusCode` and `StatusCode` have similar names, but are actually distinct types
note: `http::status::StatusCode` is defined in crate `http`
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/status.rs:45:1
|
45 | pub struct StatusCode(NonZeroU16);
| ^^^^^^^^^^^^^^^^^^^^^
note: `StatusCode` is defined in crate `http`
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/status.rs:45:1
|
45 | pub struct StatusCode(NonZeroU16);
| ^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `http` are being used?
error[E0308]: mismatched types
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libium-1.26.2/src/modpack/add.rs:26:47
|
26 | if Some(StatusCode::NOT_FOUND) == source.status() {
| ^^^^^^^^^^^^^^^ expected `StatusCode`, found `http::status::StatusCode`
|
= note: `http::status::StatusCode` and `StatusCode` have similar names, but are actually distinct types
note: `http::status::StatusCode` is defined in crate `http`
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/status.rs:45:1
|
45 | pub struct StatusCode(NonZeroU16);
| ^^^^^^^^^^^^^^^^^^^^^
note: `StatusCode` is defined in crate `http`
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/status.rs:45:1
|
45 | pub struct StatusCode(NonZeroU16);
| ^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `http` are being used?
error[E0308]: mismatched types
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libium-1.26.2/src/modpack/add.rs:40:47
|
40 | if Some(StatusCode::NOT_FOUND) == source.status() {
| ^^^^^^^^^^^^^^^ expected `StatusCode`, found `http::status::StatusCode`
|
= note: `http::status::StatusCode` and `StatusCode` have similar names, but are actually distinct types
note: `http::status::StatusCode` is defined in crate `http`
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/status.rs:45:1
|
45 | pub struct StatusCode(NonZeroU16);
| ^^^^^^^^^^^^^^^^^^^^^
note: `StatusCode` is defined in crate `http`
--> /home/azureuser/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/status.rs:45:1
|
45 | pub struct StatusCode(NonZeroU16);
| ^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `http` are being used?
Some errors have detailed explanations: E0308, E0432.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `libium` (lib) due to 5 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `ferium v4.5.2`, intermediate artifacts can be found at `/tmp/cargo-install1iboZk`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
I previously had Ferium installed using Pacstall, but since its version is outdated, I decided to install it using Cargo instead.
Steps to reproduce
No response
Operating System
Linux
Are you using the latest version of ferium?
I am using the latest version of ferium
Additional Information
No response
The text was updated successfully, but these errors were encountered:
The problem is I accidentally published a libium version that was technically a work in progress. In an attempt to 'fix' things it seems I've made them even worse:
error: could not compile `ferium` (bin "ferium") due to 17 previous errors
Anyways I'll release a new version probably tomorrow to fix things and sync up ferium with libium once again.
bugSomething doesn't work as expectedfixed in sourceBug has been fixed in source-code, but has not been released yetpriorityI'm working on it, or will be soon
Description
When attempting to install Ferium using Cargo that I installed using the script from rustup.rs, I receive the following error message near the end of the installation steps:
I previously had Ferium installed using Pacstall, but since its version is outdated, I decided to install it using Cargo instead.
Steps to reproduce
No response
Operating System
Linux
Are you using the latest version of ferium?
Additional Information
No response
The text was updated successfully, but these errors were encountered: