[INFO] cloning repository https://github.com/wahyuakbarwibowo/learn-rust-2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wahyuakbarwibowo/learn-rust-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwahyuakbarwibowo%2Flearn-rust-2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwahyuakbarwibowo%2Flearn-rust-2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13b3b1cbd4664f567fb44e208de466776e01cb80 [INFO] checking wahyuakbarwibowo/learn-rust-2/13b3b1cbd4664f567fb44e208de466776e01cb80 against try#c4ca24658d934444a28db36abebef17a8651701a for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwahyuakbarwibowo%2Flearn-rust-2" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wahyuakbarwibowo/learn-rust-2 [INFO] finished tweaking git repo https://github.com/wahyuakbarwibowo/learn-rust-2 [INFO] tweaked toml for git repo https://github.com/wahyuakbarwibowo/learn-rust-2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wahyuakbarwibowo/learn-rust-2 on toolchain c4ca24658d934444a28db36abebef17a8651701a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wahyuakbarwibowo/learn-rust-2 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" "+c4ca24658d934444a28db36abebef17a8651701a" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32ffa4b5f8d56104c136c346b003a0c8b40cecfa536d91176942cbe3254b27da [INFO] running `Command { std: "docker" "start" "-a" "32ffa4b5f8d56104c136c346b003a0c8b40cecfa536d91176942cbe3254b27da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32ffa4b5f8d56104c136c346b003a0c8b40cecfa536d91176942cbe3254b27da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32ffa4b5f8d56104c136c346b003a0c8b40cecfa536d91176942cbe3254b27da", kill_on_drop: false }` [INFO] [stdout] 32ffa4b5f8d56104c136c346b003a0c8b40cecfa536d91176942cbe3254b27da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 208050e56ecf0a5f1c9ee263628cbe282d5d3f177921f9f64080425823687f4c [INFO] running `Command { std: "docker" "start" "-a" "208050e56ecf0a5f1c9ee263628cbe282d5d3f177921f9f64080425823687f4c", kill_on_drop: false }` [INFO] [stderr] Checking as_func v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: borrow of moved value: `msg1` [INFO] [stdout] --> src/main.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 56 | let msg1 = String::from("neh"); [INFO] [stdout] | ---- move occurs because `msg1` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] 57 | let msg2 = msg1; [INFO] [stdout] | ---- value moved here [INFO] [stdout] 58 | println!("{}, {}", msg1, msg2); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [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] 57 | let msg2 = msg1.clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `msg1` [INFO] [stdout] --> src/main.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 56 | let msg1 = String::from("neh"); [INFO] [stdout] | ---- move occurs because `msg1` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] 57 | let msg2 = msg1; [INFO] [stdout] | ---- value moved here [INFO] [stdout] 58 | println!("{}, {}", msg1, msg2); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [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] 57 | let msg2 = msg1.clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `as_func` (bin "as_func") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `as_func` (bin "as_func" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "208050e56ecf0a5f1c9ee263628cbe282d5d3f177921f9f64080425823687f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "208050e56ecf0a5f1c9ee263628cbe282d5d3f177921f9f64080425823687f4c", kill_on_drop: false }` [INFO] [stdout] 208050e56ecf0a5f1c9ee263628cbe282d5d3f177921f9f64080425823687f4c