[INFO] fetching crate hl7 0.0.2... [INFO] checking hl7-0.0.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate hl7 0.0.2 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hl7 0.0.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7793e0643dc905a6b5041e728d98662190cbca8883948a31cdc9751020b87885 [INFO] running `Command { std: "docker" "start" "-a" "7793e0643dc905a6b5041e728d98662190cbca8883948a31cdc9751020b87885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7793e0643dc905a6b5041e728d98662190cbca8883948a31cdc9751020b87885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7793e0643dc905a6b5041e728d98662190cbca8883948a31cdc9751020b87885", kill_on_drop: false }` [INFO] [stdout] 7793e0643dc905a6b5041e728d98662190cbca8883948a31cdc9751020b87885 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2404043c7767bb217d4df80ff26984e9eba3c690bf0b07926baacd667c808881 [INFO] running `Command { std: "docker" "start" "-a" "2404043c7767bb217d4df80ff26984e9eba3c690bf0b07926baacd667c808881", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking 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: 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: 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: `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: `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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.05s [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] running `Command { std: "docker" "inspect" "2404043c7767bb217d4df80ff26984e9eba3c690bf0b07926baacd667c808881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2404043c7767bb217d4df80ff26984e9eba3c690bf0b07926baacd667c808881", kill_on_drop: false }` [INFO] [stdout] 2404043c7767bb217d4df80ff26984e9eba3c690bf0b07926baacd667c808881