[INFO] cloning repository https://github.com/ayourtch/scarust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayourtch/scarust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fscarust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fscarust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb58b84cfc844297bedb13a4210a859d9f04c787 [INFO] testing ayourtch/scarust against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fscarust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ayourtch/scarust [INFO] finished tweaking git repo https://github.com/ayourtch/scarust [INFO] tweaked toml for git repo https://github.com/ayourtch/scarust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ayourtch/scarust 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding pcap-parser v0.14.1 (available: v0.17.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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 mac_address v1.1.8 [INFO] [stderr] Downloaded typetag v0.2.21 [INFO] [stderr] Downloaded linkme-impl v0.3.35 [INFO] [stderr] Downloaded pcap-parser v0.14.1 [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded des v0.8.1 [INFO] [stderr] Downloaded cfb-mode v0.8.2 [INFO] [stderr] Downloaded linkme v0.3.35 [INFO] [stderr] Downloaded circular v0.3.0 [INFO] [stderr] Downloaded generic-array v1.2.0 [INFO] [stderr] Downloaded typetag-impl v0.2.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ad5bd5215846c448374ca56beea21d4dfa7ef4bcd9d47f1aef67257fec4aba28 [INFO] running `Command { std: "docker" "start" "-a" "ad5bd5215846c448374ca56beea21d4dfa7ef4bcd9d47f1aef67257fec4aba28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad5bd5215846c448374ca56beea21d4dfa7ef4bcd9d47f1aef67257fec4aba28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad5bd5215846c448374ca56beea21d4dfa7ef4bcd9d47f1aef67257fec4aba28", kill_on_drop: false }` [INFO] [stdout] ad5bd5215846c448374ca56beea21d4dfa7ef4bcd9d47f1aef67257fec4aba28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 285cce8d683337882cf2eaff0ae89f76051182a2bf3d0a5d8b1f2e09d47db9fc [INFO] running `Command { std: "docker" "start" "-a" "285cce8d683337882cf2eaff0ae89f76051182a2bf3d0a5d8b1f2e09d47db9fc", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling linkme-impl v0.3.35 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling typetag v0.2.21 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling linkme v0.3.35 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling cfb-mode v0.8.2 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling mac_address v1.1.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling typetag-impl v0.2.21 [INFO] [stderr] Compiling oside-derive v0.1.0 (/opt/rustwide/workdir/oside-derive) [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling generic-array v1.2.0 [INFO] [stderr] Compiling oside v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/protocols/udp.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] 95 + for i in my_index + 1..encoded_data.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/protocols/udp.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] 112 + for i in my_index + 1..encoded_data.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/protocols/pvti.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | panic!("FIXME"); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 25 | self.data.to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/protocols/pvti.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | panic!("FIXME"); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 92 | / for chunk in &my_layer.chunks { [INFO] [stdout] 93 | | result.extend(chunk.encode::()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/oside_snmp_session.rs:884:24 [INFO] [stdout] | [INFO] [stdout] 884 | if let SnmpGetResponse(resp) = snmp_response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1809:13 [INFO] [stdout] | [INFO] [stdout] 1809 | field_length += 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `offset` is never read [INFO] [stdout] --> src/protocols/dot11.rs:2642:9 [INFO] [stdout] | [INFO] [stdout] 2642 | offset += dot11_offset; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:3896:13 [INFO] [stdout] | [INFO] [stdout] 3533 | 127 => { [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 3896 | 127 => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:3984:13 [INFO] [stdout] | [INFO] [stdout] 3618 | 255 => { [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 3984 | 255 => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:4199:13 [INFO] [stdout] | [INFO] [stdout] 4119 | ParsedElement::ExtendedCapabilities(capabilities) => { [INFO] [stdout] | ------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 4199 | ParsedElement::ExtendedCapabilities(ec) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:4402:13 [INFO] [stdout] | [INFO] [stdout] 4132 | ParsedElement::Unknown(element) => { [INFO] [stdout] | ------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 4402 | ParsedElement::Unknown(element) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_raw_usm_params` is never used [INFO] [stdout] --> src/oside_snmp_session.rs:667:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl OsideSnmpSession { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 667 | fn parse_raw_usm_params(&self, raw_data: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_frame_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2026:4 [INFO] [stdout] | [INFO] [stdout] 2026 | fn encode_frame_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_seq_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2047:4 [INFO] [stdout] | [INFO] [stdout] 2047 | fn encode_seq_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_radiotap_length` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2247:4 [INFO] [stdout] | [INFO] [stdout] 2247 | fn encode_radiotap_length( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_radiotap_present` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2265:4 [INFO] [stdout] | [INFO] [stdout] 2265 | fn encode_radiotap_present( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_qos_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2789:4 [INFO] [stdout] | [INFO] [stdout] 2789 | fn encode_qos_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_ht_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2818:4 [INFO] [stdout] | [INFO] [stdout] 2818 | fn encode_ht_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_capabilities` is never used [INFO] [stdout] --> src/protocols/dot11.rs:3323:4 [INFO] [stdout] | [INFO] [stdout] 3323 | fn encode_capabilities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_option_value` is never used [INFO] [stdout] --> src/protocols/dot11.rs:5065:4 [INFO] [stdout] | [INFO] [stdout] 5065 | fn decode_option_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_generic_asn1` is never used [INFO] [stdout] --> src/protocols/snmp.rs:3364:4 [INFO] [stdout] | [INFO] [stdout] 3364 | fn decode_generic_asn1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_generic_asn1` is never used [INFO] [stdout] --> src/protocols/snmp.rs:3392:4 [INFO] [stdout] | [INFO] [stdout] 3392 | fn encode_generic_asn1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(PartialEq, Clone, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 230 | Func(fn() -> T), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.22s [INFO] running `Command { std: "docker" "inspect" "285cce8d683337882cf2eaff0ae89f76051182a2bf3d0a5d8b1f2e09d47db9fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285cce8d683337882cf2eaff0ae89f76051182a2bf3d0a5d8b1f2e09d47db9fc", kill_on_drop: false }` [INFO] [stdout] 285cce8d683337882cf2eaff0ae89f76051182a2bf3d0a5d8b1f2e09d47db9fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 345767cb4438804e81b02cb288f7cc9af7b79a4ea6aa55dd55b31812380ce490 [INFO] running `Command { std: "docker" "start" "-a" "345767cb4438804e81b02cb288f7cc9af7b79a4ea6aa55dd55b31812380ce490", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling circular v0.3.0 [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/protocols/udp.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] 95 + for i in my_index + 1..encoded_data.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/protocols/udp.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] 112 + for i in my_index + 1..encoded_data.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/protocols/pvti.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | panic!("FIXME"); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 25 | self.data.to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/protocols/pvti.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | panic!("FIXME"); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 92 | / for chunk in &my_layer.chunks { [INFO] [stdout] 93 | | result.extend(chunk.encode::()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/oside_snmp_session.rs:884:24 [INFO] [stdout] | [INFO] [stdout] 884 | if let SnmpGetResponse(resp) = snmp_response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1809:13 [INFO] [stdout] | [INFO] [stdout] 1809 | field_length += 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `offset` is never read [INFO] [stdout] --> src/protocols/dot11.rs:2642:9 [INFO] [stdout] | [INFO] [stdout] 2642 | offset += dot11_offset; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:3896:13 [INFO] [stdout] | [INFO] [stdout] 3533 | 127 => { [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 3896 | 127 => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:3984:13 [INFO] [stdout] | [INFO] [stdout] 3618 | 255 => { [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 3984 | 255 => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:4199:13 [INFO] [stdout] | [INFO] [stdout] 4119 | ParsedElement::ExtendedCapabilities(capabilities) => { [INFO] [stdout] | ------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 4199 | ParsedElement::ExtendedCapabilities(ec) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:4402:13 [INFO] [stdout] | [INFO] [stdout] 4132 | ParsedElement::Unknown(element) => { [INFO] [stdout] | ------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 4402 | ParsedElement::Unknown(element) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_raw_usm_params` is never used [INFO] [stdout] --> src/oside_snmp_session.rs:667:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl OsideSnmpSession { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 667 | fn parse_raw_usm_params(&self, raw_data: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_frame_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2026:4 [INFO] [stdout] | [INFO] [stdout] 2026 | fn encode_frame_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_seq_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2047:4 [INFO] [stdout] | [INFO] [stdout] 2047 | fn encode_seq_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_radiotap_length` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2247:4 [INFO] [stdout] | [INFO] [stdout] 2247 | fn encode_radiotap_length( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_radiotap_present` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2265:4 [INFO] [stdout] | [INFO] [stdout] 2265 | fn encode_radiotap_present( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_qos_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2789:4 [INFO] [stdout] | [INFO] [stdout] 2789 | fn encode_qos_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_ht_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2818:4 [INFO] [stdout] | [INFO] [stdout] 2818 | fn encode_ht_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_capabilities` is never used [INFO] [stdout] --> src/protocols/dot11.rs:3323:4 [INFO] [stdout] | [INFO] [stdout] 3323 | fn encode_capabilities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_option_value` is never used [INFO] [stdout] --> src/protocols/dot11.rs:5065:4 [INFO] [stdout] | [INFO] [stdout] 5065 | fn decode_option_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_generic_asn1` is never used [INFO] [stdout] --> src/protocols/snmp.rs:3364:4 [INFO] [stdout] | [INFO] [stdout] 3364 | fn decode_generic_asn1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_generic_asn1` is never used [INFO] [stdout] --> src/protocols/snmp.rs:3392:4 [INFO] [stdout] | [INFO] [stdout] 3392 | fn encode_generic_asn1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(PartialEq, Clone, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 230 | Func(fn() -> T), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling pcap-parser v0.14.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling oside v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `oside::SNMPGETBULK` [INFO] [stdout] --> examples/snmpwalk.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use oside::SNMPGETBULK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oside::SNMPGETNEXT` [INFO] [stdout] --> examples/snmpwalk.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use oside::SNMPGETNEXT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oside::protocols::snmp::*` [INFO] [stdout] --> examples/emptydns.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use oside::protocols::snmp::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oside::SNMP` [INFO] [stdout] --> examples/emptydns.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use oside::SNMP; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oside::SNMPGETORRESPONSE` [INFO] [stdout] --> examples/emptydns.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use oside::SNMPGETORRESPONSE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oside::SNMPGETRESPONSE` [INFO] [stdout] --> examples/emptydns.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use oside::SNMPGETRESPONSE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oside::SNMPV2C` [INFO] [stdout] --> examples/emptydns.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use oside::SNMPV2C; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oside::SNMPVARBIND` [INFO] [stdout] --> examples/emptydns.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use oside::SNMPVARBIND; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> tests/test_gre.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let (x, len) = x.unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> examples/emptydns.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> examples/first.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let ip = Ip::default(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ip` is never read [INFO] [stdout] --> examples/first.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut ip = IP!( [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layers2` [INFO] [stdout] --> examples/first.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let layers2 = layers.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layers2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip6` [INFO] [stdout] --> examples/first.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some((idx, ip6)) = ipv6_clone.find_layer(IPV6!()) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ip6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipv4_test` [INFO] [stdout] --> examples/first.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let ipv4_test = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipv4_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_udp` [INFO] [stdout] --> examples/first.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let my_udp = &layers[UDP!()]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_udp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_src_ip` [INFO] [stdout] --> examples/first.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let my_src_ip = layers[IP!()].src.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `testProto` should have an upper camel case name [INFO] [stdout] --> tests/test_file_pcap.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct testProto { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `testProto` should have an upper camel case name [INFO] [stdout] --> tests/test_encode.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct testProto { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `try_radiotap` [INFO] [stdout] --> examples/pcap2json.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let try_radiotap = p.data[0] == 0 && p.data[1] == 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_try_radiotap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `testProto` should have an upper camel case name [INFO] [stdout] --> tests/test1.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct testProto { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/first.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | packets.write_pcap("ipv6.pcap"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 109 | let _ = packets.write_pcap("ipv6.pcap"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `testProto` should have an upper camel case name [INFO] [stdout] --> tests/test_pcap.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct testProto { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usm_config` [INFO] [stdout] --> examples/snmpwalk.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | usm_config: &UsmConfig, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usm_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `do_crypt` [INFO] [stdout] --> examples/snmpwalk.rs:885:9 [INFO] [stdout] | [INFO] [stdout] 885 | do_crypt: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_do_crypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> examples/snmpwalk.rs:1055:24 [INFO] [stdout] | [INFO] [stdout] 1055 | if let SnmpGetResponse(resp) = snmp_response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_encode.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_encode.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_encode.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_encode.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decrypted_data` [INFO] [stdout] --> examples/snmpwalk.rs:1709:13 [INFO] [stdout] | [INFO] [stdout] 1709 | let decrypted_data = usm_config [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decrypted_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Get` is never constructed [INFO] [stdout] --> examples/snmpwalk.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum PduType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 30 | Get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PduType` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `parse_raw_usm_params` is never used [INFO] [stdout] --> examples/snmpwalk.rs:844:8 [INFO] [stdout] | [INFO] [stdout] 265 | impl SnmpWalker { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 844 | fn parse_raw_usm_params(&self, raw_data: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_blocks` is assigned to, but never used [INFO] [stdout] --> tests/test_file_pcap.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut num_blocks = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num_blocks` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/test_file_pcap.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_file_pcap.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_file_pcap.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_file_pcap.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_file_pcap.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_snmp.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | let mut config = UsmConfig::new("testuser") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_snmp.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | let mut config = UsmConfig::new("testuser") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> tests/test_snmp.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | let username = "MD5UserName"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_snmp.rs:693:9 [INFO] [stdout] | [INFO] [stdout] 693 | let mut config = UsmConfig::new("integration_test_user") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_snmp.rs:836:9 [INFO] [stdout] | [INFO] [stdout] 836 | let mut config = UsmConfig::new("testuser") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_snmp.rs:879:9 [INFO] [stdout] | [INFO] [stdout] 879 | let mut config = UsmConfig::new("testuser") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> tests/test_snmp.rs:928:19 [INFO] [stdout] | [INFO] [stdout] 928 | for (oid_str, expected) in test_cases { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded` [INFO] [stdout] --> tests/test_snmp.rs:934:14 [INFO] [stdout] | [INFO] [stdout] 934 | let (decoded, _) = BerOid::decode::(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `discovery_config` [INFO] [stdout] --> tests/test_snmp.rs:1130:9 [INFO] [stdout] | [INFO] [stdout] 1130 | let discovery_config = UsmConfig::new("testuser"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discovery_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_snmp.rs:1125:9 [INFO] [stdout] | [INFO] [stdout] 1125 | let mut config = UsmConfig::new("testuser") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USERNAME` is never used [INFO] [stdout] --> tests/test_snmp.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | pub const USERNAME: &str = "MD5UserName"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test_snmp.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pcap.write_pcap("test_snmp.cap"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 37 | let _ = pcap.write_pcap("test_snmp.cap"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test_snmp.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pcap.write_pcap("test_snmp_v3.cap"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = pcap.write_pcap("test_snmp_v3.cap"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] ... [INFO] [stdout] 28 | let tp = Ether!() / IP!(src = "192.0.2.1") / UDP!() / TestProto!(); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] ... [INFO] [stdout] 98 | let px = TestProto!().tos(2); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] ... [INFO] [stdout] 106 | assert_ne!(fx[TestProto!()].mac2, Value::Random); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_blocks` is assigned to, but never used [INFO] [stdout] --> tests/test_pcap.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut num_blocks = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num_blocks` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> tests/test_pcap.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | if let Some(t) = pn.get_layer_mut(TCP!()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pn` [INFO] [stdout] --> tests/test_pcap.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let pn = p.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pn` [INFO] [stdout] --> tests/test_pcap.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let pn = p.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_pcap.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_pcap.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_pcap.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_pcap.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/protocols/udp.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] 95 + for i in my_index + 1..encoded_data.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/protocols/udp.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - for i in (my_index + 1..encoded_data.len()) { [INFO] [stdout] 112 + for i in my_index + 1..encoded_data.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/protocols/pvti.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | panic!("FIXME"); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 25 | self.data.to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/protocols/pvti.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | panic!("FIXME"); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 92 | / for chunk in &my_layer.chunks { [INFO] [stdout] 93 | | result.extend(chunk.encode::()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/oside_snmp_session.rs:884:24 [INFO] [stdout] | [INFO] [stdout] 884 | if let SnmpGetResponse(resp) = snmp_response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1809:13 [INFO] [stdout] | [INFO] [stdout] 1809 | field_length += 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `offset` is never read [INFO] [stdout] --> src/protocols/dot11.rs:2642:9 [INFO] [stdout] | [INFO] [stdout] 2642 | offset += dot11_offset; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:3896:13 [INFO] [stdout] | [INFO] [stdout] 3533 | 127 => { [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 3896 | 127 => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:3984:13 [INFO] [stdout] | [INFO] [stdout] 3618 | 255 => { [INFO] [stdout] | --- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 3984 | 255 => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:4199:13 [INFO] [stdout] | [INFO] [stdout] 4119 | ParsedElement::ExtendedCapabilities(capabilities) => { [INFO] [stdout] | ------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 4199 | ParsedElement::ExtendedCapabilities(ec) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dot11.rs:4402:13 [INFO] [stdout] | [INFO] [stdout] 4132 | ParsedElement::Unknown(element) => { [INFO] [stdout] | ------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 4402 | ParsedElement::Unknown(element) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_raw_usm_params` is never used [INFO] [stdout] --> src/oside_snmp_session.rs:667:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl OsideSnmpSession { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 667 | fn parse_raw_usm_params(&self, raw_data: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_frame_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2026:4 [INFO] [stdout] | [INFO] [stdout] 2026 | fn encode_frame_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_seq_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2047:4 [INFO] [stdout] | [INFO] [stdout] 2047 | fn encode_seq_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_radiotap_length` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2247:4 [INFO] [stdout] | [INFO] [stdout] 2247 | fn encode_radiotap_length( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_radiotap_present` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2265:4 [INFO] [stdout] | [INFO] [stdout] 2265 | fn encode_radiotap_present( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_qos_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2789:4 [INFO] [stdout] | [INFO] [stdout] 2789 | fn encode_qos_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_ht_control` is never used [INFO] [stdout] --> src/protocols/dot11.rs:2818:4 [INFO] [stdout] | [INFO] [stdout] 2818 | fn encode_ht_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_capabilities` is never used [INFO] [stdout] --> src/protocols/dot11.rs:3323:4 [INFO] [stdout] | [INFO] [stdout] 3323 | fn encode_capabilities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_option_value` is never used [INFO] [stdout] --> src/protocols/dot11.rs:5065:4 [INFO] [stdout] | [INFO] [stdout] 5065 | fn decode_option_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_generic_asn1` is never used [INFO] [stdout] --> src/protocols/snmp.rs:3364:4 [INFO] [stdout] | [INFO] [stdout] 3364 | fn decode_generic_asn1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_generic_asn1` is never used [INFO] [stdout] --> src/protocols/snmp.rs:3392:4 [INFO] [stdout] | [INFO] [stdout] 3392 | fn encode_generic_asn1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(PartialEq, Clone, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 230 | Func(fn() -> T), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.52s [INFO] running `Command { std: "docker" "inspect" "345767cb4438804e81b02cb288f7cc9af7b79a4ea6aa55dd55b31812380ce490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "345767cb4438804e81b02cb288f7cc9af7b79a4ea6aa55dd55b31812380ce490", kill_on_drop: false }` [INFO] [stdout] 345767cb4438804e81b02cb288f7cc9af7b79a4ea6aa55dd55b31812380ce490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b07a9d3efa33573801220fcd608dc7d2dddc58ae62b95588b5d22b7ecf6818d9 [INFO] running `Command { std: "docker" "start" "-a" "b07a9d3efa33573801220fcd608dc7d2dddc58ae62b95588b5d22b7ecf6818d9", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/protocols/udp.rs:95:22 [INFO] [stderr] | [INFO] [stderr] 95 | for i in (my_index + 1..encoded_data.len()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 95 - for i in (my_index + 1..encoded_data.len()) { [INFO] [stderr] 95 + for i in my_index + 1..encoded_data.len() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/protocols/udp.rs:112:22 [INFO] [stderr] | [INFO] [stderr] 112 | for i in (my_index + 1..encoded_data.len()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 112 - for i in (my_index + 1..encoded_data.len()) { [INFO] [stderr] 112 + for i in my_index + 1..encoded_data.len() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/protocols/pvti.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | panic!("FIXME"); [INFO] [stderr] | --------------- any code following this expression is unreachable [INFO] [stderr] 25 | self.data.to_vec() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/protocols/pvti.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 91 | panic!("FIXME"); [INFO] [stderr] | --------------- any code following this expression is unreachable [INFO] [stderr] 92 | / for chunk in &my_layer.chunks { [INFO] [stderr] 93 | | result.extend(chunk.encode::()); [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____^ unreachable statement [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/oside_snmp_session.rs:884:24 [INFO] [stderr] | [INFO] [stderr] 884 | if let SnmpGetResponse(resp) = snmp_response { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `field_length` is never read [INFO] [stderr] --> src/protocols/dot11.rs:1809:13 [INFO] [stderr] | [INFO] [stderr] 1809 | field_length += 1; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `offset` is never read [INFO] [stderr] --> src/protocols/dot11.rs:2642:9 [INFO] [stderr] | [INFO] [stderr] 2642 | offset += dot11_offset; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/protocols/dot11.rs:3896:13 [INFO] [stderr] | [INFO] [stderr] 3533 | 127 => { [INFO] [stderr] | --- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 3896 | 127 => { [INFO] [stderr] | ^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/protocols/dot11.rs:3984:13 [INFO] [stderr] | [INFO] [stderr] 3618 | 255 => { [INFO] [stderr] | --- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 3984 | 255 => { [INFO] [stderr] | ^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/protocols/dot11.rs:4199:13 [INFO] [stderr] | [INFO] [stderr] 4119 | ParsedElement::ExtendedCapabilities(capabilities) => { [INFO] [stderr] | ------------------------------------------------- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 4199 | ParsedElement::ExtendedCapabilities(ec) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/protocols/dot11.rs:4402:13 [INFO] [stderr] | [INFO] [stderr] 4132 | ParsedElement::Unknown(element) => { [INFO] [stderr] | ------------------------------- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 4402 | ParsedElement::Unknown(element) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] [INFO] [stderr] warning: method `parse_raw_usm_params` is never used [INFO] [stderr] --> src/oside_snmp_session.rs:667:8 [INFO] [stderr] | [INFO] [stderr] 79 | impl OsideSnmpSession { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 667 | fn parse_raw_usm_params(&self, raw_data: &[u8]) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `encode_frame_control` is never used [INFO] [stderr] --> src/protocols/dot11.rs:2026:4 [INFO] [stderr] | [INFO] [stderr] 2026 | fn encode_frame_control( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_seq_control` is never used [INFO] [stderr] --> src/protocols/dot11.rs:2047:4 [INFO] [stderr] | [INFO] [stderr] 2047 | fn encode_seq_control( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_radiotap_length` is never used [INFO] [stderr] --> src/protocols/dot11.rs:2247:4 [INFO] [stderr] | [INFO] [stderr] 2247 | fn encode_radiotap_length( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_radiotap_present` is never used [INFO] [stderr] --> src/protocols/dot11.rs:2265:4 [INFO] [stderr] | [INFO] [stderr] 2265 | fn encode_radiotap_present( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_qos_control` is never used [INFO] [stderr] --> src/protocols/dot11.rs:2789:4 [INFO] [stderr] | [INFO] [stderr] 2789 | fn encode_qos_control( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_ht_control` is never used [INFO] [stderr] --> src/protocols/dot11.rs:2818:4 [INFO] [stderr] | [INFO] [stderr] 2818 | fn encode_ht_control( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_capabilities` is never used [INFO] [stderr] --> src/protocols/dot11.rs:3323:4 [INFO] [stderr] | [INFO] [stderr] 3323 | fn encode_capabilities( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decode_option_value` is never used [INFO] [stderr] --> src/protocols/dot11.rs:5065:4 [INFO] [stderr] | [INFO] [stderr] 5065 | fn decode_option_value( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decode_generic_asn1` is never used [INFO] [stderr] --> src/protocols/snmp.rs:3364:4 [INFO] [stderr] | [INFO] [stderr] 3364 | fn decode_generic_asn1( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_generic_asn1` is never used [INFO] [stderr] --> src/protocols/snmp.rs:3392:4 [INFO] [stderr] | [INFO] [stderr] 3392 | fn encode_generic_asn1( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/lib.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/lib.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/lib.rs:230:10 [INFO] [stderr] | [INFO] [stderr] 226 | #[derive(PartialEq, Clone, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 230 | Func(fn() -> T), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: `oside` (lib) generated 34 warnings (9 duplicates) (run `cargo fix --lib -p oside` to apply 2 suggestions) [INFO] [stderr] warning: unused variable: `ip` [INFO] [stderr] --> examples/first.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | let ip = Ip::default(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `ip` is never read [INFO] [stderr] --> examples/first.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | let mut ip = IP!( [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `layers2` [INFO] [stderr] --> examples/first.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | let layers2 = layers.clone(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layers2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ip6` [INFO] [stderr] --> examples/first.rs:105:27 [INFO] [stderr] | [INFO] [stderr] 105 | if let Some((idx, ip6)) = ipv6_clone.find_layer(IPV6!()) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ip6` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ipv4_test` [INFO] [stderr] --> examples/first.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | let ipv4_test = [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipv4_test` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `my_udp` [INFO] [stderr] --> examples/first.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | let my_udp = &layers[UDP!()]; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_udp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `my_src_ip` [INFO] [stderr] --> examples/first.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | let my_src_ip = layers[IP!()].src.clone(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_src_ip` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/first.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | packets.write_pcap("ipv6.pcap"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [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] 109 | let _ = packets.write_pcap("ipv6.pcap"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `oside::SNMPGETBULK` [INFO] [stderr] --> examples/snmpwalk.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use oside::SNMPGETBULK; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `oside::SNMPGETNEXT` [INFO] [stderr] --> examples/snmpwalk.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use oside::SNMPGETNEXT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `usm_config` [INFO] [stderr] --> examples/snmpwalk.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | usm_config: &UsmConfig, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usm_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `do_crypt` [INFO] [stderr] --> examples/snmpwalk.rs:885:9 [INFO] [stderr] | [INFO] [stderr] 885 | do_crypt: bool, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_do_crypt` [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> examples/snmpwalk.rs:1055:24 [INFO] [stderr] | [INFO] [stderr] 1055 | if let SnmpGetResponse(resp) = snmp_response { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `decrypted_data` [INFO] [stderr] --> examples/snmpwalk.rs:1709:13 [INFO] [stderr] | [INFO] [stderr] 1709 | let decrypted_data = usm_config [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decrypted_data` [INFO] [stderr] [INFO] [stderr] warning: variant `Get` is never constructed [INFO] [stderr] --> examples/snmpwalk.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 29 | enum PduType { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] 30 | Get, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PduType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `parse_raw_usm_params` is never used [INFO] [stderr] --> examples/snmpwalk.rs:844:8 [INFO] [stderr] | [INFO] [stderr] 265 | impl SnmpWalker { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 844 | fn parse_raw_usm_params(&self, raw_data: &[u8]) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/test_snmp.rs:327:9 [INFO] [stderr] | [INFO] [stderr] 327 | let mut config = UsmConfig::new("testuser") [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/test_snmp.rs:377:9 [INFO] [stderr] | [INFO] [stderr] 377 | let mut config = UsmConfig::new("testuser") [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> tests/test_snmp.rs:421:9 [INFO] [stderr] | [INFO] [stderr] 421 | let username = "MD5UserName"; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/test_snmp.rs:693:9 [INFO] [stderr] | [INFO] [stderr] 693 | let mut config = UsmConfig::new("integration_test_user") [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/test_snmp.rs:836:9 [INFO] [stderr] | [INFO] [stderr] 836 | let mut config = UsmConfig::new("testuser") [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/test_snmp.rs:879:9 [INFO] [stderr] | [INFO] [stderr] 879 | let mut config = UsmConfig::new("testuser") [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expected` [INFO] [stderr] --> tests/test_snmp.rs:928:19 [INFO] [stderr] | [INFO] [stderr] 928 | for (oid_str, expected) in test_cases { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `decoded` [INFO] [stderr] --> tests/test_snmp.rs:934:14 [INFO] [stderr] | [INFO] [stderr] 934 | let (decoded, _) = BerOid::decode::(&encoded).unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `discovery_config` [INFO] [stderr] --> tests/test_snmp.rs:1130:9 [INFO] [stderr] | [INFO] [stderr] 1130 | let discovery_config = UsmConfig::new("testuser"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discovery_config` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/test_snmp.rs:1125:9 [INFO] [stderr] | [INFO] [stderr] 1125 | let mut config = UsmConfig::new("testuser") [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: constant `USERNAME` is never used [INFO] [stderr] --> tests/test_snmp.rs:69:15 [INFO] [stderr] | [INFO] [stderr] 69 | pub const USERNAME: &str = "MD5UserName"; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/test_snmp.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | pcap.write_pcap("test_snmp.cap"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [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] 37 | let _ = pcap.write_pcap("test_snmp.cap"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/test_snmp.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | pcap.write_pcap("test_snmp_v3.cap"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 54 | let _ = pcap.write_pcap("test_snmp_v3.cap"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: type `testProto` should have an upper camel case name [INFO] [stderr] --> tests/test_pcap.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct testProto { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `num_blocks` is assigned to, but never used [INFO] [stderr] --> tests/test_pcap.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let mut num_blocks = 0; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_num_blocks` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> tests/test_pcap.rs:130:21 [INFO] [stderr] | [INFO] [stderr] 130 | if let Some(t) = pn.get_layer_mut(TCP!()) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pn` [INFO] [stderr] --> tests/test_pcap.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 180 | let pn = p.clone(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_pn` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pn` [INFO] [stderr] --> tests/test_pcap.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | let pn = p.clone(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_pn` [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test_pcap.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test_pcap.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: type `testProto` should have an upper camel case name [INFO] [stderr] --> tests/test1.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct testProto { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test1.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test1.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test1.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] ... [INFO] [stderr] 28 | let tp = Ether!() / IP!(src = "192.0.2.1") / UDP!() / TestProto!(); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test1.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] ... [INFO] [stderr] 98 | let px = TestProto!().tos(2); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test1.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] ... [INFO] [stderr] 106 | assert_ne!(fx[TestProto!()].mac2, Value::Random); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `try_radiotap` [INFO] [stderr] --> examples/pcap2json.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | let try_radiotap = p.data[0] == 0 && p.data[1] == 0; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_try_radiotap` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type `testProto` should have an upper camel case name [INFO] [stderr] --> tests/test_encode.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct testProto { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test_encode.rs:9:24 [INFO] [stderr] | [INFO] [stderr] 9 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test_encode.rs:9:24 [INFO] [stderr] | [INFO] [stderr] 9 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: type `testProto` should have an upper camel case name [INFO] [stderr] --> tests/test_file_pcap.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct testProto { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `num_blocks` is assigned to, but never used [INFO] [stderr] --> tests/test_file_pcap.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | let mut num_blocks = 0; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_num_blocks` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> tests/test_file_pcap.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | for i in 0..3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test_file_pcap.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `__testProto` should have a snake case name [INFO] [stderr] --> tests/test_file_pcap.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `oside::protocols::snmp::*` [INFO] [stderr] --> examples/emptydns.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use oside::protocols::snmp::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `oside::SNMP` [INFO] [stderr] --> examples/emptydns.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use oside::SNMP; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `oside::SNMPGETORRESPONSE` [INFO] [stderr] --> examples/emptydns.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use oside::SNMPGETORRESPONSE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `oside::SNMPGETRESPONSE` [INFO] [stderr] --> examples/emptydns.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use oside::SNMPGETRESPONSE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `oside::SNMPV2C` [INFO] [stderr] --> examples/emptydns.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use oside::SNMPV2C; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `oside::SNMPVARBIND` [INFO] [stderr] --> examples/emptydns.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use oside::SNMPVARBIND; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> examples/emptydns.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let args: Vec = env::args().collect(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `oside` (lib test) generated 34 warnings (34 duplicates) [INFO] [stderr] warning: `oside` (example "first") generated 8 warnings [INFO] [stderr] warning: `oside` (example "snmpwalk") generated 8 warnings (run `cargo fix --example "snmpwalk"` to apply 2 suggestions) [INFO] [stderr] warning: `oside` (test "test_snmp") generated 13 warnings (run `cargo fix --test "test_snmp"` to apply 6 suggestions) [INFO] [stderr] warning: `oside` (test "test_pcap") generated 9 warnings (2 duplicates) [INFO] [stderr] warning: `oside` (test "test1") generated 8 warnings (2 duplicates) [INFO] [stderr] warning: `oside` (example "pcap2json") generated 1 warning [INFO] [stderr] warning: `oside` (test "test_encode") generated 5 warnings (2 duplicates) [INFO] [stderr] warning: `oside` (test "test_file_pcap") generated 7 warnings (2 duplicates) [INFO] [stderr] warning: `oside` (example "emptydns") generated 7 warnings (run `cargo fix --example "emptydns"` to apply 6 suggestions) [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> tests/test_gre.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | let (x, len) = x.unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `oside` (test "test_gre") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oside-80c24b71015ee74b) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test asn1::tests::test_boolean ... ok [INFO] [stdout] test asn1::tests::test_integer ... ok [INFO] [stdout] test encdec::asn1::tests::test_encode_decode_u16 ... ok [INFO] [stdout] test asn1::tests::test_sequence ... ok [INFO] [stdout] test encdec::asn1::tests::test_encode_decode_u32 ... ok [INFO] [stdout] test encdec::asn1::tests::test_encode_decode_asn1_object ... ok [INFO] [stdout] test encdec::asn1::tests::test_encode_decode_u8 ... ok [INFO] [stdout] test encdec::asn1::tests::test_encode_decode_vec ... ok [INFO] [stdout] test encdec::asn1::tests::test_encode_length ... ok [INFO] [stdout] test encdec::asn1::tests::test_encode_tag ... ok [INFO] [stdout] test protocols::ripv2::tests::test_rip_entry_builder ... ok [INFO] [stdout] test protocols::ripv2::tests::test_rip_request ... ok [INFO] [stdout] test protocols::ripv2::tests::test_rip_response ... ok [INFO] [stdout] test protocols::snmp::tests::test_builder_pattern ... ok [INFO] [stdout] test protocols::snmp::tests::test_snmp_value_creation ... ok [INFO] [stdout] test protocols::snmp::tests::test_snmp_v1_get ... ok [INFO] [stdout] test protocols::snmp::tests::test_snmpv3_no_auth ... ok [INFO] [stdout] test protocols::snmp::tests::test_snmp_v2c_getbulk ... ok [INFO] [stdout] test protocols::snmp::usm_tests::test_usm_config_builder ... ok [INFO] [stdout] test protocols::tftp::tests::test_encode_decode_ack ... ok [INFO] [stdout] test protocols::tftp::tests::test_encode_decode_data ... ok [INFO] [stdout] test protocols::tftp::tests::test_encode_decode_oack ... ok [INFO] [stdout] test protocols::tftp::tests::test_malformed_packet_handling ... ok [INFO] [stdout] test protocols::tftp::tests::test_encode_decode_read_request ... ok [INFO] [stdout] test protocols::snmp::usm_tests::test_encrypt_decrypt_aes ... ok [INFO] [stdout] test protocols::tftp::tests::test_encode_decode_write_request ... ok [INFO] [stdout] test protocols::tftp::tests::test_encode_decode_error ... ok [INFO] [stdout] test protocols::tftp::tests::test_encode_decode_raw ... ok [INFO] [stdout] test protocols::snmp::usm_tests::test_priv_key_derivation ... ok [INFO] [stdout] test protocols::snmp::usm_tests::test_auth_key_derivation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/test1.rs (/opt/rustwide/target/debug/deps/test1-fdf50bf8f72058d2) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test show_type_id ... ok [INFO] [stdout] test test_inet_csum1 ... ok [INFO] [stdout] test it_works ... ok [INFO] [stdout] test custom_proto ... ok [INFO] [stdout] test make_random ... ok [INFO] [stdout] test serialize_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_decode.rs (/opt/rustwide/target/debug/deps/test_decode-d2d76a1d033b6e1e) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test decode_arp_strange ... ok [INFO] [stdout] test decode_test_raw ... ok [INFO] [stdout] test decode_test_icmp ... ok [INFO] [stdout] test decode_test_dot1q ... ok [INFO] [stdout] test decode_test_1 ... ok [INFO] [stdout] test decode_arp_canonical ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test_encode.rs (/opt/rustwide/target/debug/deps/test_encode-69b5ea27327e9fdb) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_multiple_layer_instances ... ok [INFO] [stdout] test test_multiple_layer_instances_innermost ... ok [INFO] [stdout] test make_udp_checksum_payload ... ok [INFO] [stdout] test make_tcp_checksum_tiny ... ok [INFO] [stdout] test make_random_encode ... ok [INFO] [stdout] test make_udp_checksum_tiny ... ok [INFO] [stdout] test encode_arp ... ok [INFO] [stdout] test make_geneve ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test_file_pcap.rs (/opt/rustwide/target/debug/deps/test_file_pcap-3a7afb86cc06f73b) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_write_pcap_with_erspan ... ok [INFO] [stdout] test test_read_pcap_bytes ... ok [INFO] [stdout] test test_read_reencode_pcap_bytes ... ok [INFO] [stdout] test test_write_pcap_from_scratch ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_gre.rs (/opt/rustwide/target/debug/deps/test_gre-8a44ad2e0e8fd42e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test encode_erspan_version ... ok [INFO] [stdout] test decode_gre_first_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test_pcap.rs (/opt/rustwide/target/debug/deps/test_pcap-c1511f1fb3f8f38d) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_pcap_vxlan2 ... ok [INFO] [stdout] test test_pcap2_plain ... ok [INFO] [stdout] test test_pcap3_nomod ... ok [INFO] [stdout] test test_pcap_vxlan1 ... ok [INFO] [stdout] test test_pcap1 ... ok [INFO] [stdout] test test_pcap3_csum ... ok [INFO] [stdout] test test_pcap_dhcp ... ok [INFO] [stdout] test test_decode_encode_pcaps ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_snmp.rs (/opt/rustwide/target/debug/deps/test_snmp-acdb04369526209f) [INFO] [stdout] [INFO] [stdout] running 40 tests [INFO] [stdout] test test_authentication_error_cases ... ok [INFO] [stdout] test test_ber_oid_parsing ... ok [INFO] [stdout] test test_community_string_handling ... ok [INFO] [stdout] test test_ber_encoding_roundtrip ... ok [INFO] [stdout] test encode_snmp_1 ... ok [INFO] [stdout] test test_hmac_sha1_authentication ... ok [INFO] [stdout] test test_interface_walk ... ok [INFO] [stdout] test test_hmac_md5_authentication ... ok [INFO] [stdout] test test_iv_calculation ... ok [INFO] [stdout] test test_privacy_error_cases ... ok [INFO] [stdout] test test_snmp_error_handling ... ok [INFO] [stdout] test test_privacy_salt_generation ... ok [INFO] [stdout] test test_snmp_value_encoding ... ok [INFO] [stdout] test test_snmp_bulk_decode ... ok [INFO] [stdout] test test_snmpv1_get_request ... ok [INFO] [stdout] test test_snmp_value_utilities ... ok [INFO] [stdout] test test_snmpv2c_getbulk_request ... ok [INFO] [stdout] test test_snmp_builder_pattern ... ok [INFO] [stdout] test test_snmpv3_discovery_message ... ok [INFO] [stdout] test test_snmpv3_message_creation ... ok [INFO] [stdout] test test_snmpv3_encoding ... ok [INFO] [stdout] test test_aes_encryption_decryption ... ok [INFO] [stdout] test test_md5_key_derivation ... ok [INFO] [stdout] test test_system_info_query ... ok [INFO] [stdout] test test_privacy_key_derivation_des ... ok [INFO] [stdout] test test_sha1_key_derivation ... ok [INFO] [stdout] test test_encryption_corner_cases ... FAILED [INFO] [stdout] test test_privacy_key_derivation_aes ... ok [INFO] [stdout] test test_des_encryption_decryption ... FAILED [INFO] [stdout] test test_snmpv3_authenticated_encoding ... ok [INFO] [stdout] test test_algorithm_combinations ... FAILED [INFO] [stdout] test test_complete_snmpv3_flow ... ok [INFO] [stdout] test test_snmpwalk_authentication_flow ... ok [INFO] [stdout] test test_snmpv3_get_request_encoding ... ok [INFO] [stdout] test test_rfc3414_test_vectors ... ok [INFO] [stdout] test test_usm_config_builder ... ok [INFO] [stdout] test test_snmpv3_privacy_encoding ... ok [INFO] [stdout] test test_usm_encoding_context ... ok [INFO] [stdout] test test_key_derivation_edge_cases ... ok [INFO] [stdout] test test_key_derivation_performance ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_encryption_corner_cases stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_encryption_corner_cases' (105) panicked at tests/test_snmp.rs:673:61: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: "Raw decryption didn't produce valid ASN.1 data" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57ef22ed9b02 - 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: 0x57ef22ed9b02 - 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: 0x57ef22ed9b02 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57ef22ed9b02 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57ef22eec28f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57ef22eec28f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x57ef22ea5411 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57ef22ea5411 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57ef22eb14e2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57ef22eb608f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x57ef22eb5f21 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x57ef226219fe - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x57ef226219fe - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x57ef22eb674f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x57ef22eb674f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x57ef22eb65aa - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x57ef22eb1619 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x57ef22e9975d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x57ef22ef5e60 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x57ef22ef4e86 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x57ef22331f7e - core::result::Result::unwrap::hd92637a858143787 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x57ef22331f7e - test_snmp::test_encryption_corner_cases::h12638514e1cd4bfc [INFO] [stdout] at /opt/rustwide/workdir/tests/test_snmp.rs:673:61 [INFO] [stdout] 22: 0x57ef22332a57 - test_snmp::test_encryption_corner_cases::{{closure}}::h521f2a7ad7f0b1db [INFO] [stdout] at /opt/rustwide/workdir/tests/test_snmp.rs:665:34 [INFO] [stdout] 23: 0x57ef2233b166 - core::ops::function::FnOnce::call_once::h5ed863814a8bc0f2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x57ef2262182b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x57ef2262182b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x57ef22637405 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x57ef22637405 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x57ef22637405 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x57ef22637405 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x57ef22637405 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x57ef22637405 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x57ef22637405 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x57ef2260dc14 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x57ef2260dc14 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x57ef226114da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x57ef226114da - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x57ef226114da - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x57ef226114da - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x57ef226114da - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x57ef226114da - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x57ef226114da - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x57ef22eac75f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x57ef22eac75f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x746d6e2e8aa4 - [INFO] [stdout] 45: 0x746d6e375a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_des_encryption_decryption stdout ---- [INFO] [stdout] DES test - Salt: [00, 00, 00, 01, 00, 00, 30, 39] [INFO] [stdout] DES test - IV: [3b, df, fe, eb, 4f, 51, 1f, 30] [INFO] [stdout] DES test - Privacy key: [23, 6d, f4, 50, be, 80, 3e, 40, 3b, df, fe, ea, 4f, 51, 2f, 09] [INFO] [stdout] DES test - Ciphertext length: 88 [INFO] [stdout] [INFO] [stdout] thread 'test_des_encryption_decryption' (104) panicked at tests/test_snmp.rs:272:67: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: "Raw decryption didn't produce valid ASN.1 data" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57ef22ed9b02 - 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: 0x57ef22ed9b02 - 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: 0x57ef22ed9b02 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57ef22ed9b02 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57ef22eec28f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57ef22eec28f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x57ef22ea5411 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57ef22ea5411 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57ef22eb14e2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57ef22eb608f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x57ef22eb5f21 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x57ef226219fe - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x57ef226219fe - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x57ef22eb674f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x57ef22eb674f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x57ef22eb65aa - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x57ef22eb1619 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x57ef22e9975d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x57ef22ef5e60 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x57ef22ef4e86 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x57ef22336d50 - core::result::Result::unwrap::hd92637a858143787 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x57ef22336d50 - test_snmp::test_des_encryption_decryption::h936e033930cdca39 [INFO] [stdout] at /opt/rustwide/workdir/tests/test_snmp.rs:272:67 [INFO] [stdout] 22: 0x57ef22336fe7 - test_snmp::test_des_encryption_decryption::{{closure}}::hb8db9b6611da2b2f [INFO] [stdout] at /opt/rustwide/workdir/tests/test_snmp.rs:233:36 [INFO] [stdout] 23: 0x57ef2233ae66 - core::ops::function::FnOnce::call_once::h2dcb118a7a736a1f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x57ef2262182b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x57ef2262182b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x57ef22637405 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x57ef22637405 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x57ef22637405 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x57ef22637405 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x57ef22637405 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x57ef22637405 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x57ef22637405 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x57ef2260dc14 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x57ef2260dc14 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x57ef226114da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x57ef226114da - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x57ef226114da - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x57ef226114da - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x57ef226114da - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x57ef226114da - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x57ef226114da - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x57ef22eac75f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x57ef22eac75f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x746d6e2e8aa4 - [INFO] [stdout] 45: 0x746d6e375a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_algorithm_combinations stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_algorithm_combinations' (98) panicked at tests/test_snmp.rs:824:70: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: "Raw decryption didn't produce valid ASN.1 data" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57ef22ed9b02 - 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: 0x57ef22ed9b02 - 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: 0x57ef22ed9b02 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57ef22ed9b02 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57ef22eec28f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57ef22eec28f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x57ef22ea5411 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57ef22ea5411 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57ef22eb14e2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57ef22eb608f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x57ef22eb5f21 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x57ef226219fe - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x57ef226219fe - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x57ef22eb674f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x57ef22eb674f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x57ef22eb65aa - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x57ef22eb1619 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x57ef22e9975d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x57ef22ef5e60 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x57ef22ef4e86 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x57ef22331254 - core::result::Result::unwrap::hd92637a858143787 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x57ef22331254 - test_snmp::test_algorithm_combinations::h50891c63b334ad1b [INFO] [stdout] at /opt/rustwide/workdir/tests/test_snmp.rs:824:70 [INFO] [stdout] 22: 0x57ef223315a7 - test_snmp::test_algorithm_combinations::{{closure}}::hc01697ee24dc0b70 [INFO] [stdout] at /opt/rustwide/workdir/tests/test_snmp.rs:785:33 [INFO] [stdout] 23: 0x57ef2233b1a6 - core::ops::function::FnOnce::call_once::h787ae3d24badfee4 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x57ef2262182b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x57ef2262182b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x57ef22637405 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x57ef22637405 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x57ef22637405 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x57ef22637405 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x57ef22637405 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x57ef22637405 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x57ef22637405 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x57ef2260dc14 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x57ef2260dc14 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x57ef226114da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x57ef226114da - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x57ef226114da - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x57ef226114da - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x57ef226114da - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x57ef226114da - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x57ef226114da - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x57ef22eac75f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x57ef22eac75f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x746d6e2e8aa4 - [INFO] [stdout] 45: 0x746d6e375a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_algorithm_combinations [INFO] [stdout] test_des_encryption_decryption [INFO] [stdout] test_encryption_corner_cases [INFO] [stdout] [INFO] [stdout] test result: FAILED. 37 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test test_snmp` [INFO] running `Command { std: "docker" "inspect" "b07a9d3efa33573801220fcd608dc7d2dddc58ae62b95588b5d22b7ecf6818d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b07a9d3efa33573801220fcd608dc7d2dddc58ae62b95588b5d22b7ecf6818d9", kill_on_drop: false }` [INFO] [stdout] b07a9d3efa33573801220fcd608dc7d2dddc58ae62b95588b5d22b7ecf6818d9