[INFO] cloning repository https://github.com/vanichitkara/rustOwnership
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vanichitkara/rustOwnership" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanichitkara%2FrustOwnership", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanichitkara%2FrustOwnership'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 583b6b735c30e99f53a495d962d94193d211053b
[INFO] checking vanichitkara/rustOwnership against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvanichitkara%2FrustOwnership" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vanichitkara/rustOwnership
[INFO] finished tweaking git repo https://github.com/vanichitkara/rustOwnership
[INFO] tweaked toml for git repo https://github.com/vanichitkara/rustOwnership written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vanichitkara/rustOwnership on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vanichitkara/rustOwnership 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb417398507e573492536414128e485abefe16dffcc199ed5798bd3a9306ecac
[INFO] running `Command { std: "docker" "start" "-a" "eb417398507e573492536414128e485abefe16dffcc199ed5798bd3a9306ecac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb417398507e573492536414128e485abefe16dffcc199ed5798bd3a9306ecac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb417398507e573492536414128e485abefe16dffcc199ed5798bd3a9306ecac", kill_on_drop: false }`
[INFO] [stdout] eb417398507e573492536414128e485abefe16dffcc199ed5798bd3a9306ecac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2477ef0ba26d94db5a9266954515a9b52cbacd929b97ec1ef42c665b334f3627
[INFO] running `Command { std: "docker" "start" "-a" "2477ef0ba26d94db5a9266954515a9b52cbacd929b97ec1ef42c665b334f3627", kill_on_drop: false }`
[INFO] [stderr]     Checking rustOwnership v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut result = myString + myString2; // two owned strings cannot be concatenated as the result variable is pointing to two differen...
[INFO] [stdout]    |                                 ^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut result = myString + &myString2; // two owned strings cannot be concatenated as the result variable is pointing to two different data in heap
[INFO] [stdout]    |                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut result = myString + myString2; // two owned strings cannot be concatenated as the result variable is pointing to two differen...
[INFO] [stdout]    |                                 ^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut result = myString + &myString2; // two owned strings cannot be concatenated as the result variable is pointing to two different data in heap
[INFO] [stdout]    |                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `String` to `&str`
[INFO] [stdout]   --> src/main.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let result2 = "Value" + String::from("something"); // &str(borrowed string) + owned string (cannot be concatenated as the left string...
[INFO] [stdout]    |                   ------- ^ ------------------------- String
[INFO] [stdout]    |                   |       |
[INFO] [stdout]    |                   |       `+` cannot be used to concatenate a `&str` with a `String`
[INFO] [stdout]    |                   &str
[INFO] [stdout]    |
[INFO] [stdout] help: create an owned `String` on the left and add a borrow on the right
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let result2 = "Value".to_owned() + &String::from("something"); // &str(borrowed string) + owned string (cannot be concatenated as the left string is not growable)
[INFO] [stdout]    |                          +++++++++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `String` to `&str`
[INFO] [stdout]   --> src/main.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let result2 = "Value" + String::from("something"); // &str(borrowed string) + owned string (cannot be concatenated as the left string...
[INFO] [stdout]    |                   ------- ^ ------------------------- String
[INFO] [stdout]    |                   |       |
[INFO] [stdout]    |                   |       `+` cannot be used to concatenate a `&str` with a `String`
[INFO] [stdout]    |                   &str
[INFO] [stdout]    |
[INFO] [stdout] help: create an owned `String` on the left and add a borrow on the right
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let result2 = "Value".to_owned() + &String::from("something"); // &str(borrowed string) + owned string (cannot be concatenated as the left string is not growable)
[INFO] [stdout]    |                          +++++++++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `&str` to `&str`
[INFO] [stdout]   --> src/main.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let result3 = "Value"  + "Something"; // &str(borrowed string) + &str(borrowed string) (cannot be concatenated as the left string is ...
[INFO] [stdout]    |                   -------  ^ ----------- &str
[INFO] [stdout]    |                   |        |
[INFO] [stdout]    |                   |        `+` cannot be used to concatenate two `&str` strings
[INFO] [stdout]    |                   &str
[INFO] [stdout]    |
[INFO] [stdout]    = note: string concatenation requires an owned `String` on the left
[INFO] [stdout] help: create an owned `String` from a string reference
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let result3 = "Value".to_owned()  + "Something"; // &str(borrowed string) + &str(borrowed string) (cannot be concatenated as the left string is not growable)
[INFO] [stdout]    |                          +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `&str` to `&str`
[INFO] [stdout]   --> src/main.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let result3 = "Value"  + "Something"; // &str(borrowed string) + &str(borrowed string) (cannot be concatenated as the left string is ...
[INFO] [stdout]    |                   -------  ^ ----------- &str
[INFO] [stdout]    |                   |        |
[INFO] [stdout]    |                   |        `+` cannot be used to concatenate two `&str` strings
[INFO] [stdout]    |                   &str
[INFO] [stdout]    |
[INFO] [stdout]    = note: string concatenation requires an owned `String` on the left
[INFO] [stdout] help: create an owned `String` from a string reference
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let result3 = "Value".to_owned()  + "Something"; // &str(borrowed string) + &str(borrowed string) (cannot be concatenated as the left string is not growable)
[INFO] [stdout]    |                          +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustOwnership` (bin "rustOwnership") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rustOwnership` (bin "rustOwnership" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "2477ef0ba26d94db5a9266954515a9b52cbacd929b97ec1ef42c665b334f3627", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2477ef0ba26d94db5a9266954515a9b52cbacd929b97ec1ef42c665b334f3627", kill_on_drop: false }`
[INFO] [stdout] 2477ef0ba26d94db5a9266954515a9b52cbacd929b97ec1ef42c665b334f3627
