[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 master#656ccbe796ff98def9b555c118e1620c5389e3b2 for pr-133502-24
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Flifetimes" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/psatomas/lifetimes on toolchain 656ccbe796ff98def9b555c118e1620c5389e3b2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "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" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 83f4c37741e97a4005e2eb245e6018e7d0e72dc2342d8854d8494bdac6fec99b
[INFO] running `Command { std: "docker" "start" "83f4c37741e97a4005e2eb245e6018e7d0e72dc2342d8854d8494bdac6fec99b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "83f4c37741e97a4005e2eb245e6018e7d0e72dc2342d8854d8494bdac6fec99b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "83f4c37741e97a4005e2eb245e6018e7d0e72dc2342d8854d8494bdac6fec99b" "/opt/rustwide/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "83f4c37741e97a4005e2eb245e6018e7d0e72dc2342d8854d8494bdac6fec99b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "83f4c37741e97a4005e2eb245e6018e7d0e72dc2342d8854d8494bdac6fec99b" "/opt/rustwide/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking lifetimes v0.1.0 (/opt/rustwide/workdir)
[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 `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: 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: `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: 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: 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: `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: 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_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: 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: `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: `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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "83f4c37741e97a4005e2eb245e6018e7d0e72dc2342d8854d8494bdac6fec99b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83f4c37741e97a4005e2eb245e6018e7d0e72dc2342d8854d8494bdac6fec99b", kill_on_drop: false }`
[INFO] [stdout] 83f4c37741e97a4005e2eb245e6018e7d0e72dc2342d8854d8494bdac6fec99b
