[INFO] cloning repository https://github.com/xongxg/lifetime_issues [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xongxg/lifetime_issues" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxongxg%2Flifetime_issues", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxongxg%2Flifetime_issues'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8afb49f2da3d523c7e5b464c58665c42c8660c9a [INFO] checking xongxg/lifetime_issues against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxongxg%2Flifetime_issues" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xongxg/lifetime_issues [INFO] finished tweaking git repo https://github.com/xongxg/lifetime_issues [INFO] tweaked toml for git repo https://github.com/xongxg/lifetime_issues written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xongxg/lifetime_issues on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xongxg/lifetime_issues 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a8fa35b8b6c283143747a890876bc71b4ce4394c9264eb5c70a3cb80b71a012 [INFO] running `Command { std: "docker" "start" "-a" "8a8fa35b8b6c283143747a890876bc71b4ce4394c9264eb5c70a3cb80b71a012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a8fa35b8b6c283143747a890876bc71b4ce4394c9264eb5c70a3cb80b71a012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a8fa35b8b6c283143747a890876bc71b4ce4394c9264eb5c70a3cb80b71a012", kill_on_drop: false }` [INFO] [stdout] 8a8fa35b8b6c283143747a890876bc71b4ce4394c9264eb5c70a3cb80b71a012 [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" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b93c605c1893dcff405cbcae195013ff365e71bca53a351c9a87ddda2da3d8ec [INFO] running `Command { std: "docker" "start" "-a" "b93c605c1893dcff405cbcae195013ff365e71bca53a351c9a87ddda2da3d8ec", kill_on_drop: false }` [INFO] [stderr] Checking lifetime_issues v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Interfaces` is never constructed [INFO] [stdout] --> src/mut_borrow.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Interfaces<'text, 'manager> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `noop` is never used [INFO] [stdout] --> src/mut_borrow.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'text, 'manager> Interfaces<'text, 'manager> { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 19 | pub fn noop(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Manager` is never constructed [INFO] [stdout] --> src/mut_borrow.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct Manager<'text> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/mut_borrow.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct List<'text> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_interfaces` is never used [INFO] [stdout] --> src/mut_borrow.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'text> List<'text> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 41 | pub fn get_interfaces<'manager>(&'manager mut self) -> Interfaces<'text, 'manager> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_list` is never used [INFO] [stdout] --> src/mut_borrow.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn use_list(list: &List) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bar` is never used [INFO] [stdout] --> src/mut_borrow.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn bar(writer: &mut Writer) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `baz` is never used [INFO] [stdout] --> src/mut_borrow.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn baz(writer: &mut Writer) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Writer` is never constructed [INFO] [stdout] --> src/mut_borrow.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Writer<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `indent` and `write` are never used [INFO] [stdout] --> src/mut_borrow.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'a> Writer<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 84 | fn indent(&mut self) -> Writer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn write(&mut self, s: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mut_borrow.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | fn indent(&mut self) -> Writer { [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] 84 | fn indent(&mut self) -> Writer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `manager` is never read [INFO] [stdout] --> src/mut_borrow.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Interfaces<'text, 'manager> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | manager: &'manager mut Manager<'text>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bar` is never used [INFO] [stdout] --> src/mut_borrow.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn bar(writer: &mut Writer) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `baz` is never used [INFO] [stdout] --> src/mut_borrow.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn baz(writer: &mut Writer) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Writer` is never constructed [INFO] [stdout] --> src/mut_borrow.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Writer<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `indent` and `write` are never used [INFO] [stdout] --> src/mut_borrow.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl<'a> Writer<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 84 | fn indent(&mut self) -> Writer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn write(&mut self, s: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mut_borrow.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | fn indent(&mut self) -> Writer { [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] 84 | fn indent(&mut self) -> Writer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "b93c605c1893dcff405cbcae195013ff365e71bca53a351c9a87ddda2da3d8ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93c605c1893dcff405cbcae195013ff365e71bca53a351c9a87ddda2da3d8ec", kill_on_drop: false }` [INFO] [stdout] b93c605c1893dcff405cbcae195013ff365e71bca53a351c9a87ddda2da3d8ec