[INFO] cloning repository https://github.com/jpaulm/rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jpaulm/rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpaulm%2Frust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpaulm%2Frust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7227d708ea29feb564f9a34dccdf4f4be0c6407 [INFO] checking jpaulm/rust-test against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjpaulm%2Frust-test" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jpaulm/rust-test on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jpaulm/rust-test [INFO] finished tweaking git repo https://github.com/jpaulm/rust-test [INFO] tweaked toml for git repo https://github.com/jpaulm/rust-test written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/jpaulm/rust-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27d5df42a1392b45dee84831c3adb8a0fdeee244102bfa342f6ce552547d36ed [INFO] running `Command { std: "docker" "start" "-a" "27d5df42a1392b45dee84831c3adb8a0fdeee244102bfa342f6ce552547d36ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27d5df42a1392b45dee84831c3adb8a0fdeee244102bfa342f6ce552547d36ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27d5df42a1392b45dee84831c3adb8a0fdeee244102bfa342f6ce552547d36ed", kill_on_drop: false }` [INFO] [stdout] 27d5df42a1392b45dee84831c3adb8a0fdeee244102bfa342f6ce552547d36ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e51606f9343e3994177f6947cc0c2495d01d8e35cc3a3d054eddbb4de6f84d02 [INFO] running `Command { std: "docker" "start" "-a" "e51606f9343e3994177f6947cc0c2495d01d8e35cc3a3d054eddbb4de6f84d02", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/main.rs:96:48 [INFO] [stdout] | [INFO] [stdout] 96 | let proc_a: Process = Process::new(&None, &conn, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `proc_a` in this scope [INFO] [stdout] --> src/main.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | ... &closure1(&proc_a)); // How is the closure supposed to get access to a Process that hasn't been created y... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/main.rs:96:48 [INFO] [stdout] | [INFO] [stdout] 96 | let proc_a: Process = Process::new(&None, &conn, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `proc_a` in this scope [INFO] [stdout] --> src/main.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | ... &closure1(&proc_a)); // How is the closure supposed to get access to a Process that hasn't been created y... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn FnMut() -> bool + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ `(dyn FnMut() -> bool + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `Process`, the trait `Sync` is not implemented for `(dyn FnMut() -> bool + 'static)` [INFO] [stdout] = note: required because it appears within the type `&'static (dyn FnMut() -> bool + 'static)` [INFO] [stdout] note: required because it appears within the type `Process` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | struct Process { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `&Process` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:34:23: 39:10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | let proc_a: Process = Process::new(&None, &conn, [INFO] [stdout] | ^^^^^ expected struct `Arc`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&'static Arc>` [INFO] [stdout] found reference `&Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut<()>` closure, found `bool` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ... &closure1(&proc_a)); // How is the closure supposed to get access to a Process that hasn't been created y... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected an `FnMut<()>` closure, found `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<()>` is not implemented for `bool` [INFO] [stdout] = note: wrap the `bool` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] = note: required for the cast to the object type `dyn FnMut() -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-test` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `(dyn FnMut() -> bool + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ `(dyn FnMut() -> bool + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `Process`, the trait `Sync` is not implemented for `(dyn FnMut() -> bool + 'static)` [INFO] [stdout] = note: required because it appears within the type `&'static (dyn FnMut() -> bool + 'static)` [INFO] [stdout] note: required because it appears within the type `Process` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | struct Process { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `&Process` [INFO] [stdout] = note: required because it appears within the type `[closure@src/main.rs:34:23: 39:10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | let proc_a: Process = Process::new(&None, &conn, [INFO] [stdout] | ^^^^^ expected struct `Arc`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&'static Arc>` [INFO] [stdout] found reference `&Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut<()>` closure, found `bool` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ... &closure1(&proc_a)); // How is the closure supposed to get access to a Process that hasn't been created y... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected an `FnMut<()>` closure, found `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<()>` is not implemented for `bool` [INFO] [stdout] = note: wrap the `bool` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] = note: required for the cast to the object type `dyn FnMut() -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e51606f9343e3994177f6947cc0c2495d01d8e35cc3a3d054eddbb4de6f84d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e51606f9343e3994177f6947cc0c2495d01d8e35cc3a3d054eddbb4de6f84d02", kill_on_drop: false }` [INFO] [stdout] e51606f9343e3994177f6947cc0c2495d01d8e35cc3a3d054eddbb4de6f84d02