[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] 4c880f97455331c014c0560f1bd8b16c95ee4760 [INFO] testing ayourtch/scarust against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fscarust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ayourtch/scarust on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 128 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.8.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 228e43ecf2f504cd03643ea75f26ee8a5b64ccd68295be5eb136107c53d86ebc [INFO] running `Command { std: "docker" "start" "-a" "228e43ecf2f504cd03643ea75f26ee8a5b64ccd68295be5eb136107c53d86ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "228e43ecf2f504cd03643ea75f26ee8a5b64ccd68295be5eb136107c53d86ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "228e43ecf2f504cd03643ea75f26ee8a5b64ccd68295be5eb136107c53d86ebc", kill_on_drop: false }` [INFO] [stdout] 228e43ecf2f504cd03643ea75f26ee8a5b64ccd68295be5eb136107c53d86ebc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 7331b2ac8b9c4c2c8900e85d5ebcf67aafc6c558e4227c601b5b76c85d117d5f [INFO] running `Command { std: "docker" "start" "-a" "7331b2ac8b9c4c2c8900e85d5ebcf67aafc6c558e4227c601b5b76c85d117d5f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling linkme-impl v0.3.35 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling linkme v0.3.35 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling typetag v0.2.21 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling jiff v0.2.18 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling cfb-mode v0.8.2 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mac_address v1.1.8 [INFO] [stderr] Compiling generic-array v1.3.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling env_logger v0.11.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 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 `results_count` is never read [INFO] [stdout] --> src/oside_snmp_session.rs:868:25 [INFO] [stdout] | [INFO] [stdout] 868 | results_count += 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 `results_count` is never read [INFO] [stdout] --> src/oside_snmp_session.rs:913:29 [INFO] [stdout] | [INFO] [stdout] 913 | ... results_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1793:13 [INFO] [stdout] | [INFO] [stdout] 1793 | field_length += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1797:13 [INFO] [stdout] | [INFO] [stdout] 1797 | field_length += 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1801:13 [INFO] [stdout] | [INFO] [stdout] 1801 | field_length += 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1805:13 [INFO] [stdout] | [INFO] [stdout] 1805 | field_length += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [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 1m 08s [INFO] running `Command { std: "docker" "inspect" "7331b2ac8b9c4c2c8900e85d5ebcf67aafc6c558e4227c601b5b76c85d117d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7331b2ac8b9c4c2c8900e85d5ebcf67aafc6c558e4227c601b5b76c85d117d5f", kill_on_drop: false }` [INFO] [stdout] 7331b2ac8b9c4c2c8900e85d5ebcf67aafc6c558e4227c601b5b76c85d117d5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 250e27bcae54b7bea0bec5460d5315adf4ab7bf962de18c73c38cb89500417fe [INFO] running `Command { std: "docker" "start" "-a" "250e27bcae54b7bea0bec5460d5315adf4ab7bf962de18c73c38cb89500417fe", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zmij v1.0.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling circular v0.3.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling hex v0.4.3 [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 `results_count` is never read [INFO] [stdout] --> src/oside_snmp_session.rs:868:25 [INFO] [stdout] | [INFO] [stdout] 868 | results_count += 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 `results_count` is never read [INFO] [stdout] --> src/oside_snmp_session.rs:913:29 [INFO] [stdout] | [INFO] [stdout] 913 | ... results_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1793:13 [INFO] [stdout] | [INFO] [stdout] 1793 | field_length += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1797:13 [INFO] [stdout] | [INFO] [stdout] 1797 | field_length += 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1801:13 [INFO] [stdout] | [INFO] [stdout] 1801 | field_length += 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1805:13 [INFO] [stdout] | [INFO] [stdout] 1805 | field_length += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [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 walkdir v2.5.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rayon v1.11.0 [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 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: 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: `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: 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 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: 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: 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 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 `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_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: 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_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: 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: 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: 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 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: 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: 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 `num_blocks` is assigned to, but never used [INFO] [stdout] --> tests/test_pcap.rs:46:9 [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: value assigned to `num_blocks` is never read [INFO] [stdout] --> tests/test_pcap.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | num_blocks += 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: 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: variable `num_blocks` is assigned to, but never used [INFO] [stdout] --> tests/test_file_pcap.rs:65:9 [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: value assigned to `num_blocks` is never read [INFO] [stdout] --> tests/test_file_pcap.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | num_blocks += 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: 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: `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: 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: 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/build/oside/ced4659b1f62b270/deps/rustcbYXjhP/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/build/env_logger/8f1bcb52b0b2ea4f/deps/libenv_logger-8f1bcb52b0b2ea4f.rlib" "/opt/rustwide/target/debug/build/anstream/cb380fdc7414f37e/deps/libanstream-cb380fdc7414f37e.rlib" "/opt/rustwide/target/debug/build/anstyle-query/7d642b7421150d4a/deps/libanstyle_query-7d642b7421150d4a.rlib" "/opt/rustwide/target/debug/build/is_terminal_polyfill/21bbb5fdce9e5cde/deps/libis_terminal_polyfill-21bbb5fdce9e5cde.rlib" "/opt/rustwide/target/debug/build/colorchoice/3cdad4dd466782b4/deps/libcolorchoice-3cdad4dd466782b4.rlib" "/opt/rustwide/target/debug/build/anstyle-parse/51df2b3336db7fd2/deps/libanstyle_parse-51df2b3336db7fd2.rlib" "/opt/rustwide/target/debug/build/utf8parse/8828ddbb63eb8bad/deps/libutf8parse-8828ddbb63eb8bad.rlib" "/opt/rustwide/target/debug/build/jiff/730e1169aca2bf64/deps/libjiff-730e1169aca2bf64.rlib" "/opt/rustwide/target/debug/build/env_filter/789d30360a4a1196/deps/libenv_filter-789d30360a4a1196.rlib" "/opt/rustwide/target/debug/build/regex/1288285c8d81e19b/deps/libregex-1288285c8d81e19b.rlib" "/opt/rustwide/target/debug/build/regex-automata/5bb4450ae25b0ee8/deps/libregex_automata-5bb4450ae25b0ee8.rlib" "/opt/rustwide/target/debug/build/aho-corasick/0602069ca8351cd6/deps/libaho_corasick-0602069ca8351cd6.rlib" "/opt/rustwide/target/debug/build/memchr/f04d4ed0ff57c3c8/deps/libmemchr-f04d4ed0ff57c3c8.rlib" "/opt/rustwide/target/debug/build/regex-syntax/3eb42aed563cb123/deps/libregex_syntax-3eb42aed563cb123.rlib" "/opt/rustwide/target/debug/build/anstyle/8f9813155d5c1cf2/deps/libanstyle-8f9813155d5c1cf2.rlib" "/opt/rustwide/target/debug/build/oside/f38b1a89c0a5ce59/deps/liboside-f38b1a89c0a5ce59.rlib" "/opt/rustwide/target/debug/build/typetag/4762a5953a8f7fea/deps/libtypetag-4762a5953a8f7fea.rlib" "/opt/rustwide/target/debug/build/once_cell/4d29954baf9d8070/deps/libonce_cell-4d29954baf9d8070.rlib" "/opt/rustwide/target/debug/build/inventory/8350feb1c29496df/deps/libinventory-8350feb1c29496df.rlib" "/opt/rustwide/target/debug/build/erased-serde/66592b4dabe26220/deps/liberased_serde-66592b4dabe26220.rlib" "/opt/rustwide/target/debug/build/typeid/2c68275377135f0a/deps/libtypeid-2c68275377135f0a.rlib" "/opt/rustwide/target/debug/build/generic-array/80b4d1e5706f5b5b/deps/libgeneric_array-80b4d1e5706f5b5b.rlib" "/opt/rustwide/target/debug/build/cfb-mode/03322a96b7de2a88/deps/libcfb_mode-03322a96b7de2a88.rlib" "/opt/rustwide/target/debug/build/aes/ffbcea82293a25a0/deps/libaes-ffbcea82293a25a0.rlib" "/opt/rustwide/target/debug/build/des/be4ca281a05d8426/deps/libdes-be4ca281a05d8426.rlib" "/opt/rustwide/target/debug/build/cbc/0b58c494c892e943/deps/libcbc-0b58c494c892e943.rlib" "/opt/rustwide/target/debug/build/cipher/375766459ea40b0e/deps/libcipher-375766459ea40b0e.rlib" "/opt/rustwide/target/debug/build/inout/432851cd7dc43ebf/deps/libinout-432851cd7dc43ebf.rlib" "/opt/rustwide/target/debug/build/block-padding/af7a952964d3d835/deps/libblock_padding-af7a952964d3d835.rlib" "/opt/rustwide/target/debug/build/sha1/3b395c684864aa57/deps/libsha1-3b395c684864aa57.rlib" "/opt/rustwide/target/debug/build/cpufeatures/471354fefbcaf2d8/deps/libcpufeatures-471354fefbcaf2d8.rlib" "/opt/rustwide/target/debug/build/md-5/a5f78ab361721fd5/deps/libmd5-a5f78ab361721fd5.rlib" "/opt/rustwide/target/debug/build/hmac/6cdad00c047eb140/deps/libhmac-6cdad00c047eb140.rlib" "/opt/rustwide/target/debug/build/digest/9074755cb419c70f/deps/libdigest-9074755cb419c70f.rlib" "/opt/rustwide/target/debug/build/subtle/ca7024fc66e4388f/deps/libsubtle-ca7024fc66e4388f.rlib" "/opt/rustwide/target/debug/build/block-buffer/42eef443c7267919/deps/libblock_buffer-42eef443c7267919.rlib" "/opt/rustwide/target/debug/build/crypto-common/4f3eecb8951ac5f2/deps/libcrypto_common-4f3eecb8951ac5f2.rlib" "/opt/rustwide/target/debug/build/generic-array/3c3fcac242ff634b/deps/libgeneric_array-3c3fcac242ff634b.rlib" "/opt/rustwide/target/debug/build/typenum/5c841780965d5b68/deps/libtypenum-5c841780965d5b68.rlib" "/opt/rustwide/target/debug/build/linkme/596df821e9eed45e/deps/liblinkme-596df821e9eed45e.rlib" "/opt/rustwide/target/debug/build/rand/4eb3a42a769aea90/deps/librand-4eb3a42a769aea90.rlib" "/opt/rustwide/target/debug/build/rand_chacha/42254fad8fb07ede/deps/librand_chacha-42254fad8fb07ede.rlib" "/opt/rustwide/target/debug/build/ppv-lite86/0e4a59af51b9c534/deps/libppv_lite86-0e4a59af51b9c534.rlib" "/opt/rustwide/target/debug/build/zerocopy/9ce4d6a01baf3e99/deps/libzerocopy-9ce4d6a01baf3e99.rlib" "/opt/rustwide/target/debug/build/rand_core/db64171440cf9601/deps/librand_core-db64171440cf9601.rlib" "/opt/rustwide/target/debug/build/getrandom/8e9cac77a3c8b20a/deps/libgetrandom-8e9cac77a3c8b20a.rlib" "/opt/rustwide/target/debug/build/log/cfb0a897de58af94/deps/liblog-cfb0a897de58af94.rlib" "/opt/rustwide/target/debug/build/serde/338b31457f878de3/deps/libserde-338b31457f878de3.rlib" "/opt/rustwide/target/debug/build/serde_core/57e528f07a610d2d/deps/libserde_core-57e528f07a610d2d.rlib" "/opt/rustwide/target/debug/build/lazy_static/b3603208c0de2608/deps/liblazy_static-b3603208c0de2608.rlib" "/opt/rustwide/target/debug/build/mac_address/034a03128c43f296/deps/libmac_address-034a03128c43f296.rlib" "/opt/rustwide/target/debug/build/nix/202bd63f3fdd28df/deps/libnix-202bd63f3fdd28df.rlib" "/opt/rustwide/target/debug/build/memoffset/3c8ed49e1d551200/deps/libmemoffset-3c8ed49e1d551200.rlib" "/opt/rustwide/target/debug/build/bitflags/443c99b827427271/deps/libbitflags-443c99b827427271.rlib" "/opt/rustwide/target/debug/build/cfg-if/5af52f617df93f8f/deps/libcfg_if-5af52f617df93f8f.rlib" "/opt/rustwide/target/debug/build/libc/e9cd57db9a71b8a3/deps/liblibc-e9cd57db9a71b8a3.rlib" "/opt/rustwide/target/debug/build/itertools/bb9dfc9f1c5526ce/deps/libitertools-bb9dfc9f1c5526ce.rlib" "/opt/rustwide/target/debug/build/either/ef22a4c75605e12f/deps/libeither-ef22a4c75605e12f.rlib" "/opt/rustwide/target/debug/build/mopa/972e8aac5c57b125/deps/libmopa-972e8aac5c57b125.rlib" "/opt/rustwide/target/debug/build/doc-comment/b7e3a4db9cdbc82e/deps/libdoc_comment-b7e3a4db9cdbc82e.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/build/oside/ced4659b1f62b270/deps/rustcbYXjhP/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/build/oside/ced4659b1f62b270/deps/bettersnmpwalk" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oside` (example "bettersnmpwalk") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `results_count` is never read [INFO] [stdout] --> src/oside_snmp_session.rs:868:25 [INFO] [stdout] | [INFO] [stdout] 868 | results_count += 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 `results_count` is never read [INFO] [stdout] --> src/oside_snmp_session.rs:913:29 [INFO] [stdout] | [INFO] [stdout] 913 | ... results_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1793:13 [INFO] [stdout] | [INFO] [stdout] 1793 | field_length += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1797:13 [INFO] [stdout] | [INFO] [stdout] 1797 | field_length += 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1801:13 [INFO] [stdout] | [INFO] [stdout] 1801 | field_length += 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field_length` is never read [INFO] [stdout] --> src/protocols/dot11.rs:1805:13 [INFO] [stdout] | [INFO] [stdout] 1805 | field_length += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [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] running `Command { std: "docker" "inspect" "250e27bcae54b7bea0bec5460d5315adf4ab7bf962de18c73c38cb89500417fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "250e27bcae54b7bea0bec5460d5315adf4ab7bf962de18c73c38cb89500417fe", kill_on_drop: false }` [INFO] [stdout] 250e27bcae54b7bea0bec5460d5315adf4ab7bf962de18c73c38cb89500417fe