[INFO] cloning repository https://github.com/Jasperav/ClosureRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jasperav/ClosureRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperav%2FClosureRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperav%2FClosureRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 783c6f617ec7a79751975586784c3a1fb8f50403 [INFO] testing Jasperav/ClosureRust against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperav%2FClosureRust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jasperav/ClosureRust on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jasperav/ClosureRust [INFO] finished tweaking git repo https://github.com/Jasperav/ClosureRust [INFO] tweaked toml for git repo https://github.com/Jasperav/ClosureRust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Jasperav/ClosureRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9961546156447dc86b63ba1243c6d626ccec2f1a5574acce014389aecc92bb2 [INFO] running `Command { std: "docker" "start" "-a" "d9961546156447dc86b63ba1243c6d626ccec2f1a5574acce014389aecc92bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9961546156447dc86b63ba1243c6d626ccec2f1a5574acce014389aecc92bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9961546156447dc86b63ba1243c6d626ccec2f1a5574acce014389aecc92bb2", kill_on_drop: false }` [INFO] [stdout] d9961546156447dc86b63ba1243c6d626ccec2f1a5574acce014389aecc92bb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a873a8470b1bebfb935c1a2fd680161f091dbb7f7c4b3b8257c101691602ffb [INFO] running `Command { std: "docker" "start" "-a" "9a873a8470b1bebfb935c1a2fd680161f091dbb7f7c4b3b8257c101691602ffb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling ws v0.9.1 [INFO] [stderr] Compiling closurerust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: expected a `FnOnce<()>` closure, found `()` [INFO] [stdout] --> src/main.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | std::thread::spawn( { [INFO] [stdout] | _________________________^ [INFO] [stdout] 14 | | let a = Arc::clone(&is_closed); [INFO] [stdout] 15 | | move || connect("127.0.0.1", |c| TestClient(&*a)); [INFO] [stdout] 16 | | }); [INFO] [stdout] | |_____^ expected an `FnOnce<()>` closure, found `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce<()>` is not implemented for `()` [INFO] [stdout] = note: wrap the `()` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `closurerust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9a873a8470b1bebfb935c1a2fd680161f091dbb7f7c4b3b8257c101691602ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a873a8470b1bebfb935c1a2fd680161f091dbb7f7c4b3b8257c101691602ffb", kill_on_drop: false }` [INFO] [stdout] 9a873a8470b1bebfb935c1a2fd680161f091dbb7f7c4b3b8257c101691602ffb