[INFO] fetching crate shellexpand 3.1.1... [INFO] testing shellexpand-3.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate shellexpand 3.1.1 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shellexpand 3.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64853a23558388728db0885c9d4677cd590a90ea4b294283d098e5be023ddd6a [INFO] running `Command { std: "docker" "start" "-a" "64853a23558388728db0885c9d4677cd590a90ea4b294283d098e5be023ddd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64853a23558388728db0885c9d4677cd590a90ea4b294283d098e5be023ddd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64853a23558388728db0885c9d4677cd590a90ea4b294283d098e5be023ddd6a", kill_on_drop: false }` [INFO] [stdout] 64853a23558388728db0885c9d4677cd590a90ea4b294283d098e5be023ddd6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cefcbcba9b45101f65331a415a0c319765678d8f119794a8d79bd6b1958b9e1 [INFO] running `Command { std: "docker" "start" "-a" "1cefcbcba9b45101f65331a415a0c319765678d8f119794a8d79bd6b1958b9e1", 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 2.18s [INFO] running `Command { std: "docker" "inspect" "1cefcbcba9b45101f65331a415a0c319765678d8f119794a8d79bd6b1958b9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cefcbcba9b45101f65331a415a0c319765678d8f119794a8d79bd6b1958b9e1", kill_on_drop: false }` [INFO] [stdout] 1cefcbcba9b45101f65331a415a0c319765678d8f119794a8d79bd6b1958b9e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae93c24b57795f6f475d4d1e7e1b59abff834e4f694188f40a8d851eacd33613 [INFO] running `Command { std: "docker" "start" "-a" "ae93c24b57795f6f475d4d1e7e1b59abff834e4f694188f40a8d851eacd33613", kill_on_drop: false }` [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] [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.96s [INFO] running `Command { std: "docker" "inspect" "ae93c24b57795f6f475d4d1e7e1b59abff834e4f694188f40a8d851eacd33613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae93c24b57795f6f475d4d1e7e1b59abff834e4f694188f40a8d851eacd33613", kill_on_drop: false }` [INFO] [stdout] ae93c24b57795f6f475d4d1e7e1b59abff834e4f694188f40a8d851eacd33613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc49dfccf29a1d890aba1ae079c101871b3d6b82e6a139f67309dae7f618401c [INFO] running `Command { std: "docker" "start" "-a" "fc49dfccf29a1d890aba1ae079c101871b3d6b82e6a139f67309dae7f618401c", 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_global_env ... ok [INFO] [stdout] test strings::funcs::test::full_tests::test_tilde_expansion ... ok [INFO] [stdout] test strings::funcs::test::env_test::test_error_env ... ok [INFO] [stdout] test strings::funcs::test::env_test::test_regular_env ... ok [INFO] [stdout] test strings::funcs::test::tilde_tests::test_with_tilde_no_hd ... 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_global_tilde ... ok [INFO] [stdout] test strings::funcs::test::env_test::test_empty_env ... ok [INFO] [stdout] test strings::funcs::test::full_tests::test_quirks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [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::env_with_context_no_errors (line 512) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::env (line 558) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::full (line 201) ... ok [INFO] [stdout] test src/lib.rs - (line 33) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::full_with_context (line 43) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::full_with_context_no_errors (line 132) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::env_with_context (line 330) ... ok [INFO] [stdout] test src/lib.rs - (line 67) ... ok [INFO] [stdout] test src/lib.rs - (line 48) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc49dfccf29a1d890aba1ae079c101871b3d6b82e6a139f67309dae7f618401c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc49dfccf29a1d890aba1ae079c101871b3d6b82e6a139f67309dae7f618401c", kill_on_drop: false }` [INFO] [stdout] fc49dfccf29a1d890aba1ae079c101871b3d6b82e6a139f67309dae7f618401c