[INFO] fetching crate hl7 0.0.2... [INFO] checking hl7-0.0.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate hl7 0.0.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate hl7 0.0.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93b5ab41e3f2419ef1092a0b442d65030db9eb9d9cb00ebc8e336ee0431204bf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "93b5ab41e3f2419ef1092a0b442d65030db9eb9d9cb00ebc8e336ee0431204bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93b5ab41e3f2419ef1092a0b442d65030db9eb9d9cb00ebc8e336ee0431204bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b5ab41e3f2419ef1092a0b442d65030db9eb9d9cb00ebc8e336ee0431204bf", kill_on_drop: false }` [INFO] [stdout] 93b5ab41e3f2419ef1092a0b442d65030db9eb9d9cb00ebc8e336ee0431204bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b60775aa75676b94e5c9547a475df4748ae16bead5c3041ad35238de9fc0effc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b60775aa75676b94e5c9547a475df4748ae16bead5c3041ad35238de9fc0effc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde v1.0.124 [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: 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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn segments::Segment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn segments::Segment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oru` [INFO] [stdout] --> src/messages/oru_r01.rs:19:13 [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] [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: 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: `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: 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `oru` [INFO] [stdout] --> src/messages/oru_r01.rs:19:13 [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] [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: 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: 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: 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] [stdout] warning: 15 warnings emitted [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.49s [INFO] running `Command { std: "docker" "inspect" "b60775aa75676b94e5c9547a475df4748ae16bead5c3041ad35238de9fc0effc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b60775aa75676b94e5c9547a475df4748ae16bead5c3041ad35238de9fc0effc", kill_on_drop: false }` [INFO] [stdout] b60775aa75676b94e5c9547a475df4748ae16bead5c3041ad35238de9fc0effc