[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 try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevKan009%2Fdemo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DevKan009/demo on toolchain f70ee28831acc074c109afab32d287057c3eca46
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "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" "+f70ee28831acc074c109afab32d287057c3eca46" "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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 561d688cfe4416619fc7a347537b9eecb5c0a0871baa1ade5f350f23b8fbcd50
[INFO] running `Command { std: "docker" "start" "-a" "561d688cfe4416619fc7a347537b9eecb5c0a0871baa1ade5f350f23b8fbcd50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "561d688cfe4416619fc7a347537b9eecb5c0a0871baa1ade5f350f23b8fbcd50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "561d688cfe4416619fc7a347537b9eecb5c0a0871baa1ade5f350f23b8fbcd50", kill_on_drop: false }`
[INFO] [stdout] 561d688cfe4416619fc7a347537b9eecb5c0a0871baa1ade5f350f23b8fbcd50
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd19b6b9ed0b3ea71709573583d0248038a18d1ff2872261c047fb0b7be03c79
[INFO] running `Command { std: "docker" "start" "-a" "fd19b6b9ed0b3ea71709573583d0248038a18d1ff2872261c047fb0b7be03c79", 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" "fd19b6b9ed0b3ea71709573583d0248038a18d1ff2872261c047fb0b7be03c79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd19b6b9ed0b3ea71709573583d0248038a18d1ff2872261c047fb0b7be03c79", kill_on_drop: false }`
[INFO] [stdout] fd19b6b9ed0b3ea71709573583d0248038a18d1ff2872261c047fb0b7be03c79
