[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-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperav%2FClosureRust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jasperav/ClosureRust on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-3/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-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db3e03891451a608522cd77bdeb2efcf3baf77b74c6ecaaf4de112e841218e05 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "db3e03891451a608522cd77bdeb2efcf3baf77b74c6ecaaf4de112e841218e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db3e03891451a608522cd77bdeb2efcf3baf77b74c6ecaaf4de112e841218e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db3e03891451a608522cd77bdeb2efcf3baf77b74c6ecaaf4de112e841218e05", kill_on_drop: false }` [INFO] [stdout] db3e03891451a608522cd77bdeb2efcf3baf77b74c6ecaaf4de112e841218e05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08da84fbbf49d7065a0488c230124dafff01267daa783c5d71597b446c52c18a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "08da84fbbf49d7065a0488c230124dafff01267daa783c5d71597b446c52c18a", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.0 [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] 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" "08da84fbbf49d7065a0488c230124dafff01267daa783c5d71597b446c52c18a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08da84fbbf49d7065a0488c230124dafff01267daa783c5d71597b446c52c18a", kill_on_drop: false }` [INFO] [stdout] 08da84fbbf49d7065a0488c230124dafff01267daa783c5d71597b446c52c18a