[INFO] fetching crate shellexpand 3.1.1... [INFO] testing shellexpand-3.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate shellexpand 3.1.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shellexpand 3.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fa1e3d21c8c0895163409c328f7471628293b832b9c95c8037a328d08a1fdf8 [INFO] running `Command { std: "docker" "start" "-a" "9fa1e3d21c8c0895163409c328f7471628293b832b9c95c8037a328d08a1fdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fa1e3d21c8c0895163409c328f7471628293b832b9c95c8037a328d08a1fdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa1e3d21c8c0895163409c328f7471628293b832b9c95c8037a328d08a1fdf8", kill_on_drop: false }` [INFO] [stdout] 9fa1e3d21c8c0895163409c328f7471628293b832b9c95c8037a328d08a1fdf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97fcc51ff33c244dc7b46c337daa397651c379ed697e9a93235233e1de21d8cb [INFO] running `Command { std: "docker" "start" "-a" "97fcc51ff33c244dc7b46c337daa397651c379ed697e9a93235233e1de21d8cb", 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)]` 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.68s [INFO] running `Command { std: "docker" "inspect" "97fcc51ff33c244dc7b46c337daa397651c379ed697e9a93235233e1de21d8cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97fcc51ff33c244dc7b46c337daa397651c379ed697e9a93235233e1de21d8cb", kill_on_drop: false }` [INFO] [stdout] 97fcc51ff33c244dc7b46c337daa397651c379ed697e9a93235233e1de21d8cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06907b0e01fce34673b22cd0186cc1613027a552bde7187f6b6b6b4a21624558 [INFO] running `Command { std: "docker" "start" "-a" "06907b0e01fce34673b22cd0186cc1613027a552bde7187f6b6b6b4a21624558", 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)]` 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)]` 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.51s [INFO] running `Command { std: "docker" "inspect" "06907b0e01fce34673b22cd0186cc1613027a552bde7187f6b6b6b4a21624558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06907b0e01fce34673b22cd0186cc1613027a552bde7187f6b6b6b4a21624558", kill_on_drop: false }` [INFO] [stdout] 06907b0e01fce34673b22cd0186cc1613027a552bde7187f6b6b6b4a21624558 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1332689bd4b9be5ba63882210b28cda305ddd9d4af9b59d9d4880cb124cdb2b1 [INFO] running `Command { std: "docker" "start" "-a" "1332689bd4b9be5ba63882210b28cda305ddd9d4af9b59d9d4880cb124cdb2b1", 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)]` 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.05s [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_empty_env ... ok [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::env_test::test_unicode ... ok [INFO] [stdout] test strings::funcs::test::env_test::test_regular_env ... ok [INFO] [stdout] test strings::funcs::test::full_tests::test_quirks ... ok [INFO] [stdout] test strings::funcs::test::full_tests::test_tilde_expansion ... 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::tilde_tests::test_with_tilde_no_hd ... 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::tilde_with_context (line 612) ... ok [INFO] [stdout] test src/lib.rs - (line 67) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::env_with_context (line 330) ... ok [INFO] [stdout] test src/lib.rs - (line 48) ... 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::env_with_context_no_errors (line 512) ... ok [INFO] [stdout] test src/funcs.rs - strings::funcs::tilde (line 661) ... 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 (line 558) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1332689bd4b9be5ba63882210b28cda305ddd9d4af9b59d9d4880cb124cdb2b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1332689bd4b9be5ba63882210b28cda305ddd9d4af9b59d9d4880cb124cdb2b1", kill_on_drop: false }` [INFO] [stdout] 1332689bd4b9be5ba63882210b28cda305ddd9d4af9b59d9d4880cb124cdb2b1