[INFO] cloning repository https://github.com/Rah837/async_for_each [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rah837/async_for_each" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRah837%2Fasync_for_each", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRah837%2Fasync_for_each'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d2e2fddfc04e9ebc99064f7e3ebd5e226c193a1 [INFO] checking Rah837/async_for_each against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRah837%2Fasync_for_each" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rah837/async_for_each on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rah837/async_for_each [INFO] finished tweaking git repo https://github.com/Rah837/async_for_each [INFO] tweaked toml for git repo https://github.com/Rah837/async_for_each written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Rah837/async_for_each 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 997c5d8f980a6669d5ac3c571b143fae26e538d2353cca7519afe1cac459b416 [INFO] running `Command { std: "docker" "start" "-a" "997c5d8f980a6669d5ac3c571b143fae26e538d2353cca7519afe1cac459b416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "997c5d8f980a6669d5ac3c571b143fae26e538d2353cca7519afe1cac459b416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997c5d8f980a6669d5ac3c571b143fae26e538d2353cca7519afe1cac459b416", kill_on_drop: false }` [INFO] [stdout] 997c5d8f980a6669d5ac3c571b143fae26e538d2353cca7519afe1cac459b416 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bef86d4f492c08ccc908b2ac6066288be5913230e443b12e3692c68dab3f3ee [INFO] running `Command { std: "docker" "start" "-a" "8bef86d4f492c08ccc908b2ac6066288be5913230e443b12e3692c68dab3f3ee", kill_on_drop: false }` [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn call(self, F, bool) [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: F` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | fn call(self, F, bool) [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn call(self, F, bool) [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: F` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | fn call(self, F, bool) [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-binding let on a synchronization lock [INFO] [stdout] --> src/async.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | if *pause { let _ = cvar.wait(pause).unwrap(); } [INFO] [stdout] | ^ this lock is not assigned to a binding and is immediately dropped [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(let_underscore_lock)]` on by default [INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 60 | if *pause { let _unused = cvar.wait(pause).unwrap(); } [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] help: consider immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 60 | if *pause { drop(cvar.wait(pause).unwrap()); } [INFO] [stdout] | ~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-binding let on a synchronization lock [INFO] [stdout] --> src/async.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | if *pause { let _ = cvar.wait(pause).unwrap(); } [INFO] [stdout] | ^ this lock is not assigned to a binding and is immediately dropped [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(let_underscore_lock)]` on by default [INFO] [stdout] help: consider binding to an unused variable to avoid immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 60 | if *pause { let _unused = cvar.wait(pause).unwrap(); } [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] help: consider immediately dropping the value [INFO] [stdout] | [INFO] [stdout] 60 | if *pause { drop(cvar.wait(pause).unwrap()); } [INFO] [stdout] | ~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async` (bin "async") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async` (bin "async" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8bef86d4f492c08ccc908b2ac6066288be5913230e443b12e3692c68dab3f3ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bef86d4f492c08ccc908b2ac6066288be5913230e443b12e3692c68dab3f3ee", kill_on_drop: false }` [INFO] [stdout] 8bef86d4f492c08ccc908b2ac6066288be5913230e443b12e3692c68dab3f3ee