[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/8d2e2fddfc04e9ebc99064f7e3ebd5e226c193a1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRah837%2Fasync_for_each" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rah837/async_for_each 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/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-1-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f3497e5419b3d129076028069e152e10a0fd1f70002cba2c27cd261b12c95e3 [INFO] running `Command { std: "docker" "start" "-a" "4f3497e5419b3d129076028069e152e10a0fd1f70002cba2c27cd261b12c95e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f3497e5419b3d129076028069e152e10a0fd1f70002cba2c27cd261b12c95e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f3497e5419b3d129076028069e152e10a0fd1f70002cba2c27cd261b12c95e3", kill_on_drop: false }` [INFO] [stdout] 4f3497e5419b3d129076028069e152e10a0fd1f70002cba2c27cd261b12c95e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04a32fc16b5304bfe78e32943eb75fa1d4f5f11b011841e8cc4d61401fe7152f [INFO] running `Command { std: "docker" "start" "-a" "04a32fc16b5304bfe78e32943eb75fa1d4f5f11b011841e8cc4d61401fe7152f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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" "04a32fc16b5304bfe78e32943eb75fa1d4f5f11b011841e8cc4d61401fe7152f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a32fc16b5304bfe78e32943eb75fa1d4f5f11b011841e8cc4d61401fe7152f", kill_on_drop: false }` [INFO] [stdout] 04a32fc16b5304bfe78e32943eb75fa1d4f5f11b011841e8cc4d61401fe7152f