[INFO] fetching crate hl7 0.0.2... [INFO] testing hl7-0.0.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate hl7 0.0.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate hl7 0.0.2 [INFO] finished tweaking crates.io crate hl7 0.0.2 [INFO] tweaked toml for crates.io crate hl7 0.0.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hl7 0.0.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 937a54222e048afa0b81f439d98c1a910d350fa44a8b32b8781beea466c01e41 [INFO] running `Command { std: "docker" "start" "-a" "937a54222e048afa0b81f439d98c1a910d350fa44a8b32b8781beea466c01e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "937a54222e048afa0b81f439d98c1a910d350fa44a8b32b8781beea466c01e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "937a54222e048afa0b81f439d98c1a910d350fa44a8b32b8781beea466c01e41", kill_on_drop: false }` [INFO] [stdout] 937a54222e048afa0b81f439d98c1a910d350fa44a8b32b8781beea466c01e41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e7493c25ad6c487cc91df8d38cf3c58f721971eb955e8a4b3e355aedbaa18fed [INFO] running `Command { std: "docker" "start" "-a" "e7493c25ad6c487cc91df8d38cf3c58f721971eb955e8a4b3e355aedbaa18fed", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling hl7 v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `ORU_R01_PATIENT` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_patient.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub_struct!(ORU_R01_PATIENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01Patient` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01_PATIENT_OBSERVATION` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_patient_observation.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub_struct!(ORU_R01_PATIENT_OBSERVATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01PatientObservation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01_PATIENT_RESULT` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_patient_result.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub_struct!(ORU_R01_PATIENT_RESULT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01PatientResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01_VISIT` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_visit.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub_struct!(ORU_R01_VISIT { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01Visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01` should have an upper camel case name [INFO] [stdout] --> src/messages/oru_r01.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub_struct!(ORU_R01 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OruR01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oru` [INFO] [stdout] --> src/messages/oru_r01.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut oru = ORU_R01::default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_oru` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msh` [INFO] [stdout] --> src/messages/oru_r01.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let msh: Option = lines.next().map(|msh| msh.parse::().unwrap()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/messages/oru_r01.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut oru = ORU_R01::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_delim` [INFO] [stdout] --> src/segments/msh.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let component_delim = &encoding_chars[0..1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_delim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `escape_char` [INFO] [stdout] --> src/segments/msh.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let escape_char = &encoding_chars[2..3]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_escape_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_component_delim` [INFO] [stdout] --> src/segments/msh.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let sub_component_delim = &encoding_chars[3..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_component_delim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/segments/mod.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SegmentParsingError` [INFO] [stdout] 76 | pub enum SegmentParsingError { [INFO] [stdout] | ------------------- `SegmentParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/segments/mod.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SegmentParsingError` [INFO] [stdout] 76 | pub enum SegmentParsingError { [INFO] [stdout] | ------------------- `SegmentParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.78s [INFO] running `Command { std: "docker" "inspect" "e7493c25ad6c487cc91df8d38cf3c58f721971eb955e8a4b3e355aedbaa18fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7493c25ad6c487cc91df8d38cf3c58f721971eb955e8a4b3e355aedbaa18fed", kill_on_drop: false }` [INFO] [stdout] e7493c25ad6c487cc91df8d38cf3c58f721971eb955e8a4b3e355aedbaa18fed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2618b15ea0846d41744d4448c6c5d1e7956b5bcb9720507477e74468ca3f4fea [INFO] running `Command { std: "docker" "start" "-a" "2618b15ea0846d41744d4448c6c5d1e7956b5bcb9720507477e74468ca3f4fea", kill_on_drop: false }` [INFO] [stderr] Compiling hl7 v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `ORU_R01_PATIENT` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_patient.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub_struct!(ORU_R01_PATIENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01Patient` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01_PATIENT_OBSERVATION` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_patient_observation.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub_struct!(ORU_R01_PATIENT_OBSERVATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01PatientObservation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01_PATIENT_RESULT` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_patient_result.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub_struct!(ORU_R01_PATIENT_RESULT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01PatientResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01_VISIT` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_visit.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub_struct!(ORU_R01_VISIT { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01Visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01` should have an upper camel case name [INFO] [stdout] --> src/messages/oru_r01.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub_struct!(ORU_R01 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OruR01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oru` [INFO] [stdout] --> src/messages/oru_r01.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut oru = ORU_R01::default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_oru` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msh` [INFO] [stdout] --> src/messages/oru_r01.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let msh: Option = lines.next().map(|msh| msh.parse::().unwrap()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/messages/oru_r01.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut oru = ORU_R01::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_delim` [INFO] [stdout] --> src/segments/msh.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let component_delim = &encoding_chars[0..1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_delim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `escape_char` [INFO] [stdout] --> src/segments/msh.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let escape_char = &encoding_chars[2..3]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_escape_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_component_delim` [INFO] [stdout] --> src/segments/msh.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let sub_component_delim = &encoding_chars[3..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_component_delim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/segments/mod.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SegmentParsingError` [INFO] [stdout] 76 | pub enum SegmentParsingError { [INFO] [stdout] | ------------------- `SegmentParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/segments/mod.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SegmentParsingError` [INFO] [stdout] 76 | pub enum SegmentParsingError { [INFO] [stdout] | ------------------- `SegmentParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01_PATIENT` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_patient.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub_struct!(ORU_R01_PATIENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01Patient` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01_PATIENT_OBSERVATION` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_patient_observation.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub_struct!(ORU_R01_PATIENT_OBSERVATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01PatientObservation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01_PATIENT_RESULT` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_patient_result.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub_struct!(ORU_R01_PATIENT_RESULT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01PatientResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01_VISIT` should have an upper camel case name [INFO] [stdout] --> src/groups/oru_r01_visit.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub_struct!(ORU_R01_VISIT { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01Visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ORU_R01` should have an upper camel case name [INFO] [stdout] --> src/messages/oru_r01.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub_struct!(ORU_R01 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OruR01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oru` [INFO] [stdout] --> src/messages/oru_r01.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut oru = ORU_R01::default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_oru` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msh` [INFO] [stdout] --> src/messages/oru_r01.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let msh: Option = lines.next().map(|msh| msh.parse::().unwrap()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/messages/oru_r01.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut oru = ORU_R01::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_delim` [INFO] [stdout] --> src/segments/msh.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let component_delim = &encoding_chars[0..1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_delim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `escape_char` [INFO] [stdout] --> src/segments/msh.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let escape_char = &encoding_chars[2..3]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_escape_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_component_delim` [INFO] [stdout] --> src/segments/msh.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let sub_component_delim = &encoding_chars[3..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_component_delim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parsed` [INFO] [stdout] --> src/lib.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let parsed: ORU_R01 = msg.parse().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/segments/mod.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SegmentParsingError` [INFO] [stdout] 76 | pub enum SegmentParsingError { [INFO] [stdout] | ------------------- `SegmentParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/segments/mod.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SegmentParsingError` [INFO] [stdout] 76 | pub enum SegmentParsingError { [INFO] [stdout] | ------------------- `SegmentParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `msg` should have an upper case name [INFO] [stdout] --> src/lib.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | const msg: &str = r#"MSH|^~\&|LAB|MYFAC|LAB||201411130917||ORU^R01|3216598|D|2.3|||AL|NE| [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `MSG` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.87s [INFO] running `Command { std: "docker" "inspect" "2618b15ea0846d41744d4448c6c5d1e7956b5bcb9720507477e74468ca3f4fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2618b15ea0846d41744d4448c6c5d1e7956b5bcb9720507477e74468ca3f4fea", kill_on_drop: false }` [INFO] [stdout] 2618b15ea0846d41744d4448c6c5d1e7956b5bcb9720507477e74468ca3f4fea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6e4796c42f5c50d5aa579e3935bc394adae6c3d41d5fb2e859d360d80dbafb8d [INFO] running `Command { std: "docker" "start" "-a" "6e4796c42f5c50d5aa579e3935bc394adae6c3d41d5fb2e859d360d80dbafb8d", kill_on_drop: false }` [INFO] [stderr] warning: type `ORU_R01_PATIENT` should have an upper camel case name [INFO] [stderr] --> src/groups/oru_r01_patient.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | pub_struct!(ORU_R01_PATIENT { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01Patient` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `ORU_R01_PATIENT_OBSERVATION` should have an upper camel case name [INFO] [stderr] --> src/groups/oru_r01_patient_observation.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | pub_struct!(ORU_R01_PATIENT_OBSERVATION { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01PatientObservation` [INFO] [stderr] [INFO] [stderr] warning: type `ORU_R01_PATIENT_RESULT` should have an upper camel case name [INFO] [stderr] --> src/groups/oru_r01_patient_result.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | pub_struct!(ORU_R01_PATIENT_RESULT { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01PatientResult` [INFO] [stderr] [INFO] [stderr] warning: type `ORU_R01_VISIT` should have an upper camel case name [INFO] [stderr] --> src/groups/oru_r01_visit.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | pub_struct!(ORU_R01_VISIT { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OruR01Visit` [INFO] [stderr] [INFO] [stderr] warning: type `ORU_R01` should have an upper camel case name [INFO] [stderr] --> src/messages/oru_r01.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | pub_struct!(ORU_R01 { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `OruR01` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `oru` [INFO] [stderr] --> src/messages/oru_r01.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | let mut oru = ORU_R01::default(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_oru` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msh` [INFO] [stderr] --> src/messages/oru_r01.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let msh: Option = lines.next().map(|msh| msh.parse::().unwrap()); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msh` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/messages/oru_r01.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | let mut oru = ORU_R01::default(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `component_delim` [INFO] [stderr] --> src/segments/msh.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | let component_delim = &encoding_chars[0..1]; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_delim` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `escape_char` [INFO] [stderr] --> src/segments/msh.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | let escape_char = &encoding_chars[2..3]; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_escape_char` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_component_delim` [INFO] [stderr] --> src/segments/msh.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | let sub_component_delim = &encoding_chars[3..4]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_component_delim` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/lib.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn parse(input: &str) -> Vec> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/segments/mod.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SegmentParsingError` [INFO] [stderr] 76 | pub enum SegmentParsingError { [INFO] [stderr] | ------------------- `SegmentParsingError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/segments/mod.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SegmentParsingError` [INFO] [stderr] 76 | pub enum SegmentParsingError { [INFO] [stderr] | ------------------- `SegmentParsingError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parsed` [INFO] [stderr] --> src/lib.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let parsed: ORU_R01 = msg.parse().unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed` [INFO] [stderr] [INFO] [stderr] warning: constant `msg` should have an upper case name [INFO] [stderr] --> src/lib.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | const msg: &str = r#"MSH|^~\&|LAB|MYFAC|LAB||201411130917||ORU^R01|3216598|D|2.3|||AL|NE| [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `MSG` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hl7` (lib) generated 15 warnings (run `cargo fix --lib -p hl7` to apply 2 suggestions) [INFO] [stderr] warning: `hl7` (lib test) generated 17 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hl7-6ebabaf44f37d6ab) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_parse_msh ... ok [INFO] [stdout] test tests::test_parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e4796c42f5c50d5aa579e3935bc394adae6c3d41d5fb2e859d360d80dbafb8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e4796c42f5c50d5aa579e3935bc394adae6c3d41d5fb2e859d360d80dbafb8d", kill_on_drop: false }` [INFO] [stdout] 6e4796c42f5c50d5aa579e3935bc394adae6c3d41d5fb2e859d360d80dbafb8d