[INFO] cloning repository https://github.com/IMHOJEONG/rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IMHOJEONG/rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIMHOJEONG%2Frust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIMHOJEONG%2Frust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f80c539589f958a31f36050b48e6747b6230355 [INFO] checking IMHOJEONG/rust-test/1f80c539589f958a31f36050b48e6747b6230355 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIMHOJEONG%2Frust-test" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IMHOJEONG/rust-test on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IMHOJEONG/rust-test [INFO] finished tweaking git repo https://github.com/IMHOJEONG/rust-test [INFO] tweaked toml for git repo https://github.com/IMHOJEONG/rust-test written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/IMHOJEONG/rust-test 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e35d75dfc58f20c6456174f8fa56412b110f0af6b4cf738ef24dbca1b75f644 [INFO] running `Command { std: "docker" "start" "-a" "0e35d75dfc58f20c6456174f8fa56412b110f0af6b4cf738ef24dbca1b75f644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e35d75dfc58f20c6456174f8fa56412b110f0af6b4cf738ef24dbca1b75f644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e35d75dfc58f20c6456174f8fa56412b110f0af6b4cf738ef24dbca1b75f644", kill_on_drop: false }` [INFO] [stdout] 0e35d75dfc58f20c6456174f8fa56412b110f0af6b4cf738ef24dbca1b75f644 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e4496f8653c66f38bb07869bce47d016b6be806ea5b0c0c36b6c151f87d2313 [INFO] running `Command { std: "docker" "start" "-a" "6e4496f8653c66f38bb07869bce47d016b6be806ea5b0c0c36b6c151f87d2313", kill_on_drop: false }` [INFO] [stderr] Checking rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let s2 = s1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `s1` [INFO] [stdout] --> src/main.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 67 | let s1 = String::from("hello"); [INFO] [stdout] | -- move occurs because `s1` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] 68 | let s2 = s1; [INFO] [stdout] | -- value moved here [INFO] [stdout] 69 | [INFO] [stdout] 70 | println!("{}, world!", s1); [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] 68 | let s2 = s1.clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commaCount` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let commaCount = if len % 3 == 0 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commaCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-test` (bin "rust-test") due to 2 previous errors; 3 warnings emitted [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let s2 = s1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0382]: borrow of moved value: `s1` [INFO] [stdout] --> src/main.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 67 | let s1 = String::from("hello"); [INFO] [stdout] | -- move occurs because `s1` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] 68 | let s2 = s1; [INFO] [stdout] | -- value moved here [INFO] [stdout] 69 | [INFO] [stdout] 70 | println!("{}, world!", s1); [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] 68 | let s2 = s1.clone(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commaCount` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let commaCount = if len % 3 == 0 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commaCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-test` (bin "rust-test" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e4496f8653c66f38bb07869bce47d016b6be806ea5b0c0c36b6c151f87d2313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e4496f8653c66f38bb07869bce47d016b6be806ea5b0c0c36b6c151f87d2313", kill_on_drop: false }` [INFO] [stdout] 6e4496f8653c66f38bb07869bce47d016b6be806ea5b0c0c36b6c151f87d2313