[INFO] cloning repository https://github.com/psatomas/lifetimes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psatomas/lifetimes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Flifetimes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Flifetimes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 547088806310e6b4009f51cd8fbebaf2636cd879 [INFO] checking psatomas/lifetimes against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Flifetimes" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/psatomas/lifetimes [INFO] finished tweaking git repo https://github.com/psatomas/lifetimes [INFO] tweaked toml for git repo https://github.com/psatomas/lifetimes written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/psatomas/lifetimes on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/psatomas/lifetimes 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d26c1e8527b1bbb379ebbe19d0bb1f554d9475b40afd117e21a3834e9697052 [INFO] running `Command { std: "docker" "start" "-a" "2d26c1e8527b1bbb379ebbe19d0bb1f554d9475b40afd117e21a3834e9697052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d26c1e8527b1bbb379ebbe19d0bb1f554d9475b40afd117e21a3834e9697052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d26c1e8527b1bbb379ebbe19d0bb1f554d9475b40afd117e21a3834e9697052", kill_on_drop: false }` [INFO] [stdout] 2d26c1e8527b1bbb379ebbe19d0bb1f554d9475b40afd117e21a3834e9697052 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fe58db201139fa7c4df622ec5c35902470a5e9648567ec338c0a6103adb8cdc [INFO] running `Command { std: "docker" "start" "-a" "4fe58db201139fa7c4df622ec5c35902470a5e9648567ec338c0a6103adb8cdc", kill_on_drop: false }` [INFO] [stderr] Checking lifetimes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `to` is never read [INFO] [stdout] --> src/bin/multiple_lifetimes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct TravelPlan<'a, 'b> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3 | from: &'b str, [INFO] [stdout] 4 | to: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TravelPlan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_favorite` is never used [INFO] [stdout] --> src/bin/multiple_parameters_i.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn choose_favorite<'a>(first: & str, second: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_cities` [INFO] [stdout] --> src/bin/invalid_lifetimes_i.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let some_cities = { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_cities` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cities` [INFO] [stdout] --> src/bin/invalid_lifetimes_i.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | let cities = vec![ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `places` [INFO] [stdout] --> src/bin/invalid_lifetimes_ii.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let places = cities; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_places` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_favorite` is never used [INFO] [stdout] --> src/bin/multiple_parameters_i.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn choose_favorite<'a>(first: & str, second: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/concrete_lifetimes_for_values_i.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let a = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_cities` [INFO] [stdout] --> src/bin/invalid_lifetimes_i.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let some_cities = { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_cities` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cities` [INFO] [stdout] --> src/bin/invalid_lifetimes_i.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | let cities = vec![ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/concrete_lifetimes_for_values_ii.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let a = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/bin/concrete_lifetimes_for_values_ii.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let b = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/bin/lifetime_elision_rules_i.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | fn my_awesome_function(first: &i32, second: String) -> &i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_awesome_function` is never used [INFO] [stdout] --> src/bin/lifetime_elision_rules_i.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn my_awesome_function(first: &i32, second: String) -> &i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/concrete_lifetimes_for_values_i.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let a = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `places` [INFO] [stdout] --> src/bin/invalid_lifetimes_ii.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let places = cities; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_places` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to` is never read [INFO] [stdout] --> src/bin/multiple_lifetimes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct TravelPlan<'a, 'b> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3 | from: &'b str, [INFO] [stdout] 4 | to: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TravelPlan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/concrete_lifetimes_for_values_ii.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let a = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/bin/concrete_lifetimes_for_values_ii.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let b = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/bin/lifetime_elision_rules_i.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | fn my_awesome_function(first: &i32, second: String) -> &i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_awesome_function` is never used [INFO] [stdout] --> src/bin/lifetime_elision_rules_i.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn my_awesome_function(first: &i32, second: String) -> &i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "4fe58db201139fa7c4df622ec5c35902470a5e9648567ec338c0a6103adb8cdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe58db201139fa7c4df622ec5c35902470a5e9648567ec338c0a6103adb8cdc", kill_on_drop: false }` [INFO] [stdout] 4fe58db201139fa7c4df622ec5c35902470a5e9648567ec338c0a6103adb8cdc