[INFO] fetching crate rust-ipmi 0.1.1... [INFO] testing rust-ipmi-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rust-ipmi 0.1.1 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-ipmi 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.34 [INFO] [stderr] Downloaded proc-macro2 v1.0.73 [INFO] [stderr] Downloaded thiserror-impl v1.0.53 [INFO] [stderr] Downloaded thiserror v1.0.53 [INFO] [stderr] Downloaded aes v0.8.3 [INFO] [stderr] Downloaded syn v2.0.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7178e04e2b5dd937b774a0e8abc6892ec515cf50db446d83ade2ef3367cbb5a [INFO] running `Command { std: "docker" "start" "-a" "b7178e04e2b5dd937b774a0e8abc6892ec515cf50db446d83ade2ef3367cbb5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7178e04e2b5dd937b774a0e8abc6892ec515cf50db446d83ade2ef3367cbb5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7178e04e2b5dd937b774a0e8abc6892ec515cf50db446d83ade2ef3367cbb5a", kill_on_drop: false }` [INFO] [stdout] b7178e04e2b5dd937b774a0e8abc6892ec515cf50db446d83ade2ef3367cbb5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7befbad4c1f753ea0c58fc5a243b128f1f5638a10e580e4efe60e8bbaf92a211 [INFO] running `Command { std: "docker" "start" "-a" "7befbad4c1f753ea0c58fc5a243b128f1f5638a10e580e4efe60e8bbaf92a211", 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 digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling quote v1.0.34 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.44 [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 11.53s [INFO] running `Command { std: "docker" "inspect" "7befbad4c1f753ea0c58fc5a243b128f1f5638a10e580e4efe60e8bbaf92a211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7befbad4c1f753ea0c58fc5a243b128f1f5638a10e580e4efe60e8bbaf92a211", kill_on_drop: false }` [INFO] [stdout] 7befbad4c1f753ea0c58fc5a243b128f1f5638a10e580e4efe60e8bbaf92a211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae97d22c1446625b4ab261e9c51f4a78ef8aa3ab60f91fed296f0d953520cc12 [INFO] running `Command { std: "docker" "start" "-a" "ae97d22c1446625b4ab261e9c51f4a78ef8aa3ab60f91fed296f0d953520cc12", 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.97s [INFO] running `Command { std: "docker" "inspect" "ae97d22c1446625b4ab261e9c51f4a78ef8aa3ab60f91fed296f0d953520cc12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae97d22c1446625b4ab261e9c51f4a78ef8aa3ab60f91fed296f0d953520cc12", kill_on_drop: false }` [INFO] [stdout] ae97d22c1446625b4ab261e9c51f4a78ef8aa3ab60f91fed296f0d953520cc12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4bf5baf69fe853d56bb7343cad8376a4fdc51035cf5d6f4b4623a64c7da3f18d [INFO] running `Command { std: "docker" "start" "-a" "4bf5baf69fe853d56bb7343cad8376a4fdc51035cf5d6f4b4623a64c7da3f18d", 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::send_raw_request (line 167) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) - compile ... ok [INFO] [stdout] test src/ipmi_client.rs - ipmi_client::IPMIClient::new (line 62) ... 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::establish_connection (line 130) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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::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] ---- 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::establish_connection (line 130) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (60) 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: 0x5780cede3882 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5780cede3882 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5780cede3882 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5780cede3882 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5780cedf374f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5780cedf374f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5780cedbf121 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5780cedbf121 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5780cedc5df2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5780cedc790c - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5780cedc7766 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5780cedc7f95 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5780cedc7e2a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5780cedc5f29 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5780cedb3c8d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5780cedf7b70 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x5780cedf71d6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 17: 0x5780ced1a027 - core::result::Result::expect::he414d568a2bf90a4 [INFO] [stdout] 18: 0x5780ced1ad8a - rust_out::main::_doctest_main_src_ipmi_client_rs_130_0::h4ef29e4dc114454f [INFO] [stdout] 19: 0x5780ced1ad36 - rust_out::main::h2c0b889d96022a4f [INFO] [stdout] 20: 0x5780ced19b43 - core::ops::function::FnOnce::call_once::h064b3222b538a73a [INFO] [stdout] 21: 0x5780ced19a76 - std::sys::backtrace::__rust_begin_short_backtrace::h5b0a4898ae968de4 [INFO] [stdout] 22: 0x5780ced192c9 - std::rt::lang_start::{{closure}}::h6185b2e9f14a2cbb [INFO] [stdout] 23: 0x5780cedc0a40 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x5780cedc0a40 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x5780cedc0a40 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x5780cedc0a40 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x5780cedc0a40 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x5780cedc0a40 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5780cedc0a40 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5780cedc0a40 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5780cedc0a40 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x5780ced192b1 - std::rt::lang_start::hc4342c866dfc26c3 [INFO] [stdout] 33: 0x5780ced1b6e5 - main [INFO] [stdout] 34: 0x7a429288e1ca - [INFO] [stdout] 35: 0x7a429288e28b - __libc_start_main [INFO] [stdout] 36: 0x5780ced18f75 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [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.63s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4bf5baf69fe853d56bb7343cad8376a4fdc51035cf5d6f4b4623a64c7da3f18d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bf5baf69fe853d56bb7343cad8376a4fdc51035cf5d6f4b4623a64c7da3f18d", kill_on_drop: false }` [INFO] [stdout] 4bf5baf69fe853d56bb7343cad8376a4fdc51035cf5d6f4b4623a64c7da3f18d