[INFO] cloning repository https://github.com/jpikl/mmvv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jpikl/mmvv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpikl%2Fmmvv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpikl%2Fmmvv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e8777988a075d697b9155af9fafc305b3e582b5 [INFO] testing jpikl/mmvv against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpikl%2Fmmvv" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jpikl/mmvv [INFO] finished tweaking git repo https://github.com/jpikl/mmvv [INFO] tweaked toml for git repo https://github.com/jpikl/mmvv written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jpikl/mmvv 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 git repo https://github.com/jpikl/mmvv 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 ntest v0.7.3 [INFO] [stderr] Downloaded unindent v0.1.7 [INFO] [stderr] Downloaded normpath v0.3.1 [INFO] [stderr] Downloaded indoc v1.0.3 [INFO] [stderr] Downloaded claim v0.5.0 [INFO] [stderr] Downloaded naughty-strings v0.2.4 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.5 [INFO] [stderr] Downloaded assert_fs v1.0.6 [INFO] [stderr] Downloaded os_str_bytes v4.2.0 [INFO] [stderr] Downloaded ntest_test_cases v0.7.3 [INFO] [stderr] Downloaded ntest_proc_macro_helper v0.7.3 [INFO] [stderr] Downloaded test-case v1.2.1 [INFO] [stderr] Downloaded clap v3.0.0-beta.5 [INFO] [stderr] Downloaded ntest_timeout v0.7.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 77361df23d6d2794c8d05f6f18e4008517b710fe316cc972d7a5094618c1cc18 [INFO] running `Command { std: "docker" "start" "-a" "77361df23d6d2794c8d05f6f18e4008517b710fe316cc972d7a5094618c1cc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77361df23d6d2794c8d05f6f18e4008517b710fe316cc972d7a5094618c1cc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77361df23d6d2794c8d05f6f18e4008517b710fe316cc972d7a5094618c1cc18", kill_on_drop: false }` [INFO] [stdout] 77361df23d6d2794c8d05f6f18e4008517b710fe316cc972d7a5094618c1cc18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f5ab62c609d4a02e6d7d6b74a1d29dc30c50232021d0e4eb8adeaacfefca4c9c [INFO] running `Command { std: "docker" "start" "-a" "f5ab62c609d4a02e6d7d6b74a1d29dc30c50232021d0e4eb8adeaacfefca4c9c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling unidecode v0.3.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling normpath v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling rew v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/run.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn stdin(&self) -> StdinLock { [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] 35 | pub fn stdin(&self) -> StdinLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/run.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn stdout(&self) -> StandardStreamLock { [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] 39 | pub fn stdout(&self) -> StandardStreamLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/run.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn stderr(&self) -> StandardStreamLock { [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] 43 | pub fn stderr(&self) -> StandardStreamLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/common/utils.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | STATIC_STRINGS.push(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/common/utils.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | / STATIC_STRINGS [INFO] [stdout] 13 | | .last() [INFO] [stdout] | |___________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/mod.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn eval(&self, input: &str, context: &eval::Context) -> eval::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------------- the lifetime gets resolved as `'_` [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] 67 | pub fn eval(&self, input: &str, context: &eval::Context) -> eval::Result<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/padding.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | fn expand(&self) -> Cow { [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] 52 | fn expand(&self) -> Cow<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn peek_to_end(&self) -> Chars { [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] 55 | pub fn peek_to_end(&self) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | fn peek_to_end_at(&self, index: usize) -> Chars { [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] 59 | fn peek_to_end_at(&self, index: usize) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn read_to_end(&mut self) -> Chars { [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] 83 | pub fn read_to_end(&mut self) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn read_until(&mut self, delimiter: &T) -> Chars { [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] 89 | pub fn read_until(&mut self, delimiter: &T) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/regex.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add_capture_group_brackets(string: &str) -> Cow { [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] 20 | pub fn add_capture_group_brackets(string: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "f5ab62c609d4a02e6d7d6b74a1d29dc30c50232021d0e4eb8adeaacfefca4c9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5ab62c609d4a02e6d7d6b74a1d29dc30c50232021d0e4eb8adeaacfefca4c9c", kill_on_drop: false }` [INFO] [stdout] f5ab62c609d4a02e6d7d6b74a1d29dc30c50232021d0e4eb8adeaacfefca4c9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5f1af83f00dfd666a97c972d133114308c94c78c7383e94fe7334a74adc27a82 [INFO] running `Command { std: "docker" "start" "-a" "5f1af83f00dfd666a97c972d133114308c94c78c7383e94fe7334a74adc27a82", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.2.3 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling predicates-tree v1.0.4 [INFO] [stderr] Compiling claim v0.5.0 [INFO] [stderr] Compiling test-case v1.2.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ntest_proc_macro_helper v0.7.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling predicates v2.1.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling assert_cmd v2.0.2 [INFO] [stderr] Compiling assert_fs v1.0.6 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling naughty-strings v0.2.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling ntest_timeout v0.7.3 [INFO] [stderr] Compiling ntest_test_cases v0.7.3 [INFO] [stderr] Compiling ntest v0.7.3 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling rew v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/run.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn stdin(&self) -> StdinLock { [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] 35 | pub fn stdin(&self) -> StdinLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/run.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn stdout(&self) -> StandardStreamLock { [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] 39 | pub fn stdout(&self) -> StandardStreamLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/run.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn stderr(&self) -> StandardStreamLock { [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] 43 | pub fn stderr(&self) -> StandardStreamLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/common/utils.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | STATIC_STRINGS.push(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/common/utils.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | / STATIC_STRINGS [INFO] [stdout] 13 | | .last() [INFO] [stdout] | |___________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/run.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn stdin(&self) -> StdinLock { [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] 35 | pub fn stdin(&self) -> StdinLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/run.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn stdout(&self) -> StandardStreamLock { [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] 39 | pub fn stdout(&self) -> StandardStreamLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/common/run.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn stderr(&self) -> StandardStreamLock { [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] 43 | pub fn stderr(&self) -> StandardStreamLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/common/utils.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | STATIC_STRINGS.push(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/common/utils.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | / STATIC_STRINGS [INFO] [stdout] 13 | | .last() [INFO] [stdout] | |___________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `window` [INFO] [stdout] --> src/bin/rew/pattern/path.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | #[cfg_attr(window, test_case("file.ext", "{work}\\file.ext" ; "relative"))] [INFO] [stdout] | ^^^^^^ help: there is a config with a similar name: `windows` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(window)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(window)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `window` [INFO] [stdout] --> src/bin/rew/pattern/path.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | #[cfg_attr(window, test_case("C:\\file.ext", "C:\\file.ext" ; "absolute"))] [INFO] [stdout] | ^^^^^^ help: there is a config with a similar name: `windows` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(window)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(window)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `window` [INFO] [stdout] --> src/bin/rew/pattern/path.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | #[cfg_attr(window, test_case("file.ext", "file.ext" ; "relative"))] [INFO] [stdout] | ^^^^^^ help: there is a config with a similar name: `windows` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(window)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(window)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `window` [INFO] [stdout] --> src/bin/rew/pattern/path.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | #[cfg_attr(window, test_case("{work}\\..\\file.ext", "..\\file.ext" ; "absolute"))] [INFO] [stdout] | ^^^^^^ help: there is a config with a similar name: `windows` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(window)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(window)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rew` (bin "rew" test); 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc --crate-name rew --edition=2021 src/bin/rew/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=0ecd1312b0b966ff -C extra-filename=-be96b72307eb43df --out-dir /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps --target x86_64-unknown-linux-musl -L dependency=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern assert_cmd=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libassert_cmd-06fabd81af75f98e.rlib --extern assert_fs=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libassert_fs-2a36078ca0d6e54c.rlib --extern atty=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libatty-9c27392b4932074e.rlib --extern claim=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libclaim-0c220e6410d11514.rlib --extern clap=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libclap-f5b83d91f073bb6e.rlib --extern fs_extra=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libfs_extra-c0492e344ac6d5b3.rlib --extern indoc=/opt/rustwide/target/debug/deps/libindoc-f89b2796a9525c81.so --extern lazy_static=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblazy_static-4b136fc9bfbd2c4b.rlib --extern naughty_strings=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libnaughty_strings-830e1d3ba05f054d.rlib --extern normpath=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libnormpath-38d9399fd5299da2.rlib --extern ntest=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libntest-59f84603e1fb6331.rlib --extern num_traits=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libnum_traits-e187c9543899d750.rlib --extern pathdiff=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libpathdiff-da1ad2b983682d6b.rlib --extern predicates=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libpredicates-d52f624649220d72.rlib --extern rand=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librand-1a77bbb010a6b042.rlib --extern regex=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libregex-d5c369978972243e.rlib --extern common=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libcommon-23b202e31f9d0327.rlib --extern same_file=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libsame_file-ebfa63be59ead6ba.rlib --extern termcolor=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libtermcolor-811ad993a566b17a.rlib --extern test_case=/opt/rustwide/target/debug/deps/libtest_case-a5d3ff2bc85ae26b.so --extern unidecode=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libunidecode-c6a84700183d77e4.rlib --extern uuid=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libuuid-fcf70a1c2087833c.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcdxPA0F/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libassert_fs-2a36078ca0d6e54c.rlib,libglobwalk-b1a3fa56cbdb2a5d.rlib,libbitflags-e274cd04b58a060d.rlib,libignore-6d49dd2f68c260a3.rlib,libcrossbeam_utils-3a2e50d552e81206.rlib,libwalkdir-6da7a998d20d0502.rlib,libsame_file-ebfa63be59ead6ba.rlib,libthread_local-66ec9dfd3f6cc1b2.rlib,libonce_cell-cadb55224f1ed138.rlib,libglobset-20e37a3301307eba.rlib,libfnv-81596130b397d5c3.rlib,liblog-2fa663e3959e676f.rlib,libtempfile-e818c26c0017fed8.rlib,librand-1a77bbb010a6b042.rlib,librand_chacha-b7fa5fab56c76965.rlib,libppv_lite86-7955ccdf208dacd3.rlib,librand_core-d0e6d309e8703ab1.rlib,libgetrandom-50c01ecde292ec1f.rlib,libremove_dir_all-4e221c62d36b2749.rlib,libcfg_if-66d55f6b302e88c8.rlib,libassert_cmd-06fabd81af75f98e.rlib,libwait_timeout-df00221336cdeb2c.rlib,liblibc-b29b9b4eaa999549.rlib,libdoc_comment-371febfbc0981078.rlib,libbstr-b24aa3113ed66b01.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libregex_automata-2f772042de7a2dcd.rlib,libpredicates_tree-9bd43766b3d88441.rlib,libtermtree-43a2e2d39cea94f0.rlib,libpredicates-d52f624649220d72.rlib,libregex-d5c369978972243e.rlib,libaho_corasick-35dda82c90652365.rlib,libmemchr-a2892755812de0fe.rlib,libregex_syntax-ae12054508fb30be.rlib,libitertools-06a88b86a026be87.rlib,libeither-e8a0ef7222037a64.rlib,libdifflib-40c14af9a71dea40.rlib,libnormalize_line_endings-44e882895f4973c2.rlib,libfloat_cmp-ff812e7d3a9b99e4.rlib,libnum_traits-e187c9543899d750.rlib,libpredicates_core-208992b886e968bd.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcdxPA0F/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rew_mvb-6dd2c198832b8324" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rew` (test "rew_mvb") due to 1 previous error [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/mod.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn eval(&self, input: &str, context: &eval::Context) -> eval::Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------------- the lifetime gets resolved as `'_` [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] 67 | pub fn eval(&self, input: &str, context: &eval::Context) -> eval::Result<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/padding.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | fn expand(&self) -> Cow { [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] 52 | fn expand(&self) -> Cow<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn peek_to_end(&self) -> Chars { [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] 55 | pub fn peek_to_end(&self) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | fn peek_to_end_at(&self, index: usize) -> Chars { [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] 59 | fn peek_to_end_at(&self, index: usize) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn read_to_end(&mut self) -> Chars { [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] 83 | pub fn read_to_end(&mut self) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/reader.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn read_until(&mut self, delimiter: &T) -> Chars { [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] 89 | pub fn read_until(&mut self, delimiter: &T) -> Chars<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/rew/pattern/regex.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add_capture_group_brackets(string: &str) -> Cow { [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] 20 | pub fn add_capture_group_brackets(string: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5f1af83f00dfd666a97c972d133114308c94c78c7383e94fe7334a74adc27a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f1af83f00dfd666a97c972d133114308c94c78c7383e94fe7334a74adc27a82", kill_on_drop: false }` [INFO] [stdout] 5f1af83f00dfd666a97c972d133114308c94c78c7383e94fe7334a74adc27a82