[INFO] fetching crate hl7-parser 0.3.0... [INFO] testing hl7-parser-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate hl7-parser 0.3.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate hl7-parser 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate hl7-parser 0.3.0 [INFO] tweaked toml for crates.io crate hl7-parser 0.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hl7-parser 0.3.0 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] crate crates.io crate hl7-parser 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jiff-tzdb-platform v0.1.2 [INFO] [stderr] Downloaded darrentsung_debug_parser v0.3.1 [INFO] [stderr] Downloaded plotters-backend v0.3.7 [INFO] [stderr] Downloaded plotters-svg v0.3.7 [INFO] [stderr] Downloaded rustversion v1.0.19 [INFO] [stderr] Downloaded iana-time-zone v0.1.61 [INFO] [stderr] Downloaded clap v4.5.30 [INFO] [stderr] Downloaded pretty_assertions v1.4.1 [INFO] [stderr] Downloaded jiff-tzdb v0.1.2 [INFO] [stderr] Downloaded cc v1.2.15 [INFO] [stderr] Downloaded plotters v0.3.7 [INFO] [stderr] Downloaded serde_json v1.0.139 [INFO] [stderr] Downloaded clap_builder v4.5.30 [INFO] [stderr] Downloaded portable-atomic v1.10.0 [INFO] [stderr] Downloaded pretty_assertions_sorted v1.2.3 [INFO] [stderr] Downloaded chrono v0.4.39 [INFO] [stderr] Downloaded serde_derive v1.0.218 [INFO] [stderr] Downloaded time v0.3.37 [INFO] [stderr] Downloaded log v0.4.26 [INFO] [stderr] Downloaded anyhow v1.0.96 [INFO] [stderr] Downloaded unicode-ident v1.0.17 [INFO] [stderr] Downloaded serde v1.0.218 [INFO] [stderr] Downloaded either v1.14.0 [INFO] [stderr] Downloaded jiff v0.2.1 [INFO] [stderr] Downloaded libc v0.2.170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 24f749900769f10b8c633767a826231932c20603f4804394b73f9092a0c82cf9 [INFO] running `Command { std: "docker" "start" "-a" "24f749900769f10b8c633767a826231932c20603f4804394b73f9092a0c82cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24f749900769f10b8c633767a826231932c20603f4804394b73f9092a0c82cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24f749900769f10b8c633767a826231932c20603f4804394b73f9092a0c82cf9", kill_on_drop: false }` [INFO] [stdout] 24f749900769f10b8c633767a826231932c20603f4804394b73f9092a0c82cf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4d2da20adee7758f012805f32150aa8271272d8dd5b06ea325df5f41de617572 [INFO] running `Command { std: "docker" "start" "-a" "4d2da20adee7758f012805f32150aa8271272d8dd5b06ea325df5f41de617572", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling hl7-parser v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_message(message: &str) -> Result { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_message(message: &str) -> Result, parser::ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_message_with_lenient_newlines(message: &str) -> Result { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_message_with_lenient_newlines(message: &str) -> Result, parser::ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message/mod.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn locate_cursor(&self, cursor: usize) -> Option { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 151 | pub fn locate_cursor(&self, cursor: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/subcomponent.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | fn subcomponent_parser(i: Span, seps: Separators) -> IResult> { [INFO] [stdout] | ^^^^ ---- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 12 | fn subcomponent_parser(i: Span<'_>, seps: Separators) -> IResult, Subcomponent<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.68s [INFO] running `Command { std: "docker" "inspect" "4d2da20adee7758f012805f32150aa8271272d8dd5b06ea325df5f41de617572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d2da20adee7758f012805f32150aa8271272d8dd5b06ea325df5f41de617572", kill_on_drop: false }` [INFO] [stdout] 4d2da20adee7758f012805f32150aa8271272d8dd5b06ea325df5f41de617572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] debc077352383e0dd59cfd0ae804c2755919abd444fde5ed1376fb77bb2f168e [INFO] running `Command { std: "docker" "start" "-a" "debc077352383e0dd59cfd0ae804c2755919abd444fde5ed1376fb77bb2f168e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap_builder v4.5.30 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_message(message: &str) -> Result { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_message(message: &str) -> Result, parser::ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_message_with_lenient_newlines(message: &str) -> Result { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_message_with_lenient_newlines(message: &str) -> Result, parser::ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message/mod.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn locate_cursor(&self, cursor: usize) -> Option { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 151 | pub fn locate_cursor(&self, cursor: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/subcomponent.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | fn subcomponent_parser(i: Span, seps: Separators) -> IResult> { [INFO] [stdout] | ^^^^ ---- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 12 | fn subcomponent_parser(i: Span<'_>, seps: Separators) -> IResult, Subcomponent<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling darrentsung_debug_parser v0.3.1 [INFO] [stderr] Compiling clap v4.5.30 [INFO] [stderr] Compiling pretty_assertions_sorted v1.2.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling hl7-parser v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `builder::MessageBuilder` and `parse_message_with_lenient_newlines` [INFO] [stdout] --> examples/parse_to_json.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use hl7_parser::{builder::MessageBuilder, parse_message_with_lenient_newlines}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ADT_SRC` is never used [INFO] [stdout] --> examples/parse_to_json.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | static ADT_SRC: &str = include_str!("../test_assets/sample_adt_a08.hl7"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_message(message: &str) -> Result { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn parse_message(message: &str) -> Result, parser::ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_message_with_lenient_newlines(message: &str) -> Result { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_message_with_lenient_newlines(message: &str) -> Result, parser::ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/message/mod.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn locate_cursor(&self, cursor: usize) -> Option { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 151 | pub fn locate_cursor(&self, cursor: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/subcomponent.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | fn subcomponent_parser(i: Span, seps: Separators) -> IResult> { [INFO] [stdout] | ^^^^ ---- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 12 | fn subcomponent_parser(i: Span<'_>, seps: Separators) -> IResult, Subcomponent<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.36s [INFO] running `Command { std: "docker" "inspect" "debc077352383e0dd59cfd0ae804c2755919abd444fde5ed1376fb77bb2f168e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debc077352383e0dd59cfd0ae804c2755919abd444fde5ed1376fb77bb2f168e", kill_on_drop: false }` [INFO] [stdout] debc077352383e0dd59cfd0ae804c2755919abd444fde5ed1376fb77bb2f168e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 553acaf621cb34baf34b382e1e401ca8ef5d37809720dd51b16cec4ee17cee88 [INFO] running `Command { std: "docker" "start" "-a" "553acaf621cb34baf34b382e1e401ca8ef5d37809720dd51b16cec4ee17cee88", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:51:31 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn parse_message(message: &str) -> Result { [INFO] [stderr] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | pub fn parse_message(message: &str) -> Result, parser::ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:57:53 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn parse_message_with_lenient_newlines(message: &str) -> Result { [INFO] [stderr] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 57 | pub fn parse_message_with_lenient_newlines(message: &str) -> Result, parser::ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/message/mod.rs:151:26 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn locate_cursor(&self, cursor: usize) -> Option { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 151 | pub fn locate_cursor(&self, cursor: usize) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/subcomponent.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | fn subcomponent_parser(i: Span, seps: Separators) -> IResult> { [INFO] [stderr] | ^^^^ ---- -- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'_` [INFO] [stderr] | [INFO] [stderr] 12 | fn subcomponent_parser(i: Span<'_>, seps: Separators) -> IResult, Subcomponent<'_>> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: `hl7-parser` (lib) generated 4 warnings (run `cargo fix --lib -p hl7-parser` to apply 4 suggestions) [INFO] [stderr] warning: unused imports: `builder::MessageBuilder` and `parse_message_with_lenient_newlines` [INFO] [stderr] --> examples/parse_to_json.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use hl7_parser::{builder::MessageBuilder, parse_message_with_lenient_newlines}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static `ADT_SRC` is never used [INFO] [stderr] --> examples/parse_to_json.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | static ADT_SRC: &str = include_str!("../test_assets/sample_adt_a08.hl7"); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hl7-parser` (example "parse_to_json") generated 2 warnings (run `cargo fix --example "parse_to_json"` to apply 1 suggestion) [INFO] [stderr] warning: `hl7-parser` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hl7_parser-b9148dc5173939b4) [INFO] [stdout] [INFO] [stdout] running 67 tests [INFO] [stdout] test builder::component::tests::can_convert_with_singular_value ... ok [INFO] [stdout] test builder::field::tests::can_display_field_builder ... ok [INFO] [stdout] test builder::segment::tests::can_convert_from_segment ... ok [INFO] [stdout] test builder::component::tests::can_display_component_builder ... ok [INFO] [stdout] test datetime::time::test::can_parse_time_with_offsets ... ok [INFO] [stdout] test datetime::timestamp::test::can_parse_time_with_offsets ... ok [INFO] [stdout] test datetime::timestamp::test::can_parse_time_with_offsets_without_fractional_seconds ... ok [INFO] [stdout] test datetime::date::test::can_parse_date ... ok [INFO] [stdout] test datetime::timestamp::test::can_format_timestamp ... ok [INFO] [stdout] test builder::segment::tests::can_display_segment ... ok [INFO] [stdout] test builder::repeat::tests::can_display_repeat_builder ... ok [INFO] [stdout] test datetime::timestamp::test::can_parse_time_with_only_year ... ok [INFO] [stdout] test builder::repeat::tests::can_convert_repeat_to_repeat_builder ... ok [INFO] [stdout] test builder::component::tests::can_convert_component_to_component_builder ... ok [INFO] [stdout] test datetime::timestamp::test::can_parse_time_without_offsets_or_fractional_seconds ... ok [INFO] [stdout] test datetime::timestamp::test::cant_parse_bad_timestamps ... ok [INFO] [stdout] test locate::test::can_get_cursor_location_value ... ok [INFO] [stdout] test locate::test::can_locate_cursor_at_field_boundaries ... ok [INFO] [stdout] test builder::tests::can_roundtrip_messages ... ok [INFO] [stdout] test datetime::timestamp::test::can_parse_timestamp_fromstr ... ok [INFO] [stdout] test datetime::timestamp::test::can_parse_time_without_offsets ... ok [INFO] [stdout] test locate::test::can_locate_cursor_in_segment ... ok [INFO] [stdout] test locate::test::can_locate_cursor_in_repeated_segment ... ok [INFO] [stdout] test message::field::tests::fields_can_display ... ok [INFO] [stdout] test message::repeat::tests::repeats_can_display_decoded ... ok [INFO] [stdout] test message::repeat::tests::repeats_can_display_raw ... ok [INFO] [stdout] test message::component::tests::components_can_display_raw ... ok [INFO] [stdout] test message::separators::tests::sample_encode ... ok [INFO] [stdout] test message::separators::tests::separators_can_decode ... ok [INFO] [stdout] test parser::component::tests::can_parse_component_at_end_of_line ... ok [INFO] [stdout] test message::separators::tests::separators_can_encode ... ok [INFO] [stdout] test parser::component::tests::can_parse_component_basic ... ok [INFO] [stdout] test message::subcomponent::tests::subcomponents_can_display_raw ... ok [INFO] [stdout] test message::component::tests::components_can_display_decoded ... ok [INFO] [stdout] test message::component::tests::can_get_component_raw_value ... ok [INFO] [stdout] test message::subcomponent::tests::subcomponents_can_display_decoded ... ok [INFO] [stdout] test parser::component::tests::can_parse_component_with_no_subcomponents_and_escaped_subcomponent_separator ... ok [INFO] [stdout] test parser::component::tests::can_parse_component_with_subcomponents ... ok [INFO] [stdout] test parser::component::tests::can_parse_component_in_field ... ok [INFO] [stdout] test parser::field::tests::can_parse_field_with_no_repeats_but_components ... ok [INFO] [stdout] test parser::field::tests::can_parse_field_basic ... ok [INFO] [stdout] test parser::field::tests::can_parse_field_with_repeats ... ok [INFO] [stdout] test parser::message::tests::can_parse_message_with_crlf_instead_of_cr ... ok [INFO] [stdout] test parser::msh::tests::can_parse_msh ... ok [INFO] [stdout] test parser::msh::tests::can_parse_msh_start ... ok [INFO] [stdout] test parser::repeat::tests::can_parse_repeat_basic ... ok [INFO] [stdout] test parser::segment::tests::can_parse_segment_with_number ... ok [INFO] [stdout] test parser::segment::tests::can_parse_segment ... ok [INFO] [stdout] test parser::segment::tests::can_parse_segment_with_repeats_components_and_subcomponents ... ok [INFO] [stdout] test parser::repeat::tests::can_parse_repeat_with_components ... ok [INFO] [stdout] test parser::segment::tests::cant_parse_segments_with_no_fields ... ok [INFO] [stdout] test parser::segment::tests::can_parse_segment_with_trailing_empty_fields ... ok [INFO] [stdout] test parser::segment::tests::cant_parse_segments_with_invalid_names ... ok [INFO] [stdout] test parser::subcomponent::tests::can_parse_subcomponent_basic ... ok [INFO] [stdout] test parser::segment::tests::cant_parse_segments_with_no_names ... ok [INFO] [stdout] test parser::subcomponent::tests::can_parse_subcomponent_escape ... ok [INFO] [stdout] test parser::subcomponent::tests::can_parse_subcomponent_until_next_field ... ok [INFO] [stdout] test parser::message::tests::can_parse_message_with_lf_instead_of_cr ... ok [INFO] [stdout] test query::parser::tests::can_parse_array_access ... ok [INFO] [stdout] test parser::message::tests::cant_parse_message_with_lf_instead_of_cr_strict ... ok [INFO] [stdout] test parser::message::tests::can_parse_message ... ok [INFO] [stdout] test query::parser::tests::can_parse_full_query ... ok [INFO] [stdout] test query::parser::tests::can_parse_preceeded_nonzero_integer ... ok [INFO] [stdout] test parser::subcomponent::tests::can_parse_subcomponent_with_lenient_newlines ... ok [INFO] [stdout] test query::parser::tests::can_parse_truncated_queries ... ok [INFO] [stdout] test query::tests::can_display_location_query ... ok [INFO] [stdout] test parser::repeat::tests::can_parse_repeat_with_no_subcomponents_and_escaped_component_separator ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 67 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/profiled-parse.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/profiled_parse-c4f2bfd70c0c7f71) [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] [stderr] Running tests/cursor_location.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cursor_location-0f9d96a99736fa88) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test locate_the_cursor ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/parse.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/parse-770d1c774e72a8c9) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test can_parse ... ok [INFO] [stdout] test can_parse_timestamp ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/query.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/query-a0af5ce939c5141b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test query_a_message ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "553acaf621cb34baf34b382e1e401ca8ef5d37809720dd51b16cec4ee17cee88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "553acaf621cb34baf34b382e1e401ca8ef5d37809720dd51b16cec4ee17cee88", kill_on_drop: false }` [INFO] [stdout] 553acaf621cb34baf34b382e1e401ca8ef5d37809720dd51b16cec4ee17cee88