[INFO] fetching crate shellexpand 3.1.1... [INFO] testing shellexpand-3.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate shellexpand 3.1.1 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shellexpand 3.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_users v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3edfcb9ff276df6c0f2940dc751d81e88c05fe9ce96f988567da8dc228010e2 [INFO] running `Command { std: "docker" "start" "-a" "d3edfcb9ff276df6c0f2940dc751d81e88c05fe9ce96f988567da8dc228010e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3edfcb9ff276df6c0f2940dc751d81e88c05fe9ce96f988567da8dc228010e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3edfcb9ff276df6c0f2940dc751d81e88c05fe9ce96f988567da8dc228010e2", kill_on_drop: false }` [INFO] [stdout] d3edfcb9ff276df6c0f2940dc751d81e88c05fe9ce96f988567da8dc228010e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6146403a4fb7a9a6cddc4a3082ab50984bdd2998c00ebe7f415da50edda7f3fa [INFO] running `Command { std: "docker" "start" "-a" "6146403a4fb7a9a6cddc4a3082ab50984bdd2998c00ebe7f415da50edda7f3fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling option-ext v0.2.0 [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.81s [INFO] running `Command { std: "docker" "inspect" "6146403a4fb7a9a6cddc4a3082ab50984bdd2998c00ebe7f415da50edda7f3fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6146403a4fb7a9a6cddc4a3082ab50984bdd2998c00ebe7f415da50edda7f3fa", kill_on_drop: false }` [INFO] [stdout] 6146403a4fb7a9a6cddc4a3082ab50984bdd2998c00ebe7f415da50edda7f3fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f844dc95c639281622911b87abb9d5149a6b9b7c86942bc8158e50876b2106d [INFO] running `Command { std: "docker" "start" "-a" "0f844dc95c639281622911b87abb9d5149a6b9b7c86942bc8158e50876b2106d", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "0f844dc95c639281622911b87abb9d5149a6b9b7c86942bc8158e50876b2106d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f844dc95c639281622911b87abb9d5149a6b9b7c86942bc8158e50876b2106d", kill_on_drop: false }` [INFO] [stdout] 0f844dc95c639281622911b87abb9d5149a6b9b7c86942bc8158e50876b2106d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] acf002039ad00b8f4b00306d102422e4bb5be53be5b329b4a5c94bc12236877f [INFO] running `Command { std: "docker" "start" "-a" "acf002039ad00b8f4b00306d102422e4bb5be53be5b329b4a5c94bc12236877f", 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] [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] 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow<'_, Xstr> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/funcs.rs:581:31 [INFO] [stderr] | [INFO] [stderr] 581 | pub fn env(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] 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shellexpand-81b5770c8090205f) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test strings::funcs::test::env_test::test_error_env ... ok [INFO] [stdout] test strings::funcs::test::env_test::test_global_env ... ok [INFO] [stdout] test strings::funcs::test::full_tests::test_tilde_expansion ... ok [INFO] [stdout] test strings::funcs::test::full_tests::test_quirks ... ok [INFO] [stdout] test strings::funcs::test::tilde_tests::test_global_tilde ... ok [INFO] [stdout] test strings::funcs::test::env_test::test_regular_env ... ok [INFO] [stdout] test strings::funcs::test::env_test::test_unicode ... ok [INFO] [stdout] test strings::funcs::test::tilde_tests::test_with_tilde ... ok [INFO] [stdout] test strings::funcs::test::tilde_tests::test_with_tilde_no_hd ... ok [INFO] [stdout] test strings::funcs::test::env_test::test_empty_env ... ok [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::full_with_context (line 43) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::full (line 201) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::tilde (line 661) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::env_with_context (line 330) ... 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::tilde_with_context (line 612) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::env (line 558) ... ok [INFO] [stdout] test src/lib.rs - (line 67) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::full_with_context_no_errors (line 132) ... ok [INFO] [stdout] test src/lib.rs - (line 48) ... ok [INFO] [stdout] test src/lib.rs - (line 33) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "acf002039ad00b8f4b00306d102422e4bb5be53be5b329b4a5c94bc12236877f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf002039ad00b8f4b00306d102422e4bb5be53be5b329b4a5c94bc12236877f", kill_on_drop: false }` [INFO] [stdout] acf002039ad00b8f4b00306d102422e4bb5be53be5b329b4a5c94bc12236877f