[INFO] cloning repository https://github.com/HarshK200/rust_marathon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarshK200/rust_marathon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshK200%2Frust_marathon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshK200%2Frust_marathon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fe434e5eaa25f92d1e807dac8d2c13f4d7302915
[INFO] building HarshK200/rust_marathon against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshK200%2Frust_marathon" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/HarshK200/rust_marathon on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/HarshK200/rust_marathon
[INFO] finished tweaking git repo https://github.com/HarshK200/rust_marathon
[INFO] tweaked toml for git repo https://github.com/HarshK200/rust_marathon written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/HarshK200/rust_marathon 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6e6b9efe70441096bc03c4c5da164a984140d30ce3ea4a990c13e46b500b1075
[INFO] running `Command { std: "docker" "start" "-a" "6e6b9efe70441096bc03c4c5da164a984140d30ce3ea4a990c13e46b500b1075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6e6b9efe70441096bc03c4c5da164a984140d30ce3ea4a990c13e46b500b1075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e6b9efe70441096bc03c4c5da164a984140d30ce3ea4a990c13e46b500b1075", kill_on_drop: false }`
[INFO] [stdout] 6e6b9efe70441096bc03c4c5da164a984140d30ce3ea4a990c13e46b500b1075
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 723fd6a7b54394037467e28b7bc8bbe8fe91c04c5f15e8fc29de2397b146bbf8
[INFO] running `Command { std: "docker" "start" "-a" "723fd6a7b54394037467e28b7bc8bbe8fe91c04c5f15e8fc29de2397b146bbf8", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0597]: `str2` does not live long enough
[INFO] [stdout]   --> src/lifetimes.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let str2 = String::from("longer");
[INFO] [stdout]    |             ---- binding `str2` declared here
[INFO] [stdout] 16 |         longest_str = longest(&str1, &str2);
[INFO] [stdout]    |                                      ^^^^^ borrowed value does not live long enough
[INFO] [stdout] 17 |     }
[INFO] [stdout]    |     - `str2` dropped here while still borrowed
[INFO] [stdout] 18 |
[INFO] [stdout] 19 |     println!("Longest string: {}", longest_str);
[INFO] [stdout]    |                                    ----------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `first_name` does not live long enough
[INFO] [stdout]   --> src/structs_lifetime.rs:12:29
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let first_name = String::from("harsh");
[INFO] [stdout]    |             ---------- binding `first_name` declared here
[INFO] [stdout] 12 |         user = User { name: &first_name };
[INFO] [stdout]    |                             ^^^^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] 13 |     }
[INFO] [stdout]    |     - `first_name` dropped here while still borrowed
[INFO] [stdout] 14 |
[INFO] [stdout] 15 |     println!("User's name is {}", user.name);
[INFO] [stdout]    |                                   --------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `extra_thread`
[INFO] [stdout]   --> src/multithreading.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let extra_thread = thread::spawn(|| {
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_thread`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust` (bin "main") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "723fd6a7b54394037467e28b7bc8bbe8fe91c04c5f15e8fc29de2397b146bbf8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "723fd6a7b54394037467e28b7bc8bbe8fe91c04c5f15e8fc29de2397b146bbf8", kill_on_drop: false }`
[INFO] [stdout] 723fd6a7b54394037467e28b7bc8bbe8fe91c04c5f15e8fc29de2397b146bbf8
