[INFO] cloning repository https://github.com/miguelraz/kessels
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miguelraz/kessels" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelraz%2Fkessels", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelraz%2Fkessels'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cede6a5e56dbbc8aaae48e35f8426a1aebcf7340
[INFO] checking miguelraz/kessels against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelraz%2Fkessels" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/miguelraz/kessels on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/miguelraz/kessels
[INFO] finished tweaking git repo https://github.com/miguelraz/kessels
[INFO] tweaked toml for git repo https://github.com/miguelraz/kessels written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/miguelraz/kessels already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking miguelraz/kessels against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelraz%2Fkessels" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/miguelraz/kessels on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/miguelraz/kessels
[INFO] finished tweaking git repo https://github.com/miguelraz/kessels
[INFO] tweaked toml for git repo https://github.com/miguelraz/kessels written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/miguelraz/kessels already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clippy v0.0.302
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9e38c37dbaa6d3e8b663f2e4edfb9f187a0bcffc3e61150a039ca8e6f8e3b559
[INFO] running `Command { std: "docker" "start" "-a" "9e38c37dbaa6d3e8b663f2e4edfb9f187a0bcffc3e61150a039ca8e6f8e3b559", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e38c37dbaa6d3e8b663f2e4edfb9f187a0bcffc3e61150a039ca8e6f8e3b559", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e38c37dbaa6d3e8b663f2e4edfb9f187a0bcffc3e61150a039ca8e6f8e3b559", kill_on_drop: false }`
[INFO] [stdout] 9e38c37dbaa6d3e8b663f2e4edfb9f187a0bcffc3e61150a039ca8e6f8e3b559
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b43451b1dad92a8d25f200fc0dae0a455190720496201e95eaf7cccd3f3ab72a
[INFO] running `Command { std: "docker" "start" "-a" "b43451b1dad92a8d25f200fc0dae0a455190720496201e95eaf7cccd3f3ab72a", kill_on_drop: false }`
[INFO] [stderr] warning: kessels v1.0.0 (/opt/rustwide/workdir) ignoring invalid dependency `clippy` which is missing a lib target
[INFO] [stderr]     Checking kessels v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `kessels`
[INFO] [stdout]  --> tests/integration_test.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate kessels;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kessels` (test "integration_test") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `turn`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `turn`
[INFO] [stdout] ...
[INFO] [stdout] 52 |                 turn[node][id] = local;
[INFO] [stdout]    |                 ---- `turn` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `turn` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `competing`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `competing`
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 competing[node][id] = 1;
[INFO] [stdout]    |                 --------- `competing` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `competing` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `edge`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `edge`
[INFO] [stdout] ...
[INFO] [stdout] 60 |                 edge[node] = id;
[INFO] [stdout]    |                 ---- `edge` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `edge` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `turn`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `turn`
[INFO] [stdout] ...
[INFO] [stdout] 52 |                 turn[node][id] = local;
[INFO] [stdout]    |                 ---- `turn` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `turn` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `n`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `n`
[INFO] [stdout] ...
[INFO] [stdout] 36 |             let mut node = idThread + n;
[INFO] [stdout]    |                                       - `n` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `n` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `competing`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `competing`
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 competing[node][id] = 1;
[INFO] [stdout]    |                 --------- `competing` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `competing` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `totalsum`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `totalsum`
[INFO] [stdout] ...
[INFO] [stdout] 64 |             totalsum += work(4);
[INFO] [stdout]    |             -------- `totalsum` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `totalsum` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `edge`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `edge`
[INFO] [stdout] ...
[INFO] [stdout] 60 |                 edge[node] = id;
[INFO] [stdout]    |                 ---- `edge` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `edge` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `n`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `n`
[INFO] [stdout] ...
[INFO] [stdout] 36 |             let mut node = idThread + n;
[INFO] [stdout]    |                                       - `n` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `n` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `totalsum`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `totalsum`
[INFO] [stdout] ...
[INFO] [stdout] 64 |             totalsum += work(4);
[INFO] [stdout]    |             -------- `totalsum` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `totalsum` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `competing` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |                        -             ^^ `competing` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout]    |  ______________________|
[INFO] [stdout]    | |
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |                 competing[node][id] = 1;
[INFO] [stdout]    | |                 --------- borrows occur due to use of `competing` in closure
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________- argument requires that `competing` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `turn` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |                        -             ^^ `turn` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout]    |  ______________________|
[INFO] [stdout]    | |
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |                 turn[node][id] = local;
[INFO] [stdout]    | |                 ---- borrows occur due to use of `turn` in closure
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________- argument requires that `turn` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `edge` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |                        -             ^^ `edge` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout]    |  ______________________|
[INFO] [stdout]    | |
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 60 | |                 edge[node] = id;
[INFO] [stdout]    | |                 ---- borrows occur due to use of `edge` in closure
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________- argument requires that `edge` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `totalsum` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |                        -             ^^ `totalsum` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout]    |  ______________________|
[INFO] [stdout]    | |
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             totalsum += work(4);
[INFO] [stdout]    | |             -------- borrows occur due to use of `totalsum` in closure
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________- argument requires that `totalsum` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `competing` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |                        -             ^^ `competing` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout]    |  ______________________|
[INFO] [stdout]    | |
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |                 competing[node][id] = 1;
[INFO] [stdout]    | |                 --------- borrows occur due to use of `competing` in closure
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________- argument requires that `competing` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `i`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `i`
[INFO] [stdout] ...
[INFO] [stdout] 35 |             let idThread = i;
[INFO] [stdout]    |                            - `i` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `i` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kessels` (bin "kessels" test) due to 11 previous errors; 1 warning emitted
[INFO] [stdout] error[E0499]: cannot borrow `turn` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |                        -             ^^ `turn` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout]    |  ______________________|
[INFO] [stdout]    | |
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |                 turn[node][id] = local;
[INFO] [stdout]    | |                 ---- borrows occur due to use of `turn` in closure
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________- argument requires that `turn` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kessels` (bin "kessels") due to 11 previous errors; 1 warning emitted
[INFO] [stdout] error[E0503]: cannot use `totalsum` because it was mutably borrowed
[INFO] [stdout]   --> src/main.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |                        -             -- `totalsum` is borrowed here
[INFO] [stdout]    |  ______________________|
[INFO] [stdout]    | |
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             totalsum += work(4);
[INFO] [stdout]    | |             -------- borrow occurs due to use of `totalsum` in closure
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________- argument requires that `totalsum` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 80 |       totalsum
[INFO] [stdout]    |       ^^^^^^^^ use of borrowed `totalsum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499, E0503.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `edge` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |                        -             ^^ `edge` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout]    |  ______________________|
[INFO] [stdout]    | |
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 60 | |                 edge[node] = id;
[INFO] [stdout]    | |                 ---- borrows occur due to use of `edge` in closure
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________- argument requires that `edge` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `totalsum` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |                        -             ^^ `totalsum` was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout]    |  ______________________|
[INFO] [stdout]    | |
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             totalsum += work(4);
[INFO] [stdout]    | |             -------- borrows occur due to use of `totalsum` in closure
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________- argument requires that `totalsum` is borrowed for `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `i`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(|| {
[INFO] [stdout]    |                                    ^^ may outlive borrowed value `i`
[INFO] [stdout] ...
[INFO] [stdout] 35 |             let idThread = i;
[INFO] [stdout]    |                            - `i` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/main.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________^
[INFO] [stdout] help: to force the closure to take ownership of `i` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 32 |         threads.push(thread::spawn(move || {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0503]: cannot use `totalsum` because it was mutably borrowed
[INFO] [stdout]   --> src/main.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |           threads.push(thread::spawn(|| {
[INFO] [stdout]    |                        -             -- `totalsum` is borrowed here
[INFO] [stdout]    |  ______________________|
[INFO] [stdout]    | |
[INFO] [stdout] 33 | |             // Begin downpass through the tournament tree
[INFO] [stdout] 34 | |             // Initialize variables local to each threads
[INFO] [stdout] 35 | |             let idThread = i;
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             totalsum += work(4);
[INFO] [stdout]    | |             -------- borrow occurs due to use of `totalsum` in closure
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |         }));
[INFO] [stdout]    | |__________- argument requires that `totalsum` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 80 |       totalsum
[INFO] [stdout]    |       ^^^^^^^^ use of borrowed `totalsum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499, E0503.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b43451b1dad92a8d25f200fc0dae0a455190720496201e95eaf7cccd3f3ab72a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b43451b1dad92a8d25f200fc0dae0a455190720496201e95eaf7cccd3f3ab72a", kill_on_drop: false }`
[INFO] [stdout] b43451b1dad92a8d25f200fc0dae0a455190720496201e95eaf7cccd3f3ab72a
