[INFO] fetching crate x-path 0.1.0-alpha.0... [INFO] checking x-path-0.1.0-alpha.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate x-path 0.1.0-alpha.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate x-path 0.1.0-alpha.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.60.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 213fe82a159425275b85a5dbe669460c027af58cf55934a5890f91248d2d16ba [INFO] running `Command { std: "docker" "start" "-a" "213fe82a159425275b85a5dbe669460c027af58cf55934a5890f91248d2d16ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "213fe82a159425275b85a5dbe669460c027af58cf55934a5890f91248d2d16ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "213fe82a159425275b85a5dbe669460c027af58cf55934a5890f91248d2d16ba", kill_on_drop: false }` [INFO] [stdout] 213fe82a159425275b85a5dbe669460c027af58cf55934a5890f91248d2d16ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d86125ba17a4919db6645f190e7035381a2244845fec60915aedd16799a61b96 [INFO] running `Command { std: "docker" "start" "-a" "d86125ba17a4919db6645f190e7035381a2244845fec60915aedd16799a61b96", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking string-sections v0.1.0 [INFO] [stderr] Checking x-path v0.1.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking itertools v0.10.5 [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] = note: `#[warn(dead_code)]` on by default [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: 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/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/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/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: 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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/inner/expand_envs.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn expand_envs<'a>(path: &'a str) -> Result> { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/inner/path.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn chars(&self) -> Chars { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/inner/path.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn segments(&self) -> Segments { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn segments(&self) -> Segments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/path/any_path.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn segments(&self) -> Segments { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn segments(&self) -> Segments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/path/any_path.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn chars(&self) -> Chars { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking markdown-includes v0.1.1 [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] = note: `#[warn(dead_code)]` on by default [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: 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/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/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/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: 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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/inner/expand_envs.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn expand_envs<'a>(path: &'a str) -> Result> { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/inner/path.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn chars(&self) -> Chars { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/inner/path.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn segments(&self) -> Segments { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn segments(&self) -> Segments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/path/any_path.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn segments(&self) -> Segments { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn segments(&self) -> Segments<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/path/any_path.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn chars(&self) -> Chars { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 16.54s [INFO] running `Command { std: "docker" "inspect" "d86125ba17a4919db6645f190e7035381a2244845fec60915aedd16799a61b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d86125ba17a4919db6645f190e7035381a2244845fec60915aedd16799a61b96", kill_on_drop: false }` [INFO] [stdout] d86125ba17a4919db6645f190e7035381a2244845fec60915aedd16799a61b96