[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#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperav%2FClosureRust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jasperav/ClosureRust on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-9/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 923244c43e390d5128a5a44cbd4517304ef65056a9baca02503998ce4a44485e [INFO] running `Command { std: "docker" "start" "-a" "923244c43e390d5128a5a44cbd4517304ef65056a9baca02503998ce4a44485e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "923244c43e390d5128a5a44cbd4517304ef65056a9baca02503998ce4a44485e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "923244c43e390d5128a5a44cbd4517304ef65056a9baca02503998ce4a44485e", kill_on_drop: false }` [INFO] [stdout] 923244c43e390d5128a5a44cbd4517304ef65056a9baca02503998ce4a44485e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c33f620beb341724fc5956b021dc26d2182c581f2f74aeff0ac6bd6215cf03c [INFO] running `Command { std: "docker" "start" "-a" "4c33f620beb341724fc5956b021dc26d2182c581f2f74aeff0ac6bd6215cf03c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling c2-chacha v0.2.3 [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 idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.1 [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" "4c33f620beb341724fc5956b021dc26d2182c581f2f74aeff0ac6bd6215cf03c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c33f620beb341724fc5956b021dc26d2182c581f2f74aeff0ac6bd6215cf03c", kill_on_drop: false }` [INFO] [stdout] 4c33f620beb341724fc5956b021dc26d2182c581f2f74aeff0ac6bd6215cf03c