[INFO] fetching crate shellexpand 3.1.1... [INFO] testing shellexpand-3.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate shellexpand 3.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate shellexpand 3.1.1 [INFO] finished tweaking crates.io crate shellexpand 3.1.1 [INFO] tweaked toml for crates.io crate shellexpand 3.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shellexpand 3.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate shellexpand 3.1.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bbc050acf28a2cf283448e496096a6dd928eeb7d617991304b0010bc96db02a [INFO] running `Command { std: "docker" "start" "-a" "7bbc050acf28a2cf283448e496096a6dd928eeb7d617991304b0010bc96db02a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bbc050acf28a2cf283448e496096a6dd928eeb7d617991304b0010bc96db02a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bbc050acf28a2cf283448e496096a6dd928eeb7d617991304b0010bc96db02a", kill_on_drop: false }` [INFO] [stdout] 7bbc050acf28a2cf283448e496096a6dd928eeb7d617991304b0010bc96db02a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45c24491171ebca85d2c8fd42f624bf65a455d6a514b7fa5a8f8c2dd5b390bb2 [INFO] running `Command { std: "docker" "start" "-a" "45c24491171ebca85d2c8fd42f624bf65a455d6a514b7fa5a8f8c2dd5b390bb2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling shellexpand v3.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/funcs.rs:394:47 [INFO] [stdout] | [INFO] [stdout] 394 | let var_name = match var_name.as_str() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `wtraits::WstrExt::as_str(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stdout] --> src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 + #![feature(str_as_str)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wtraits.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn into_winput(&self) -> WInput; [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn into_winput(&self) -> WInput<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | input: &SI, [INFO] [stdout] | ^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | ) -> Result, LookupError> [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | ) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | input: &SI, [INFO] [stdout] | ^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 172 | ) -> Cow [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | ) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn full(input: &SI) -> Result, LookupError> [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn full(input: &SI) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | input: &SI, [INFO] [stdout] | ^^^ the lifetime is elided here [INFO] [stdout] 369 | mut context: C, [INFO] [stdout] 370 | ) -> Result, LookupError> [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 370 | ) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:534:61 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:581:31 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn env(input: &SI) -> Result, LookupError> [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 581 | pub fn env(input: &SI) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:622:53 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:673:33 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn tilde(input: &SI) -> Cow [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 673 | pub fn tilde(input: &SI) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "45c24491171ebca85d2c8fd42f624bf65a455d6a514b7fa5a8f8c2dd5b390bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45c24491171ebca85d2c8fd42f624bf65a455d6a514b7fa5a8f8c2dd5b390bb2", kill_on_drop: false }` [INFO] [stdout] 45c24491171ebca85d2c8fd42f624bf65a455d6a514b7fa5a8f8c2dd5b390bb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbd741ae27fe19850994fab2b73e21f01cfc4605bb25f988c69bf15ed559ebc4 [INFO] running `Command { std: "docker" "start" "-a" "cbd741ae27fe19850994fab2b73e21f01cfc4605bb25f988c69bf15ed559ebc4", kill_on_drop: false }` [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/funcs.rs:394:47 [INFO] [stdout] | [INFO] [stdout] 394 | let var_name = match var_name.as_str() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `wtraits::WstrExt::as_str(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stdout] --> src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 + #![feature(str_as_str)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wtraits.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn into_winput(&self) -> WInput; [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn into_winput(&self) -> WInput<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | input: &SI, [INFO] [stdout] | ^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | ) -> Result, LookupError> [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | ) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | input: &SI, [INFO] [stdout] | ^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 172 | ) -> Cow [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | ) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn full(input: &SI) -> Result, LookupError> [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn full(input: &SI) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | input: &SI, [INFO] [stdout] | ^^^ the lifetime is elided here [INFO] [stdout] 369 | mut context: C, [INFO] [stdout] 370 | ) -> Result, LookupError> [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 370 | ) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shellexpand v3.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:534:61 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:581:31 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn env(input: &SI) -> Result, LookupError> [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 581 | pub fn env(input: &SI) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:622:53 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:673:33 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn tilde(input: &SI) -> Cow [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 673 | pub fn tilde(input: &SI) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/funcs.rs:394:47 [INFO] [stdout] | [INFO] [stdout] 394 | let var_name = match var_name.as_str() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `wtraits::WstrExt::as_str(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stdout] --> src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 + #![feature(str_as_str)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wtraits.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | fn into_winput(&self) -> WInput; [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn into_winput(&self) -> WInput<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | input: &SI, [INFO] [stdout] | ^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | ) -> Result, LookupError> [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | ) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | input: &SI, [INFO] [stdout] | ^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 172 | ) -> Cow [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | ) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn full(input: &SI) -> Result, LookupError> [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn full(input: &SI) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | input: &SI, [INFO] [stdout] | ^^^ the lifetime is elided here [INFO] [stdout] 369 | mut context: C, [INFO] [stdout] 370 | ) -> Result, LookupError> [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 370 | ) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:534:61 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:581:31 [INFO] [stdout] | [INFO] [stdout] 581 | pub fn env(input: &SI) -> Result, LookupError> [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 581 | pub fn env(input: &SI) -> Result, LookupError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:622:53 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funcs.rs:673:33 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn tilde(input: &SI) -> Cow [INFO] [stdout] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 673 | pub fn tilde(input: &SI) -> Cow<'_, Xstr> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "cbd741ae27fe19850994fab2b73e21f01cfc4605bb25f988c69bf15ed559ebc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbd741ae27fe19850994fab2b73e21f01cfc4605bb25f988c69bf15ed559ebc4", kill_on_drop: false }` [INFO] [stdout] cbd741ae27fe19850994fab2b73e21f01cfc4605bb25f988c69bf15ed559ebc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc0788cea33fce886d5e27ef720302d5f09cb60d093d10fff76f1d5f03cec4da [INFO] running `Command { std: "docker" "start" "-a" "fc0788cea33fce886d5e27ef720302d5f09cb60d093d10fff76f1d5f03cec4da", kill_on_drop: false }` [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/funcs.rs:394:47 [INFO] [stderr] | [INFO] [stderr] 394 | let var_name = match var_name.as_str() { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `wtraits::WstrExt::as_str(...)` to keep using the current method [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stderr] --> src/lib.rs:93:1 [INFO] [stderr] | [INFO] [stderr] 93 + #![feature(str_as_str)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wtraits.rs:89:20 [INFO] [stderr] | [INFO] [stderr] 89 | fn into_winput(&self) -> WInput; [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 89 | fn into_winput(&self) -> WInput<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/funcs.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | input: &SI, [INFO] [stderr] | ^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 92 | ) -> Result, LookupError> [INFO] [stderr] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 92 | ) -> Result, LookupError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/funcs.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 169 | input: &SI, [INFO] [stderr] | ^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 172 | ) -> Cow [INFO] [stderr] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 172 | ) -> Cow<'_, Xstr> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/funcs.rs:228:32 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn full(input: &SI) -> Result, LookupError> [INFO] [stderr] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 228 | pub fn full(input: &SI) -> Result, LookupError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/funcs.rs:368:12 [INFO] [stderr] | [INFO] [stderr] 368 | input: &SI, [INFO] [stderr] | ^^^ the lifetime is elided here [INFO] [stderr] 369 | mut context: C, [INFO] [stderr] 370 | ) -> Result, LookupError> [INFO] [stderr] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 370 | ) -> Result, LookupError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/funcs.rs:534:61 [INFO] [stderr] | [INFO] [stderr] 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow [INFO] [stdout] [INFO] [stderr] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] running 10 tests [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stdout] test strings::funcs::test::env_test::test_empty_env ... ok [INFO] [stderr] | [INFO] [stdout] test strings::funcs::test::env_test::test_global_env ... ok [INFO] [stderr] 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow<'_, Xstr> [INFO] [stdout] test strings::funcs::test::env_test::test_error_env ... ok [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] test strings::funcs::test::full_tests::test_quirks ... ok [INFO] [stderr] --> src/funcs.rs:581:31 [INFO] [stdout] test strings::funcs::test::full_tests::test_tilde_expansion ... ok [INFO] [stderr] | [INFO] [stdout] test strings::funcs::test::env_test::test_unicode ... ok [INFO] [stderr] 581 | pub fn env(input: &SI) -> Result, LookupError> [INFO] [stdout] test strings::funcs::test::env_test::test_regular_env ... ok [INFO] [stderr] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] test strings::funcs::test::tilde_tests::test_global_tilde ... ok [INFO] [stderr] | | [INFO] [stdout] test strings::funcs::test::tilde_tests::test_with_tilde ... ok [INFO] [stderr] | the lifetime is elided here [INFO] [stdout] test strings::funcs::test::tilde_tests::test_with_tilde_no_hd ... ok [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 581 | pub fn env(input: &SI) -> Result, LookupError> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/funcs.rs:622:53 [INFO] [stderr] | [INFO] [stderr] 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow [INFO] [stderr] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow<'_, Xstr> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/funcs.rs:673:33 [INFO] [stderr] | [INFO] [stderr] 673 | pub fn tilde(input: &SI) -> Cow [INFO] [stderr] | ^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 673 | pub fn tilde(input: &SI) -> Cow<'_, Xstr> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `shellexpand` (lib) generated 10 warnings (run `cargo fix --lib -p shellexpand` to apply 9 suggestions) [INFO] [stderr] warning: `shellexpand` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shellexpand-81b5770c8090205f) [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests shellexpand [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/funcs.rs - strings::funcs::tilde (line 661) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::tilde_with_context (line 612) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::full_with_context (line 43) ... ok [INFO] [stdout] test src/lib.rs - (line 67) ... ok [INFO] [stdout] test src/lib.rs - (line 48) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::env_with_context_no_errors (line 512) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::full_with_context_no_errors (line 132) ... ok [INFO] [stdout] test src/lib.rs - (line 33) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::full (line 201) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::env_with_context (line 330) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::env (line 558) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc0788cea33fce886d5e27ef720302d5f09cb60d093d10fff76f1d5f03cec4da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc0788cea33fce886d5e27ef720302d5f09cb60d093d10fff76f1d5f03cec4da", kill_on_drop: false }` [INFO] [stdout] fc0788cea33fce886d5e27ef720302d5f09cb60d093d10fff76f1d5f03cec4da