[INFO] fetching crate hl7 0.0.2... [INFO] testing hl7-0.0.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate hl7 0.0.2 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hl7 0.0.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d93147357c5c43fc5960d9890d8ce818b38e07c8bb0b46b6c3b66724429f00cd [INFO] running `Command { std: "docker" "start" "-a" "d93147357c5c43fc5960d9890d8ce818b38e07c8bb0b46b6c3b66724429f00cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d93147357c5c43fc5960d9890d8ce818b38e07c8bb0b46b6c3b66724429f00cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d93147357c5c43fc5960d9890d8ce818b38e07c8bb0b46b6c3b66724429f00cd", kill_on_drop: false }` [INFO] [stdout] d93147357c5c43fc5960d9890d8ce818b38e07c8bb0b46b6c3b66724429f00cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 147f48e9bed00ee95f9329e6600d05d2f0f56a8a4c7c049a8cbc3ab1a1425f8e [INFO] running `Command { std: "docker" "start" "-a" "147f48e9bed00ee95f9329e6600d05d2f0f56a8a4c7c049a8cbc3ab1a1425f8e", kill_on_drop: false }` [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.76 [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 6.84s [INFO] running `Command { std: "docker" "inspect" "147f48e9bed00ee95f9329e6600d05d2f0f56a8a4c7c049a8cbc3ab1a1425f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "147f48e9bed00ee95f9329e6600d05d2f0f56a8a4c7c049a8cbc3ab1a1425f8e", kill_on_drop: false }` [INFO] [stdout] 147f48e9bed00ee95f9329e6600d05d2f0f56a8a4c7c049a8cbc3ab1a1425f8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6825ba4596400af55c37bc1ca799492156086e569059b5ef5662c175bb79b6f [INFO] running `Command { std: "docker" "start" "-a" "f6825ba4596400af55c37bc1ca799492156086e569059b5ef5662c175bb79b6f", kill_on_drop: false }` [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] [stderr] Compiling hl7 v0.0.2 (/opt/rustwide/workdir) [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 20 - const msg: &str = r#"MSH|^~\&|LAB|MYFAC|LAB||201411130917||ORU^R01|3216598|D|2.3|||AL|NE| [INFO] [stdout] 20 + const MSG: &str = r#"MSH|^~\&|LAB|MYFAC|LAB||201411130917||ORU^R01|3216598|D|2.3|||AL|NE| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.74s [INFO] running `Command { std: "docker" "inspect" "f6825ba4596400af55c37bc1ca799492156086e569059b5ef5662c175bb79b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6825ba4596400af55c37bc1ca799492156086e569059b5ef5662c175bb79b6f", kill_on_drop: false }` [INFO] [stdout] f6825ba4596400af55c37bc1ca799492156086e569059b5ef5662c175bb79b6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0534d0315a53ee287893e340ad9bca2a70b4f30be4463868edc219f1f4623ff [INFO] running `Command { std: "docker" "start" "-a" "a0534d0315a53ee287893e340ad9bca2a70b4f30be4463868edc219f1f4623ff", 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: `hl7` (lib) generated 15 warnings (run `cargo fix --lib -p hl7` to apply 2 suggestions) [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] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 20 - const msg: &str = r#"MSH|^~\&|LAB|MYFAC|LAB||201411130917||ORU^R01|3216598|D|2.3|||AL|NE| [INFO] [stderr] 20 + const MSG: &str = r#"MSH|^~\&|LAB|MYFAC|LAB||201411130917||ORU^R01|3216598|D|2.3|||AL|NE| [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hl7` (lib test) generated 17 warnings (15 duplicates) (run `cargo fix --lib -p hl7 --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hl7-9c2ae9cf5bb9c525) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_parse_msh ... ok [INFO] [stderr] Doc-tests hl7 [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] [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: 5 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a0534d0315a53ee287893e340ad9bca2a70b4f30be4463868edc219f1f4623ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0534d0315a53ee287893e340ad9bca2a70b4f30be4463868edc219f1f4623ff", kill_on_drop: false }` [INFO] [stdout] a0534d0315a53ee287893e340ad9bca2a70b4f30be4463868edc219f1f4623ff