[INFO] cloning repository https://github.com/DevKan009/demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DevKan009/demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevKan009%2Fdemo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevKan009%2Fdemo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 85dd4583599e942dd0fe88e8d558bf1adbbd025b
[INFO] checking DevKan009/demo against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevKan009%2Fdemo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DevKan009/demo
[INFO] finished tweaking git repo https://github.com/DevKan009/demo
[INFO] tweaked toml for git repo https://github.com/DevKan009/demo written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DevKan009/demo on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DevKan009/demo 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f79df14dc6ce6e1be5de01f26a93db3bf877e532c738b9ea1fb4bd15389f9b98
[INFO] running `Command { std: "docker" "start" "-a" "f79df14dc6ce6e1be5de01f26a93db3bf877e532c738b9ea1fb4bd15389f9b98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f79df14dc6ce6e1be5de01f26a93db3bf877e532c738b9ea1fb4bd15389f9b98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f79df14dc6ce6e1be5de01f26a93db3bf877e532c738b9ea1fb4bd15389f9b98", kill_on_drop: false }`
[INFO] [stdout] f79df14dc6ce6e1be5de01f26a93db3bf877e532c738b9ea1fb4bd15389f9b98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f740064b72f44837c9cdd5ece4b9ac10bcc1ca61d83aaa4f482234c0162c1b12
[INFO] running `Command { std: "docker" "start" "-a" "f740064b72f44837c9cdd5ece4b9ac10bcc1ca61d83aaa4f482234c0162c1b12", kill_on_drop: false }`
[INFO] [stderr]     Checking hello_program v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0382]: borrow of moved value: `s2`
[INFO] [stdout]   --> src/main.rs:8:30
[INFO] [stdout]    |
[INFO] [stdout]  5 |     let s2:String= String::from("world");//s2=world
[INFO] [stdout]    |         -- move occurs because `s2` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]  6 |     let s3:String= send_get_string(s2);//recieved_string is new owner of world while s2 is invalidated;
[INFO] [stdout]    |                                    -- value moved here
[INFO] [stdout]  7 |     //s3 = new owner of world
[INFO] [stdout]  8 |     println!("this is s2:{}",s2);
[INFO] [stdout]    |                              ^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `send_get_string` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/main.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn send_get_string(recieved_string:String) ->String {
[INFO] [stdout]    |    ---------------                 ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout]  6 |     let s3:String= send_get_string(s2.clone());//recieved_string is new owner of world while s2 is invalidated;
[INFO] [stdout]    |                                      ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_program` (bin "hello_program" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: borrow of moved value: `s2`
[INFO] [stdout]   --> src/main.rs:8:30
[INFO] [stdout]    |
[INFO] [stdout]  5 |     let s2:String= String::from("world");//s2=world
[INFO] [stdout]    |         -- move occurs because `s2` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout]  6 |     let s3:String= send_get_string(s2);//recieved_string is new owner of world while s2 is invalidated;
[INFO] [stdout]    |                                    -- value moved here
[INFO] [stdout]  7 |     //s3 = new owner of world
[INFO] [stdout]  8 |     println!("this is s2:{}",s2);
[INFO] [stdout]    |                              ^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `send_get_string` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/main.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn send_get_string(recieved_string:String) ->String {
[INFO] [stdout]    |    ---------------                 ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout]  6 |     let s3:String= send_get_string(s2.clone());//recieved_string is new owner of world while s2 is invalidated;
[INFO] [stdout]    |                                      ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_program` (bin "hello_program") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "f740064b72f44837c9cdd5ece4b9ac10bcc1ca61d83aaa4f482234c0162c1b12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f740064b72f44837c9cdd5ece4b9ac10bcc1ca61d83aaa4f482234c0162c1b12", kill_on_drop: false }`
[INFO] [stdout] f740064b72f44837c9cdd5ece4b9ac10bcc1ca61d83aaa4f482234c0162c1b12
