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
Description:
I encountered an error while trying to use the "starship-battery" Rust library on an OpenBSD system. It appears that the library does not currently support OpenBSD. Below are the technical details of the error message:
Error Message:
error: Support for this target OS is not implemented yet!
You may want to create an issue: https://github.com/starship/rust-battery/issues/new
--> /home/vehementham/.cargo/registry/src/github.com-1ecc6299db9ec823/starship-battery-0.8.1/src/platform/mod.rs:27:9
|
27 | / compile_error!("Support for this target OS is not implemented yet!\n \
28 | | You may want to create an issue: https://github.com/starship/rust-battery/issues/new");
| |__________________________________________________________________________________________________^
error[E0432]: unresolved import `crate::platform::Device`
--> /home/vehementham/.cargo/registry/src/github.com-1ecc6299db9ec823/starship-battery-0.8.1/src/types/battery.rs:5:5
|
5 | use crate::platform::Device;
| ^^^^^^^^^^^^^^^^^^^^^^^ no `Device` in `platform`
error[E0432]: unresolved import `crate::platform::Iterator`
--> /home/vehementham/.cargo/registry/src/github.com-1ecc6299db9ec823/starship-battery-0.8.1/src/types/iterator.rs:3:5
|
3 | use crate::platform::Iterator as PlatformIterator;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Iterator` in `platform`
|
help: consider importing one of these items instead
|
3 | use core::iter::Iterator as PlatformIterator;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 | use std::iter::Iterator as PlatformIterator;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 | use uom::lib::iter::Iterator as PlatformIterator;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0432]: unresolved import `crate::platform::Iterator`
--> /home/vehementham/.cargo/registry/src/github.com-1ecc6299db9ec823/starship-battery-0.8.1/src/types/manager.rs:5:5
|
5 | use crate::platform::Iterator as PlatformIterator;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Iterator` in `platform`
|
help: consider importing one of these items instead
|
5 | use core::iter::Iterator as PlatformIterator;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 | use std::iter::Iterator as PlatformIterator;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 | use uom::lib::iter::Iterator as PlatformIterator;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0432]: unresolved import `crate::platform::Manager`
--> /home/vehementham/.cargo/registry/src/github.com-1ecc6299db9ec823/starship-battery-0.8.1/src/types/manager.rs:6:5
|
6 | use crate::platform::Manager as PlatformManager;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Manager` in `platform`
|
help: consider importing this struct instead
|
6 | use crate::Manager as PlatformManager;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0432`.
error: could not compile `starship-battery` due to 5 previous errors; 3 warnings emitted
warning: build failed, waiting for other jobs to finish...
error: failed to compile `starship v1.16.0`, intermediate artifacts can be found at `/tmp/cargo-installu6tL1f`
Environment:
Operating System: OpenBSD [Provide the specific version if possible]
Rust Compiler Version: [Provide the Rust version you're using]
"starship-battery" Version: [Specify the version of the library]
Steps to Reproduce:
Install Rust and Cargo on an OpenBSD system.
Create a Rust project that depends on "starship-battery."
Attempt to compile the project, resulting in the error mentioned above.
Expected Behavior:
I expected "starship-battery" to compile and work correctly on OpenBSD, as it does on other platforms.
Additional Information:
I am willing to assist in any way possible to help add support for OpenBSD to this library, including testing and providing further information about my system.
Description:
I encountered an error while trying to use the "starship-battery" Rust library on an OpenBSD system. It appears that the library does not currently support OpenBSD. Below are the technical details of the error message:
Error Message:
Environment:
Steps to Reproduce:
Expected Behavior:
I expected "starship-battery" to compile and work correctly on OpenBSD, as it does on other platforms.
Additional Information:
I am willing to assist in any way possible to help add support for OpenBSD to this library, including testing and providing further information about my system.
Links:
Please let me know if you need any additional information or clarification. Thank you for your attention to this matter.
The text was updated successfully, but these errors were encountered: