[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperav%2FClosureRust" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jasperav/ClosureRust on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-18/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78652d5df0dd55b19f7bdf8ce1a6d74cff6cd6b254f1876ba5d6855d8a0bb894 [INFO] running `Command { std: "docker" "start" "-a" "78652d5df0dd55b19f7bdf8ce1a6d74cff6cd6b254f1876ba5d6855d8a0bb894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78652d5df0dd55b19f7bdf8ce1a6d74cff6cd6b254f1876ba5d6855d8a0bb894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78652d5df0dd55b19f7bdf8ce1a6d74cff6cd6b254f1876ba5d6855d8a0bb894", kill_on_drop: false }` [INFO] [stdout] 78652d5df0dd55b19f7bdf8ce1a6d74cff6cd6b254f1876ba5d6855d8a0bb894 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6795a544e238f9d4e4e4cd7bbebb8dcbae0aa2c74042eafe5ab5a7d9c3183655 [INFO] running `Command { std: "docker" "start" "-a" "6795a544e238f9d4e4e4cd7bbebb8dcbae0aa2c74042eafe5ab5a7d9c3183655", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [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] | | | [INFO] [stdout] | | required by a bound introduced by this call [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] note: required by a bound in `spawn` [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` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "6795a544e238f9d4e4e4cd7bbebb8dcbae0aa2c74042eafe5ab5a7d9c3183655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6795a544e238f9d4e4e4cd7bbebb8dcbae0aa2c74042eafe5ab5a7d9c3183655", kill_on_drop: false }` [INFO] [stdout] 6795a544e238f9d4e4e4cd7bbebb8dcbae0aa2c74042eafe5ab5a7d9c3183655