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
$ cargo build
Compiling heim-net v0.1.0-rc.1 (/root/jab/heim/heim-net)
Compiling heim-disk v0.1.0-rc.1 (/root/jab/heim/heim-disk)
error: multiple fields are never read
--> heim-net/src/sys/linux/counters.rs:17:5
|
11 | pub struct IoCounters {
| ---------- fields in this struct
...
17 | rx_fifo: u64,
| ^^^^^^^
18 | rx_frame: u64,
| ^^^^^^^^
19 | rx_compressed: u64,
| ^^^^^^^^^^^^^
20 | rx_multicast: u64,
| ^^^^^^^^^^^^
...
25 | tx_fifo: u64,
| ^^^^^^^
26 | tx_frame: u64,
| ^^^^^^^^
27 | tx_compressed: u64,
| ^^^^^^^^^^^^^
28 | tx_multicast: u64,
| ^^^^^^^^^^^^
|
= note: `IoCounters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
note: the lint level is defined here
--> heim-net/src/lib.rs:13:5
|
13 | dead_code,
| ^^^^^^^^^
error: could not compile `heim-net` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: fields `read_merged_count` and `write_merged_count` are never read
--> heim-disk/src/sys/linux/counters.rs:31:5
|
24 | pub struct IoCounters {
| ---------- fields in this struct
...
31 | read_merged_count: u64,
| ^^^^^^^^^^^^^^^^^
32 | write_merged_count: u64,
| ^^^^^^^^^^^^^^^^^^
|
= note: `IoCounters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
note: the lint level is defined here
--> heim-disk/src/lib.rs:13:5
|
13 | dead_code,
| ^^^^^^^^^
error: could not compile `heim-disk` (lib) due to 1 previous error
OS details
cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.8 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.8 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.8
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.8"
The text was updated successfully, but these errors were encountered:
jabir366
changed the title
Compilation error on RHEL8
Compilation error on RHEL8 on s390x
Mar 6, 2024
The cargo build is failing
OS details
The text was updated successfully, but these errors were encountered: