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
You provided a good solution to the problem I reported last time (sensor_id) and it was working for a while, but recently a change was made on amdsmi rust-interface, and a new error occurs when compiling rust-interface with cargo in the amdsmi component :
cargo build command line result in :
error[E0277]: the type`[&str]` cannot be indexed by `&str`
--> /usr/local/cargo/git/checkouts/amdsmi-2c8d59e6e37e072e/edd2268/rust-interface/src/amdsmi_wrapper.rs:1892:6
|
1892 | ["Offset of field: AmdsmiVersionT::major"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type`usize` or ranges of `usize`|
= help: the trait `SliceIndex<[&str]>` is not implemented for`&str`
= note: required for`[&str]` to implement `Index<&str>`
= note: 1 redundant requirement hidden
= note: required for`[&str; 1]` to implement `Index<&str>`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `amdsmi` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Operating System
Ubuntu GNU/Linux
CPU
13th Gen Intel(R) Core(TM) i5-1345U
GPU
N/A
ROCm Version
ROCm 6.3.3
ROCm Component
amdsmi
Steps to Reproduce
git clone https://github.com/ROCm/amdsmi.git
cd amdsmi/rust-interface
cargo build
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Problem Description
Hello again,
You provided a good solution to the problem I reported last time (sensor_id) and it was working for a while, but recently a change was made on amdsmi rust-interface, and a new error occurs when compiling rust-interface with cargo in the amdsmi component :
cargo build command line result in :
Operating System
Ubuntu GNU/Linux
CPU
13th Gen Intel(R) Core(TM) i5-1345U
GPU
N/A
ROCm Version
ROCm 6.3.3
ROCm Component
amdsmi
Steps to Reproduce
git clone https://github.com/ROCm/amdsmi.git cd amdsmi/rust-interface cargo build
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: