[INFO] fetching crate rumtk-hl7-v2 0.9.4... [INFO] checking rumtk-hl7-v2-0.9.4 against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915 [INFO] extracting crate rumtk-hl7-v2 0.9.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rumtk-hl7-v2 0.9.4 [INFO] finished tweaking crates.io crate rumtk-hl7-v2 0.9.4 [INFO] tweaked toml for crates.io crate rumtk-hl7-v2 0.9.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rumtk-hl7-v2 0.9.4 on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rumtk-hl7-v2 0.9.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7067c52ae5754fee0006ba71c86b1fa270c38ac9ec4c1c717775301febd4fa36 [INFO] running `Command { std: "docker" "start" "-a" "7067c52ae5754fee0006ba71c86b1fa270c38ac9ec4c1c717775301febd4fa36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7067c52ae5754fee0006ba71c86b1fa270c38ac9ec4c1c717775301febd4fa36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7067c52ae5754fee0006ba71c86b1fa270c38ac9ec4c1c717775301febd4fa36", kill_on_drop: false }` [INFO] [stdout] 7067c52ae5754fee0006ba71c86b1fa270c38ac9ec4c1c717775301febd4fa36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7677ba565f4563c20c639608cc89c0c00b659b93993c6c0ba63db9b63f62103 [INFO] running `Command { std: "docker" "start" "-a" "d7677ba565f4563c20c639608cc89c0c00b659b93993c6c0ba63db9b63f62103", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking rand_core v0.10.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling pyo3-build-config v0.27.1 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Checking chardetng v0.1.17 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling pyo3-ffi v0.27.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.27.1 [INFO] [stderr] Compiling pyo3 v0.27.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling uuid-macro-internal v1.19.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.27.1 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking rumtk-core v0.14.2 [INFO] [stderr] Checking rumtk-hl7-v2 v0.9.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `V2_SEARCH_EXPR_TYPE` should have an upper camel case name [INFO] [stdout] --> src/hl7_v2_constants.rs:742:10 [INFO] [stdout] | [INFO] [stdout] 742 | pub enum V2_SEARCH_EXPR_TYPE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `V2SearchExprType` [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: variant `V2_DEFAULT` should have an upper camel case name [INFO] [stdout] --> src/hl7_v2_constants.rs:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | V2_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `V2Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rumtk_create_task` and `rumtk_resolve_task` [INFO] [stdout] --> src/hl7_v2_mllp.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | use rumtk_core::{rumtk_async_sleep, rumtk_create_task, rumtk_exec_task, rumtk_resolve_task}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MLLP_FILTER_POLICY` should have an upper camel case name [INFO] [stdout] --> src/hl7_v2_mllp.rs:443:14 [INFO] [stdout] | [INFO] [stdout] 443 | pub enum MLLP_FILTER_POLICY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MllpFilterPolicy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ESCAPE_INPUT` should have an upper camel case name [INFO] [stdout] --> src/hl7_v2_mllp.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | ESCAPE_INPUT = 1, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EscapeInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FILTER_INPUT` should have an upper camel case name [INFO] [stdout] --> src/hl7_v2_mllp.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | FILTER_INPUT = 2, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FilterInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RUMDeserializer` and `RUMSerializer` [INFO] [stdout] --> src/hl7_v2_parser.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | use rumtk_core::types::{RUMDeserialize, RUMDeserializer, RUMSerialize, RUMSerializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/hl7_v2_optionality_rules.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | const CONDITION_NOOP: V2ComponentConditionFn = |c: &V2ComponentList| false; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `V2_SEARCH_EXPR_TYPE` should have an upper camel case name [INFO] [stdout] --> src/hl7_v2_constants.rs:742:10 [INFO] [stdout] | [INFO] [stdout] 742 | pub enum V2_SEARCH_EXPR_TYPE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `V2SearchExprType` [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: variant `V2_DEFAULT` should have an upper camel case name [INFO] [stdout] --> src/hl7_v2_constants.rs:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | V2_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `V2Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToCompactString` [INFO] [stdout] --> src/hl7_v2_mllp.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | RUMStringConversions, ToCompactString, [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 imports: `rumtk_create_task` and `rumtk_resolve_task` [INFO] [stdout] --> src/hl7_v2_mllp.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | use rumtk_core::{rumtk_async_sleep, rumtk_create_task, rumtk_exec_task, rumtk_resolve_task}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MLLP_FILTER_POLICY` should have an upper camel case name [INFO] [stdout] --> src/hl7_v2_mllp.rs:443:14 [INFO] [stdout] | [INFO] [stdout] 443 | pub enum MLLP_FILTER_POLICY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MllpFilterPolicy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ESCAPE_INPUT` should have an upper camel case name [INFO] [stdout] --> src/hl7_v2_mllp.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | ESCAPE_INPUT = 1, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EscapeInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FILTER_INPUT` should have an upper camel case name [INFO] [stdout] --> src/hl7_v2_mllp.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | FILTER_INPUT = 2, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FilterInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RUMDeserializer` and `RUMSerializer` [INFO] [stdout] --> src/hl7_v2_parser.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | use rumtk_core::types::{RUMDeserialize, RUMDeserializer, RUMSerialize, RUMSerializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rumtk_create_task` and `rumtk_resolve_task` [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | rumtk_create_task, rumtk_deserialize, rumtk_exec_task, rumtk_resolve_task, rumtk_serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | let message = rumtk_v2_parse_message!(&DEFAULT_HL7_V2_MESSAGE).unwrap(); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:431:33 [INFO] [stdout] | [INFO] [stdout] 431 | let generated_message = rumtk_v2_parse_message!(&generated_message_string).unwrap(); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 441 | let message = rumtk_v2_parse_message!(&HL7_V2_MESSAGE).unwrap(); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:443:33 [INFO] [stdout] | [INFO] [stdout] 443 | let generated_message = rumtk_v2_parse_message!(&generated_message_string).unwrap(); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:453:23 [INFO] [stdout] | [INFO] [stdout] 453 | let message = rumtk_v2_parse_message!(&HL7_V2_PDF_MESSAGE).unwrap(); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:455:33 [INFO] [stdout] | [INFO] [stdout] 455 | let generated_message = rumtk_v2_parse_message!(&generated_message_string).unwrap(); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:465:23 [INFO] [stdout] | [INFO] [stdout] 465 | let message = rumtk_v2_parse_message!(&HL7_V2_REPEATING_FIELD_MESSAGE).unwrap(); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:467:33 [INFO] [stdout] | [INFO] [stdout] 467 | let generated_message = rumtk_v2_parse_message!(&generated_message_string).unwrap(); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:531:23 [INFO] [stdout] | [INFO] [stdout] 531 | let message = rumtk_v2_parse_message!(DEFAULT_HL7_V2_MESSAGE).unwrap(); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:561:15 [INFO] [stdout] | [INFO] [stdout] 561 | match rumtk_v2_parse_message!(input) { [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:573:23 [INFO] [stdout] | [INFO] [stdout] 573 | let message = rumtk_v2_parse_message!(DEFAULT_HL7_V2_MESSAGE).unwrap(); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V2Component` and `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:794:52 [INFO] [stdout] | [INFO] [stdout] 794 | use $crate::hl7_v2_parser::v2_parser::{V2Component, V2Result}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:574:25 [INFO] [stdout] | [INFO] [stdout] 574 | let component = rumtk_v2_find_component!(message, pattern).unwrap(); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_find_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:589:23 [INFO] [stdout] | [INFO] [stdout] 589 | let message = rumtk_v2_parse_message!(DEFAULT_HL7_V2_MESSAGE).unwrap(); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V2Component` and `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:794:52 [INFO] [stdout] | [INFO] [stdout] 794 | use $crate::hl7_v2_parser::v2_parser::{V2Component, V2Result}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:590:25 [INFO] [stdout] | [INFO] [stdout] 590 | let component = rumtk_v2_find_component!(message, pattern).unwrap(); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_find_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:605:23 [INFO] [stdout] | [INFO] [stdout] 605 | let message = rumtk_v2_parse_message!(HL7_V2_MSH_ONLY).unwrap(); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V2Component` and `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:794:52 [INFO] [stdout] | [INFO] [stdout] 794 | use $crate::hl7_v2_parser::v2_parser::{V2Component, V2Result}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:606:25 [INFO] [stdout] | [INFO] [stdout] 606 | let component = rumtk_v2_find_component!(message, pattern).unwrap(); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_find_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:625:23 [INFO] [stdout] | [INFO] [stdout] 625 | let message = rumtk_v2_parse_message!(DEFAULT_HL7_V2_MESSAGE).unwrap(); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V2Component` and `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:794:52 [INFO] [stdout] | [INFO] [stdout] 794 | use $crate::hl7_v2_parser::v2_parser::{V2Component, V2Result}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:626:15 [INFO] [stdout] | [INFO] [stdout] 626 | match rumtk_v2_find_component!(message, pattern) { [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_find_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:695:23 [INFO] [stdout] | [INFO] [stdout] 695 | let message = rumtk_v2_parse_message!(DEFAULT_HL7_V2_MESSAGE).unwrap(); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V2Component` and `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:794:52 [INFO] [stdout] | [INFO] [stdout] 794 | use $crate::hl7_v2_parser::v2_parser::{V2Component, V2Result}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:696:25 [INFO] [stdout] | [INFO] [stdout] 696 | let component = rumtk_v2_find_component!(message, location).unwrap(); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_find_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:758:23 [INFO] [stdout] | [INFO] [stdout] 758 | let message = rumtk_v2_parse_message!(VXU_HL7_V2_MESSAGE).unwrap(); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `V2Component` and `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:794:52 [INFO] [stdout] | [INFO] [stdout] 794 | use $crate::hl7_v2_parser::v2_parser::{V2Component, V2Result}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:759:25 [INFO] [stdout] | [INFO] [stdout] 759 | let component = rumtk_v2_find_component!(message, location).unwrap(); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_find_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1315:23 [INFO] [stdout] | [INFO] [stdout] 1315 | let message = rumtk_v2_parse_message!(V2_JSON_MESSAGE).unwrap(); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1328:23 [INFO] [stdout] | [INFO] [stdout] 1328 | let message = rumtk_v2_parse_message!(DEFAULT_HL7_V2_MESSAGE).unwrap(); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1340:43 [INFO] [stdout] | [INFO] [stdout] 1340 | let expected_message: V2Message = rumtk_v2_parse_message!(V2_JSON_MESSAGE_BASIC).unwrap(); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V2Result` [INFO] [stdout] --> src/hl7_v2_parser.rs:761:63 [INFO] [stdout] | [INFO] [stdout] 761 | use $crate::hl7_v2_parser::v2_parser::{V2Message, V2Result}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1354:15 [INFO] [stdout] | [INFO] [stdout] 1354 | match rumtk_v2_parse_message!(&input) { [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rumtk_v2_parse_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToCompactString` [INFO] [stdout] --> src/hl7_v2_mllp.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | RUMStringConversions, ToCompactString, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/hl7_v2_base_types.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | fn expr_type(expr: &str) -> V2_SEARCH_EXPR_TYPE { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `why` [INFO] [stdout] --> src/hl7_v2_base_types.rs:882:21 [INFO] [stdout] | [INFO] [stdout] 882 | Err(why) => Err(rumtk_format!( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `why` [INFO] [stdout] --> src/hl7_v2_base_types.rs:898:21 [INFO] [stdout] | [INFO] [stdout] 898 | Err(why) => Err(rumtk_format!( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/hl7_v2_mllp.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 540 | for i in 0..RETRY_SOURCE { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/hl7_v2_mllp.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | for i in 0..TIMEOUT_SOURCE { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/hl7_v2_mllp.rs:677:17 [INFO] [stdout] | [INFO] [stdout] 677 | for i in 0..timeout { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hl7_v2_parser.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let mut component_list: ComponentList = vec![V2Component::from_str(val)]; [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] --> src/hl7_v2_parser.rs:566:17 [INFO] [stdout] | [INFO] [stdout] 566 | let mut field = match segment.get_mut(index.field as isize)?.get_mut((index.field_group - 1) as usize) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MLLPMessageResult` is never used [INFO] [stdout] --> src/hl7_v2_mllp.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | type MLLPMessageResult = RUMResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MLLPClientMessageQueue` is never used [INFO] [stdout] --> src/hl7_v2_mllp.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | type MLLPClientMessageQueue = RUMNetClientMessageQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MLLPMessageQueue` is never used [INFO] [stdout] --> src/hl7_v2_mllp.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | type MLLPMessageQueue = RUMNetMessageQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SafeClientIDList` is never used [INFO] [stdout] --> src/hl7_v2_mllp.rs:463:10 [INFO] [stdout] | [INFO] [stdout] 463 | type SafeClientIDList = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hl7_v2_parser.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl V2Component { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 104 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_PROCESSOR_FUNCTION_NAME` is never used [INFO] [stdout] --> src/hl7_v2_scripting.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | const EXPECTED_PROCESSOR_FUNCTION_NAME: &str = "process"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_message` is never used [INFO] [stdout] --> src/hl7_v2_scripting.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn process_message(module_path: &RUMString, message: &V2Message) -> RUMResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hl7_v2_complex_types.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | fn to_component_list(&self) -> V2StrField; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn to_component_list(&self) -> V2StrField<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `repeate_field1` should have an upper case name [INFO] [stdout] --> src/hl7_v2_datasets.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub const repeate_field1: &str = "ISO"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `REPEATE_FIELD1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `repeate_field2` should have an upper case name [INFO] [stdout] --> src/hl7_v2_datasets.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | pub const repeate_field2: &str = "LOI_GU_Component"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `REPEATE_FIELD2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `repeate_field3` should have an upper case name [INFO] [stdout] --> src/hl7_v2_datasets.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub const repeate_field3: &str = "LAB_PRU_Component"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `REPEATE_FIELD3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hl7_v2_mllp.rs:526:29 [INFO] [stdout] | [INFO] [stdout] 526 | async fn next_layer(&self) -> GuardedLowerLayer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 526 | async fn next_layer(&self) -> GuardedLowerLayer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hl7_v2_mllp.rs:751:33 [INFO] [stdout] | [INFO] [stdout] 751 | pub async fn next_layer(&self) -> GuardedMLLPLayer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 751 | pub async fn next_layer(&self) -> GuardedMLLPLayer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `search_cache` should have an upper case name [INFO] [stdout] --> src/hl7_v2_parser.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | static mut search_cache: LazyRUMCache = new_cache(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 60 - static mut search_cache: LazyRUMCache = new_cache(); [INFO] [stdout] 60 + static mut SEARCH_CACHE: LazyRUMCache = new_cache(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/hl7_v2_parser.rs:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | let index = rumtk_cache_fetch!(&mut search_cache, search_pattern, || {compile_search_index(search_pattern)})?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 551 | let index = rumtk_cache_fetch!(&raw mut search_cache, search_pattern, || {compile_search_index(search_pattern)})?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/hl7_v2_parser.rs:564:44 [INFO] [stdout] | [INFO] [stdout] 564 | let index = rumtk_cache_fetch!(&mut search_cache, search_pattern, || {compile_search_index(search_pattern)})?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 564 | let index = rumtk_cache_fetch!(&raw mut search_cache, search_pattern, || {compile_search_index(search_pattern)})?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `str_as_str` is declared but not used [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | #![feature(str_as_str)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/hl7_v2_optionality_rules.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | const CONDITION_NOOP: V2ComponentConditionFn = |c: &V2ComponentList| false; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/hl7_v2_base_types.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | fn expr_type(expr: &str) -> V2_SEARCH_EXPR_TYPE { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `why` [INFO] [stdout] --> src/hl7_v2_base_types.rs:882:21 [INFO] [stdout] | [INFO] [stdout] 882 | Err(why) => Err(rumtk_format!( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `why` [INFO] [stdout] --> src/hl7_v2_base_types.rs:898:21 [INFO] [stdout] | [INFO] [stdout] 898 | Err(why) => Err(rumtk_format!( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/hl7_v2_mllp.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 540 | for i in 0..RETRY_SOURCE { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/hl7_v2_mllp.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | for i in 0..TIMEOUT_SOURCE { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/hl7_v2_mllp.rs:677:17 [INFO] [stdout] | [INFO] [stdout] 677 | for i in 0..timeout { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hl7_v2_parser.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let mut component_list: ComponentList = vec![V2Component::from_str(val)]; [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] --> src/hl7_v2_parser.rs:566:17 [INFO] [stdout] | [INFO] [stdout] 566 | let mut field = match segment.get_mut(index.field as isize)?.get_mut((index.field_group - 1) as usize) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:562:16 [INFO] [stdout] | [INFO] [stdout] 562 | Ok(v) => panic!("{}", err_msg.as_str()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:627:16 [INFO] [stdout] | [INFO] [stdout] 627 | Ok(v) => panic!("{}", err_msg.as_str()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:1029:14 [INFO] [stdout] | [INFO] [stdout] 1029 | let (ip, port) = rumtk_v2_mllp_get_ip_port!(mllp_layer).unwrap_or_default(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:1044:14 [INFO] [stdout] | [INFO] [stdout] 1044 | let (ip, port) = rumtk_v2_mllp_get_ip_port!(mllp).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:1068:14 [INFO] [stdout] | [INFO] [stdout] 1068 | let (ip, port) = rumtk_v2_mllp_get_ip_port!(&mllp_layer).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/lib.rs:1068:18 [INFO] [stdout] | [INFO] [stdout] 1068 | let (ip, port) = rumtk_v2_mllp_get_ip_port!(&mllp_layer).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_h` [INFO] [stdout] --> src/lib.rs:1078:13 [INFO] [stdout] | [INFO] [stdout] 1078 | let send_h = spawn(|| -> RUMResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:1111:14 [INFO] [stdout] | [INFO] [stdout] 1111 | let (ip, port) = rumtk_v2_mllp_get_ip_port!(mllp_layer).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:1118:13 [INFO] [stdout] | [INFO] [stdout] 1118 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1146:13 [INFO] [stdout] | [INFO] [stdout] 1146 | let mut server_channel = server_channels.get_mut(0).unwrap().clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:1132:29 [INFO] [stdout] | [INFO] [stdout] 1132 | let empty_string = |s: RUMString| Ok::(RUMString::from("")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty_string` [INFO] [stdout] --> src/lib.rs:1132:13 [INFO] [stdout] | [INFO] [stdout] 1132 | let empty_string = |s: RUMString| Ok::(RUMString::from("")); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:1137:14 [INFO] [stdout] | [INFO] [stdout] 1137 | let (ip, port) = rumtk_v2_mllp_get_ip_port!(&safe_listener).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1162:13 [INFO] [stdout] | [INFO] [stdout] 1162 | let mut safe_listener = match rumtk_v2_mllp_listen!(0, MLLP_FILTER_POLICY::NONE, true) { [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] --> src/lib.rs:1175:13 [INFO] [stdout] | [INFO] [stdout] 1175 | let mut server_channel = server_channels.get_mut(0).unwrap().clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:1166:14 [INFO] [stdout] | [INFO] [stdout] 1166 | let (ip, port) = rumtk_v2_mllp_get_ip_port!(safe_listener).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_thread` [INFO] [stdout] --> src/lib.rs:1178:13 [INFO] [stdout] | [INFO] [stdout] 1178 | let send_thread = spawn(move || -> RUMResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1219:13 [INFO] [stdout] | [INFO] [stdout] 1219 | let mut safe_listener = match rumtk_v2_mllp_listen!(0, MLLP_FILTER_POLICY::NONE, true) { [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] --> src/lib.rs:1233:13 [INFO] [stdout] | [INFO] [stdout] 1233 | let mut server_channel = server_channels.get_mut(0).unwrap().clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:1218:29 [INFO] [stdout] | [INFO] [stdout] 1218 | let empty_string = |s: RUMString| Ok::(RUMString::from("")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `empty_string` [INFO] [stdout] --> src/lib.rs:1218:13 [INFO] [stdout] | [INFO] [stdout] 1218 | let empty_string = |s: RUMString| Ok::(RUMString::from("")); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_empty_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/lib.rs:1223:14 [INFO] [stdout] | [INFO] [stdout] 1223 | let (ip, port) = rumtk_v2_mllp_get_ip_port!(safe_listener).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_channel_copy` [INFO] [stdout] --> src/lib.rs:1234:13 [INFO] [stdout] | [INFO] [stdout] 1234 | let server_channel_copy = server_channel.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_channel_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_thread` [INFO] [stdout] --> src/lib.rs:1235:13 [INFO] [stdout] | [INFO] [stdout] 1235 | let send_thread = spawn(move || -> RUMResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `echo_thread` [INFO] [stdout] --> src/lib.rs:1274:13 [INFO] [stdout] | [INFO] [stdout] 1274 | let echo_thread = spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_echo_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MLLPMessageResult` is never used [INFO] [stdout] --> src/hl7_v2_mllp.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | type MLLPMessageResult = RUMResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MLLPClientMessageQueue` is never used [INFO] [stdout] --> src/hl7_v2_mllp.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | type MLLPClientMessageQueue = RUMNetClientMessageQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MLLPMessageQueue` is never used [INFO] [stdout] --> src/hl7_v2_mllp.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | type MLLPMessageQueue = RUMNetMessageQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SafeClientIDList` is never used [INFO] [stdout] --> src/hl7_v2_mllp.rs:463:10 [INFO] [stdout] | [INFO] [stdout] 463 | type SafeClientIDList = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hl7_v2_parser.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl V2Component { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 104 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED_PROCESSOR_FUNCTION_NAME` is never used [INFO] [stdout] --> src/hl7_v2_scripting.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | const EXPECTED_PROCESSOR_FUNCTION_NAME: &str = "process"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_message` is never used [INFO] [stdout] --> src/hl7_v2_scripting.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn process_message(module_path: &RUMString, message: &V2Message) -> RUMResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hl7_v2_complex_types.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | fn to_component_list(&self) -> V2StrField; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn to_component_list(&self) -> V2StrField<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `repeate_field1` should have an upper case name [INFO] [stdout] --> src/hl7_v2_datasets.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub const repeate_field1: &str = "ISO"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `REPEATE_FIELD1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `repeate_field2` should have an upper case name [INFO] [stdout] --> src/hl7_v2_datasets.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | pub const repeate_field2: &str = "LOI_GU_Component"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `REPEATE_FIELD2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `repeate_field3` should have an upper case name [INFO] [stdout] --> src/hl7_v2_datasets.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub const repeate_field3: &str = "LAB_PRU_Component"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `REPEATE_FIELD3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hl7_v2_mllp.rs:526:29 [INFO] [stdout] | [INFO] [stdout] 526 | async fn next_layer(&self) -> GuardedLowerLayer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 526 | async fn next_layer(&self) -> GuardedLowerLayer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hl7_v2_mllp.rs:751:33 [INFO] [stdout] | [INFO] [stdout] 751 | pub async fn next_layer(&self) -> GuardedMLLPLayer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 751 | pub async fn next_layer(&self) -> GuardedMLLPLayer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `search_cache` should have an upper case name [INFO] [stdout] --> src/hl7_v2_parser.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | static mut search_cache: LazyRUMCache = new_cache(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 60 - static mut search_cache: LazyRUMCache = new_cache(); [INFO] [stdout] 60 + static mut SEARCH_CACHE: LazyRUMCache = new_cache(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/hl7_v2_parser.rs:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | let index = rumtk_cache_fetch!(&mut search_cache, search_pattern, || {compile_search_index(search_pattern)})?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 551 | let index = rumtk_cache_fetch!(&raw mut search_cache, search_pattern, || {compile_search_index(search_pattern)})?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/hl7_v2_parser.rs:564:44 [INFO] [stdout] | [INFO] [stdout] 564 | let index = rumtk_cache_fetch!(&mut search_cache, search_pattern, || {compile_search_index(search_pattern)})?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 564 | let index = rumtk_cache_fetch!(&raw mut search_cache, search_pattern, || {compile_search_index(search_pattern)})?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.47s [INFO] running `Command { std: "docker" "inspect" "d7677ba565f4563c20c639608cc89c0c00b659b93993c6c0ba63db9b63f62103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7677ba565f4563c20c639608cc89c0c00b659b93993c6c0ba63db9b63f62103", kill_on_drop: false }` [INFO] [stdout] d7677ba565f4563c20c639608cc89c0c00b659b93993c6c0ba63db9b63f62103