[INFO] fetching crate rust-ipmi 0.1.1... [INFO] testing rust-ipmi-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rust-ipmi 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rust-ipmi 0.1.1 [INFO] finished tweaking crates.io crate rust-ipmi 0.1.1 [INFO] tweaked toml for crates.io crate rust-ipmi 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-ipmi 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-ipmi 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4479b022fb5458a732e5ab603f723b8f6018a21c6b7367a1d2587b0bbefb0ccf [INFO] running `Command { std: "docker" "start" "-a" "4479b022fb5458a732e5ab603f723b8f6018a21c6b7367a1d2587b0bbefb0ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4479b022fb5458a732e5ab603f723b8f6018a21c6b7367a1d2587b0bbefb0ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4479b022fb5458a732e5ab603f723b8f6018a21c6b7367a1d2587b0bbefb0ccf", kill_on_drop: false }` [INFO] [stdout] 4479b022fb5458a732e5ab603f723b8f6018a21c6b7367a1d2587b0bbefb0ccf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3968bfd6beaaf7197d8d3c886ffe7088d3cfa046d76e805fef33e6f31b26620a [INFO] running `Command { std: "docker" "start" "-a" "3968bfd6beaaf7197d8d3c886ffe7088d3cfa046d76e805fef33e6f31b26620a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.73 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling thiserror v1.0.53 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling quote v1.0.34 [INFO] [stderr] Compiling syn v2.0.44 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.53 [INFO] [stderr] Compiling rust-ipmi v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/commands/app/channel.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct GetChannelAuthCapabilitiesResponse { [INFO] [stdout] | ---------------------------------- fields in this struct [INFO] [stdout] 77 | pub channel_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pub auth_version: AuthVersion, [INFO] [stdout] 79 | pub auth_type: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 80 | pub kg_status: KG, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 81 | pub per_message_auth: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | pub user_level_auth: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | pub anon_login: AnonLogin, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 84 | pub channel_extended_cap: AuthVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | pub oem_id: u32, // 3 bytes not 4 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | pub oem_aux_data: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetChannelAuthCapabilitiesResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `non_null_username`, `null_username`, and `anonymous_login` are never read [INFO] [stdout] --> src/commands/app/channel.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct AnonLogin { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | pub non_null_username: AnonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | pub null_username: AnonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 172 | pub anonymous_login: AnonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnonLogin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel_number` is never read [INFO] [stdout] --> src/commands/app/cipher.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct GetChannelCipherSuitesResponse { [INFO] [stdout] | ------------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub channel_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetChannelCipherSuitesResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetSessionChallengeRequest` is never constructed [INFO] [stdout] --> src/commands/app/session.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetSessionChallengeRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rq_lun` is never read [INFO] [stdout] --> src/parser/ipmi/payload/ipmi_payload_request.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IpmiPayloadRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub rq_lun: Lun, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpmiPayloadRequest` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_tag` is never read [INFO] [stdout] --> src/parser/rmcp_plus/rakp.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct RAKPMessage2 { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 101 | pub message_tag: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RAKPMessage2` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_tag` and `management_console_session_id` are never read [INFO] [stdout] --> src/parser/rmcp_plus/rakp.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct RAKPMessage4 { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 204 | pub message_tag: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 205 | pub rmcp_plus_status_code: StatusCode, [INFO] [stdout] 206 | pub management_console_session_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RAKPMessage4` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_tag`, `max_privilege`, `remote_console_session_id`, `authentication_algorithm`, `integrity_algorithm`, and `confidentiality_algorithm` are never read [INFO] [stdout] --> src/parser/rmcp_plus/rmcp_open_session.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct RMCPPlusOpenSessionResponse { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | pub message_tag: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 221 | pub rmcp_plus_status_code: StatusCode, [INFO] [stdout] 222 | pub max_privilege: Privilege, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 223 | pub remote_console_session_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 224 | pub managed_system_session_id: u32, [INFO] [stdout] 225 | pub authentication_algorithm: AuthAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 226 | pub integrity_algorithm: IntegrityAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | pub confidentiality_algorithm: ConfidentialityAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RMCPPlusOpenSessionResponse` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::array::::map` that must be used [INFO] [stdout] --> src/helpers/utils.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::array::::map` that must be used [INFO] [stdout] --> src/helpers/utils.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.82s [INFO] running `Command { std: "docker" "inspect" "3968bfd6beaaf7197d8d3c886ffe7088d3cfa046d76e805fef33e6f31b26620a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3968bfd6beaaf7197d8d3c886ffe7088d3cfa046d76e805fef33e6f31b26620a", kill_on_drop: false }` [INFO] [stdout] 3968bfd6beaaf7197d8d3c886ffe7088d3cfa046d76e805fef33e6f31b26620a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33ca55c6f8856718a0c9f3b01db78945b5fc05a5adae9e223ac741b463196125 [INFO] running `Command { std: "docker" "start" "-a" "33ca55c6f8856718a0c9f3b01db78945b5fc05a5adae9e223ac741b463196125", kill_on_drop: false }` [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/commands/app/channel.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct GetChannelAuthCapabilitiesResponse { [INFO] [stdout] | ---------------------------------- fields in this struct [INFO] [stdout] 77 | pub channel_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pub auth_version: AuthVersion, [INFO] [stdout] 79 | pub auth_type: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 80 | pub kg_status: KG, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 81 | pub per_message_auth: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | pub user_level_auth: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | pub anon_login: AnonLogin, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 84 | pub channel_extended_cap: AuthVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | pub oem_id: u32, // 3 bytes not 4 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | pub oem_aux_data: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetChannelAuthCapabilitiesResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `non_null_username`, `null_username`, and `anonymous_login` are never read [INFO] [stdout] --> src/commands/app/channel.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct AnonLogin { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | pub non_null_username: AnonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | pub null_username: AnonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 172 | pub anonymous_login: AnonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnonLogin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel_number` is never read [INFO] [stdout] --> src/commands/app/cipher.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct GetChannelCipherSuitesResponse { [INFO] [stdout] | ------------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub channel_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetChannelCipherSuitesResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetSessionChallengeRequest` is never constructed [INFO] [stdout] --> src/commands/app/session.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetSessionChallengeRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rq_lun` is never read [INFO] [stdout] --> src/parser/ipmi/payload/ipmi_payload_request.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IpmiPayloadRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub rq_lun: Lun, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpmiPayloadRequest` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_tag` is never read [INFO] [stdout] --> src/parser/rmcp_plus/rakp.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct RAKPMessage2 { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 101 | pub message_tag: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RAKPMessage2` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_tag` and `management_console_session_id` are never read [INFO] [stdout] --> src/parser/rmcp_plus/rakp.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct RAKPMessage4 { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 204 | pub message_tag: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 205 | pub rmcp_plus_status_code: StatusCode, [INFO] [stdout] 206 | pub management_console_session_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RAKPMessage4` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_tag`, `max_privilege`, `remote_console_session_id`, `authentication_algorithm`, `integrity_algorithm`, and `confidentiality_algorithm` are never read [INFO] [stdout] --> src/parser/rmcp_plus/rmcp_open_session.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct RMCPPlusOpenSessionResponse { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | pub message_tag: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 221 | pub rmcp_plus_status_code: StatusCode, [INFO] [stdout] 222 | pub max_privilege: Privilege, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 223 | pub remote_console_session_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 224 | pub managed_system_session_id: u32, [INFO] [stdout] 225 | pub authentication_algorithm: AuthAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 226 | pub integrity_algorithm: IntegrityAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | pub confidentiality_algorithm: ConfidentialityAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RMCPPlusOpenSessionResponse` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::array::::map` that must be used [INFO] [stdout] --> src/helpers/utils.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::array::::map` that must be used [INFO] [stdout] --> src/helpers/utils.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-ipmi v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/commands/app/channel.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct GetChannelAuthCapabilitiesResponse { [INFO] [stdout] | ---------------------------------- fields in this struct [INFO] [stdout] 77 | pub channel_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pub auth_version: AuthVersion, [INFO] [stdout] 79 | pub auth_type: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 80 | pub kg_status: KG, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 81 | pub per_message_auth: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | pub user_level_auth: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | pub anon_login: AnonLogin, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 84 | pub channel_extended_cap: AuthVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | pub oem_id: u32, // 3 bytes not 4 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | pub oem_aux_data: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetChannelAuthCapabilitiesResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `non_null_username`, `null_username`, and `anonymous_login` are never read [INFO] [stdout] --> src/commands/app/channel.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct AnonLogin { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | pub non_null_username: AnonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | pub null_username: AnonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 172 | pub anonymous_login: AnonStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnonLogin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel_number` is never read [INFO] [stdout] --> src/commands/app/cipher.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct GetChannelCipherSuitesResponse { [INFO] [stdout] | ------------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub channel_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetChannelCipherSuitesResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetSessionChallengeRequest` is never constructed [INFO] [stdout] --> src/commands/app/session.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetSessionChallengeRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rq_lun` is never read [INFO] [stdout] --> src/parser/ipmi/payload/ipmi_payload_request.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IpmiPayloadRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub rq_lun: Lun, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpmiPayloadRequest` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_tag` is never read [INFO] [stdout] --> src/parser/rmcp_plus/rakp.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct RAKPMessage2 { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 101 | pub message_tag: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RAKPMessage2` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_tag` and `management_console_session_id` are never read [INFO] [stdout] --> src/parser/rmcp_plus/rakp.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct RAKPMessage4 { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 204 | pub message_tag: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 205 | pub rmcp_plus_status_code: StatusCode, [INFO] [stdout] 206 | pub management_console_session_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RAKPMessage4` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_tag`, `max_privilege`, `remote_console_session_id`, `authentication_algorithm`, `integrity_algorithm`, and `confidentiality_algorithm` are never read [INFO] [stdout] --> src/parser/rmcp_plus/rmcp_open_session.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct RMCPPlusOpenSessionResponse { [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | pub message_tag: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 221 | pub rmcp_plus_status_code: StatusCode, [INFO] [stdout] 222 | pub max_privilege: Privilege, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 223 | pub remote_console_session_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 224 | pub managed_system_session_id: u32, [INFO] [stdout] 225 | pub authentication_algorithm: AuthAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 226 | pub integrity_algorithm: IntegrityAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | pub confidentiality_algorithm: ConfidentialityAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RMCPPlusOpenSessionResponse` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::array::::map` that must be used [INFO] [stdout] --> src/helpers/utils.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::array::::map` that must be used [INFO] [stdout] --> src/helpers/utils.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "33ca55c6f8856718a0c9f3b01db78945b5fc05a5adae9e223ac741b463196125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33ca55c6f8856718a0c9f3b01db78945b5fc05a5adae9e223ac741b463196125", kill_on_drop: false }` [INFO] [stdout] 33ca55c6f8856718a0c9f3b01db78945b5fc05a5adae9e223ac741b463196125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4e06a62cc03bcf43afb0037879b5f300716886422330f5e78cb482aa269a0b83 [INFO] running `Command { std: "docker" "start" "-a" "4e06a62cc03bcf43afb0037879b5f300716886422330f5e78cb482aa269a0b83", kill_on_drop: false }` [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/commands/app/channel.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 76 | pub struct GetChannelAuthCapabilitiesResponse { [INFO] [stderr] | ---------------------------------- fields in this struct [INFO] [stderr] 77 | pub channel_number: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 78 | pub auth_version: AuthVersion, [INFO] [stderr] 79 | pub auth_type: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 80 | pub kg_status: KG, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 81 | pub per_message_auth: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 82 | pub user_level_auth: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 83 | pub anon_login: AnonLogin, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 84 | pub channel_extended_cap: AuthVersion, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 85 | pub oem_id: u32, // 3 bytes not 4 [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 86 | pub oem_aux_data: u8, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GetChannelAuthCapabilitiesResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `non_null_username`, `null_username`, and `anonymous_login` are never read [INFO] [stderr] --> src/commands/app/channel.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 162 | pub struct AnonLogin { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 170 | pub non_null_username: AnonStatus, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 171 | pub null_username: AnonStatus, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 172 | pub anonymous_login: AnonStatus, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AnonLogin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `channel_number` is never read [INFO] [stderr] --> src/commands/app/cipher.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct GetChannelCipherSuitesResponse { [INFO] [stderr] | ------------------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 99 | pub channel_number: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GetChannelCipherSuitesResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `GetSessionChallengeRequest` is never constructed [INFO] [stderr] --> src/commands/app/session.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct GetSessionChallengeRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `rq_lun` is never read [INFO] [stderr] --> src/parser/ipmi/payload/ipmi_payload_request.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct IpmiPayloadRequest { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | pub rq_lun: Lun, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IpmiPayloadRequest` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `message_tag` is never read [INFO] [stderr] --> src/parser/rmcp_plus/rakp.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 100 | pub struct RAKPMessage2 { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 101 | pub message_tag: u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RAKPMessage2` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `message_tag` and `management_console_session_id` are never read [INFO] [stderr] --> src/parser/rmcp_plus/rakp.rs:204:9 [INFO] [stderr] | [INFO] [stderr] 203 | pub struct RAKPMessage4 { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 204 | pub message_tag: u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 205 | pub rmcp_plus_status_code: StatusCode, [INFO] [stderr] 206 | pub management_console_session_id: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RAKPMessage4` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `message_tag`, `max_privilege`, `remote_console_session_id`, `authentication_algorithm`, `integrity_algorithm`, and `confidentiality_algorithm` are never read [INFO] [stderr] --> src/parser/rmcp_plus/rmcp_open_session.rs:220:9 [INFO] [stderr] | [INFO] [stderr] 177 | pub struct RMCPPlusOpenSessionResponse { [INFO] [stderr] | --------------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 220 | pub message_tag: u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 221 | pub rmcp_plus_status_code: StatusCode, [INFO] [stderr] 222 | pub max_privilege: Privilege, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 223 | pub remote_console_session_id: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 224 | pub managed_system_session_id: u32, [INFO] [stderr] 225 | pub authentication_algorithm: AuthAlgorithm, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 226 | pub integrity_algorithm: IntegrityAlgorithm, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 227 | pub confidentiality_algorithm: ConfidentialityAlgorithm, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RMCPPlusOpenSessionResponse` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::array::::map` that must be used [INFO] [stderr] --> src/helpers/utils.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 85 | let _ = append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::array::::map` that must be used [INFO] [stderr] --> src/helpers/utils.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 89 | let _ = append.to_le_bytes().map(|byte| main_vec.push(byte)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `rust-ipmi` (lib) generated 10 warnings [INFO] [stderr] warning: `rust-ipmi` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_ipmi-1ef80fcd8538a6d5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_ipmi [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/ipmi_client.rs - ipmi_client::IPMIClient::establish_connection (line 130) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) - compile ... ok [INFO] [stdout] test src/ipmi_client.rs - ipmi_client::IPMIClient::send_raw_request (line 167) ... FAILED [INFO] [stdout] test src/ipmi_client.rs - ipmi_client::IPMIClient::set_read_timeout (line 109) ... FAILED [INFO] [stdout] test src/ipmi_client.rs - ipmi_client::IPMIClient::new (line 62) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ipmi_client.rs - ipmi_client::IPMIClient::establish_connection (line 130) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (61) panicked at src/ipmi_client.rs:9:6: [INFO] [stdout] Failed to connect to the server: ConnectToIPMIServer(Os { code: 101, kind: NetworkUnreachable, message: "Network is unreachable" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58caa706f692 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58caa706f692 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58caa706f692 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58caa706f692 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58caa707f56f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58caa707f56f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x58caa704b1d1 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58caa704b1d1 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x58caa7051c02 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x58caa705371c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x58caa7053576 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x58caa7053da5 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x58caa7053c3a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x58caa7051d39 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x58caa703fa9d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x58caa7083990 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x58caa7082ff6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 17: 0x58caa6fa5fc7 - core::result::Result::expect::h6105cee0dc383f85 [INFO] [stdout] 18: 0x58caa6fa6d2a - rust_out::main::_doctest_main_src_ipmi_client_rs_130_0::haedfa55d6c435a63 [INFO] [stdout] 19: 0x58caa6fa6cd6 - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 20: 0x58caa6fa5ae3 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 21: 0x58caa6fa5a16 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 22: 0x58caa6fa5269 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 23: 0x58caa704c850 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x58caa704c850 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x58caa704c850 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x58caa704c850 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x58caa704c850 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x58caa704c850 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x58caa704c850 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x58caa704c850 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58caa704c850 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x58caa6fa5251 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 33: 0x58caa6fa7685 - main [INFO] [stdout] 34: 0x7aa1066891ca - [INFO] [stdout] 35: 0x7aa10668928b - __libc_start_main [INFO] [stdout] 36: 0x58caa6fa4f15 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/ipmi_client.rs - ipmi_client::IPMIClient::send_raw_request (line 167) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rust_ipmi::Payload` [INFO] [stdout] --> src/ipmi_client.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_ipmi::{IPMIClient, Payload, IPMIClientError, Command, NetFn}; [INFO] [stdout] | ^^^^^^^ no `Payload` in the root [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ipmi_client.rs - ipmi_client::IPMIClient::set_read_timeout (line 109) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/ipmi_client.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 7 | let ipmi_server = "192.168.1.10:623" [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | let ipmi_client = IPMIClient::new(ipmi_server).expect("Failed to connect to the IPMI server"); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> src/ipmi_client.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 9 | ipmi_client.set_read_timeout(Some(time::Duration::from_secs(10))).expect("Failed to set the timeout"); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - ipmi_client.set_read_timeout(Some(time::Duration::from_secs(10))).expect("Failed to set the timeout"); [INFO] [stdout] 9 + ipmi_client.set_read_timeout(Some(Duration::from_secs(10))).expect("Failed to set the timeout"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0603]: module `ipmi_client` is private [INFO] [stdout] --> src/ipmi_client.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_ipmi::ipmi_client::IPMIClient; [INFO] [stdout] | ^^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `ipmi_client` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | mod ipmi_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ipmi_client.rs - ipmi_client::IPMIClient::new (line 62) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/ipmi_client.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 7 | let ipmi_server = "192.168.1.10:623" [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | let ipmi_client: Result = IPMIClient::new(ipmi_server) [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0603]: module `ipmi_client` is private [INFO] [stdout] --> src/ipmi_client.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_ipmi::ipmi_client::{IPMIClient, IPMIClientError}; [INFO] [stdout] | ^^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `ipmi_client` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | mod ipmi_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0603]: module `ipmi_client` is private [INFO] [stdout] --> src/ipmi_client.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_ipmi::ipmi_client::{IPMIClient, IPMIClientError}; [INFO] [stdout] | ^^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum instead: [INFO] [stdout] rust_ipmi::IPMIClientError [INFO] [stdout] --> src/ipmi_client.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_ipmi::ipmi_client::{IPMIClient, IPMIClientError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: the module `ipmi_client` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | mod ipmi_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/ipmi_client.rs - ipmi_client::IPMIClient::establish_connection (line 130) [INFO] [stdout] src/ipmi_client.rs - ipmi_client::IPMIClient::new (line 62) [INFO] [stdout] src/ipmi_client.rs - ipmi_client::IPMIClient::send_raw_request (line 167) [INFO] [stdout] src/ipmi_client.rs - ipmi_client::IPMIClient::set_read_timeout (line 109) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4e06a62cc03bcf43afb0037879b5f300716886422330f5e78cb482aa269a0b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e06a62cc03bcf43afb0037879b5f300716886422330f5e78cb482aa269a0b83", kill_on_drop: false }` [INFO] [stdout] 4e06a62cc03bcf43afb0037879b5f300716886422330f5e78cb482aa269a0b83