[INFO] fetching crate x-path 0.1.0-alpha.0... [INFO] building x-path-0.1.0-alpha.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate x-path 0.1.0-alpha.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate x-path 0.1.0-alpha.0 [INFO] finished tweaking crates.io crate x-path 0.1.0-alpha.0 [INFO] tweaked toml for crates.io crate x-path 0.1.0-alpha.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate x-path 0.1.0-alpha.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.61.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1976f082e5662132e8c03bd59fef677e2fb334ed27db5d6fe63b1f05ad913ac6 [INFO] running `Command { std: "docker" "start" "-a" "1976f082e5662132e8c03bd59fef677e2fb334ed27db5d6fe63b1f05ad913ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1976f082e5662132e8c03bd59fef677e2fb334ed27db5d6fe63b1f05ad913ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1976f082e5662132e8c03bd59fef677e2fb334ed27db5d6fe63b1f05ad913ac6", kill_on_drop: false }` [INFO] [stdout] 1976f082e5662132e8c03bd59fef677e2fb334ed27db5d6fe63b1f05ad913ac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de24999eaf138e93f6e6a59376e5e20f9048d3aba83cc77076649a61c73caceb [INFO] running `Command { std: "docker" "start" "-a" "de24999eaf138e93f6e6a59376e5e20f9048d3aba83cc77076649a61c73caceb", kill_on_drop: false }` [INFO] [stderr] Compiling x-path v0.1.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/dir_path.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DirPath(PathInner); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/rel_file_path.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RelFilePath(PathInner); [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_slash`, `is_current_dir`, and `is_user_dir` are never used [INFO] [stdout] --> src/ext/str_ext.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait StrExt { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 6 | fn is_slash(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | fn is_current_dir(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn is_user_dir(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/abs_dir_path.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AbsDirPath(PathInner); [INFO] [stdout] | ---------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/abs_file_path.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AbsFilePath(PathInner); [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/inner/path.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn chars(&self) -> Chars { [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] 75 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/rel_path.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RelPath(PathInner); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/any_path.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn segments(&self) -> Segments { [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] 8 | pub fn segments(&self) -> Segments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/file_path.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct FilePath(PathInner); [INFO] [stdout] | -------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/inner/path.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn segments(&self) -> Segments { [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] 79 | pub fn segments(&self) -> Segments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/inner/expand_envs.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn expand_envs<'a>(path: &'a str) -> Result> { [INFO] [stdout] | -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn expand_envs<'a>(path: &'a str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/inner/win_drive.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn windows_drive(path: &str) -> Result<(Drive, 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] 37 | pub(crate) fn windows_drive(path: &str) -> Result<(Drive, Cow<'_, str>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/abs_path.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AbsPath(PathInner); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/rel_dir_path.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RelDirPath(PathInner); [INFO] [stdout] | ---------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/any_path.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn chars(&self) -> Chars { [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] 12 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "de24999eaf138e93f6e6a59376e5e20f9048d3aba83cc77076649a61c73caceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de24999eaf138e93f6e6a59376e5e20f9048d3aba83cc77076649a61c73caceb", kill_on_drop: false }` [INFO] [stdout] de24999eaf138e93f6e6a59376e5e20f9048d3aba83cc77076649a61c73caceb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b36c95ea75480c5552e5e515c626a72a4bd3b9ef275ca5b71ffc6e72e7efe06 [INFO] running `Command { std: "docker" "start" "-a" "5b36c95ea75480c5552e5e515c626a72a4bd3b9ef275ca5b71ffc6e72e7efe06", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling string-sections v0.1.0 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/dir_path.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DirPath(PathInner); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/rel_file_path.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RelFilePath(PathInner); [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_slash`, `is_current_dir`, and `is_user_dir` are never used [INFO] [stdout] --> src/ext/str_ext.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait StrExt { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 6 | fn is_slash(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | fn is_current_dir(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn is_user_dir(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/abs_dir_path.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AbsDirPath(PathInner); [INFO] [stdout] | ---------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/abs_file_path.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AbsFilePath(PathInner); [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/inner/path.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn chars(&self) -> Chars { [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] 75 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/rel_path.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RelPath(PathInner); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/any_path.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn segments(&self) -> Segments { [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] 8 | pub fn segments(&self) -> Segments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/file_path.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct FilePath(PathInner); [INFO] [stdout] | -------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/inner/path.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn segments(&self) -> Segments { [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] 79 | pub fn segments(&self) -> Segments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/inner/expand_envs.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn expand_envs<'a>(path: &'a str) -> Result> { [INFO] [stdout] | -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn expand_envs<'a>(path: &'a str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/inner/win_drive.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn windows_drive(path: &str) -> Result<(Drive, 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] 37 | pub(crate) fn windows_drive(path: &str) -> Result<(Drive, Cow<'_, str>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/abs_path.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AbsPath(PathInner); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/rel_dir_path.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RelDirPath(PathInner); [INFO] [stdout] | ---------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/any_path.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn chars(&self) -> Chars { [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] 12 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cargo_metadata v0.15.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling markdown-includes v0.1.1 [INFO] [stderr] Compiling x-path v0.1.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/abs_dir_path.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AbsDirPath(PathInner); [INFO] [stdout] | ---------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/rel_dir_path.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RelDirPath(PathInner); [INFO] [stdout] | ---------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/inner/expand_envs.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn expand_envs<'a>(path: &'a str) -> Result> { [INFO] [stdout] | -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn expand_envs<'a>(path: &'a str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_slash`, `is_current_dir`, and `is_user_dir` are never used [INFO] [stdout] --> src/ext/str_ext.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait StrExt { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 6 | fn is_slash(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | fn is_current_dir(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn is_user_dir(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/file_path.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct FilePath(PathInner); [INFO] [stdout] | -------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/dir_path.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DirPath(PathInner); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/rel_file_path.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RelFilePath(PathInner); [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/any_path.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn segments(&self) -> Segments { [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] 8 | pub fn segments(&self) -> Segments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path/any_path.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn chars(&self) -> Chars { [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] 12 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PathBufExt` is never used [INFO] [stdout] --> src/ext/path_ext.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait PathBufExt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/inner/win_drive.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn windows_drive(path: &str) -> Result<(Drive, 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] 37 | pub(crate) fn windows_drive(path: &str) -> Result<(Drive, Cow<'_, str>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/rel_path.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RelPath(PathInner); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/abs_path.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AbsPath(PathInner); [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/inner/path.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn chars(&self) -> Chars { [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] 75 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/path/abs_file_path.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AbsFilePath(PathInner); [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/inner/path.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn segments(&self) -> Segments { [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] 79 | pub fn segments(&self) -> Segments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.19s [INFO] running `Command { std: "docker" "inspect" "5b36c95ea75480c5552e5e515c626a72a4bd3b9ef275ca5b71ffc6e72e7efe06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b36c95ea75480c5552e5e515c626a72a4bd3b9ef275ca5b71ffc6e72e7efe06", kill_on_drop: false }` [INFO] [stdout] 5b36c95ea75480c5552e5e515c626a72a4bd3b9ef275ca5b71ffc6e72e7efe06