[INFO] cloning repository https://github.com/bast/rusty-polygons
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bast/rusty-polygons" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbast%2Frusty-polygons", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbast%2Frusty-polygons'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aadbf8164200390d962bea9feff72a502c469337
[INFO] checking bast/rusty-polygons against c60b92c03ca8a3b101eb9d57f51e2232690638c7 for pr-164148-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbast%2Frusty-polygons" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/bast/rusty-polygons
[INFO] finished tweaking git repo https://github.com/bast/rusty-polygons
[INFO] tweaked toml for git repo https://github.com/bast/rusty-polygons written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bast/rusty-polygons on toolchain c60b92c03ca8a3b101eb9d57f51e2232690638c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bast/rusty-polygons 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" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 53563f3198304a15ecd626f0c5eb0ae5943218c44f22ad4f54ec3c027bb58dff
[INFO] running `Command { std: "docker" "start" "53563f3198304a15ecd626f0c5eb0ae5943218c44f22ad4f54ec3c027bb58dff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "53563f3198304a15ecd626f0c5eb0ae5943218c44f22ad4f54ec3c027bb58dff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "53563f3198304a15ecd626f0c5eb0ae5943218c44f22ad4f54ec3c027bb58dff" "/opt/rustwide/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "53563f3198304a15ecd626f0c5eb0ae5943218c44f22ad4f54ec3c027bb58dff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "53563f3198304a15ecd626f0c5eb0ae5943218c44f22ad4f54ec3c027bb58dff" "/opt/rustwide/cargo-home/bin/cargo" "+c60b92c03ca8a3b101eb9d57f51e2232690638c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]     Checking crossbeam-queue v0.2.0
[INFO] [stderr]     Checking num_cpus v1.11.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking crossbeam-deque v0.7.2
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking polygons v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> src/tree.rs:210:34
[INFO] [stdout]     |
[INFO] [stdout] 210 |     let large_number = std::f64::MAX;
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> src/tree.rs:219:34
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let large_number = std::f64::MAX;
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> src/tree.rs:238:34
[INFO] [stdout]     |
[INFO] [stdout] 238 |     let large_number = std::f64::MAX;
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> src/tree.rs:256:34
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let large_number = std::f64::MAX;
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> src/tree.rs:298:34
[INFO] [stdout]     |
[INFO] [stdout] 298 |     let large_number = std::f64::MAX;
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> src/tree.rs:210:34
[INFO] [stdout]     |
[INFO] [stdout] 210 |     let large_number = std::f64::MAX;
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> src/tree.rs:219:34
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let large_number = std::f64::MAX;
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> src/tree.rs:238:34
[INFO] [stdout]     |
[INFO] [stdout] 238 |     let large_number = std::f64::MAX;
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> src/tree.rs:256:34
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let large_number = std::f64::MAX;
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64`
[INFO] [stdout]    --> src/tree.rs:298:34
[INFO] [stdout]     |
[INFO] [stdout] 298 |     let large_number = std::f64::MAX;
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `impl Fn(f64) -> f64 + Copy + Sync` cannot be sent between threads safely
[INFO] [stdout]    --> src/tree.rs:242:14
[INFO] [stdout]     |
[INFO] [stdout] 242 |         .map(|p| get_distance_vertex(&tree[0], large_number, &p, g))
[INFO] [stdout]     |          --- ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |          |   |
[INFO] [stdout]     |          |   `impl Fn(f64) -> f64 + Copy + Sync` cannot be sent between threads safely
[INFO] [stdout]     |          |   within this `{closure@src/tree.rs:242:14: 242:17}`
[INFO] [stdout]     |          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required because `g` is used within this closure
[INFO] [stdout]    --> src/tree.rs:242:66
[INFO] [stdout]     |
[INFO] [stdout] 242 |         .map(|p| get_distance_vertex(&tree[0], large_number, &p, g))
[INFO] [stdout]     |                                                                  ^
[INFO] [stdout] note: required by a bound in `rayon::iter::ParallelIterator::map`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.3.0/src/iter/mod.rs:579:41
[INFO] [stdout]     |
[INFO] [stdout] 341 | pub trait ParallelIterator: Sized + Send {
[INFO] [stdout] ...
[INFO] [stdout] 577 |     fn map<F, R>(self, map_op: F) -> Map<Self, F>
[INFO] [stdout] 578 |     where
[INFO] [stdout] 579 |         F: Fn(Self::Item) -> R + Sync + Send,
[INFO] [stdout]     |                                         ^^^^ required by this bound in `ParallelIterator::map`
[INFO] [stdout] help: use parentheses to call this type parameter
[INFO] [stdout]     |
[INFO] [stdout] 242 |         .map((|p| get_distance_vertex(&tree[0], large_number, &p, g))(/* f64 */))
[INFO] [stdout]     |              +                                                      ++++++++++++
[INFO] [stdout] help: consider restricting opaque type `impl Fn(f64) -> f64 + Copy + Sync` with trait `Send`
[INFO] [stdout]     |
[INFO] [stdout] 236 |     g: impl Fn(f64) -> f64 + Copy + Sync + std::marker::Send,
[INFO] [stdout]     |                                          +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `impl Fn(f64) -> f64 + Copy + Sync` cannot be sent between threads safely
[INFO] [stdout]    --> src/tree.rs:242:14
[INFO] [stdout]     |
[INFO] [stdout] 242 |         .map(|p| get_distance_vertex(&tree[0], large_number, &p, g))
[INFO] [stdout]     |          --- ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |          |   |
[INFO] [stdout]     |          |   `impl Fn(f64) -> f64 + Copy + Sync` cannot be sent between threads safely
[INFO] [stdout]     |          |   within this `{closure@src/tree.rs:242:14: 242:17}`
[INFO] [stdout]     |          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required because `g` is used within this closure
[INFO] [stdout]    --> src/tree.rs:242:66
[INFO] [stdout]     |
[INFO] [stdout] 242 |         .map(|p| get_distance_vertex(&tree[0], large_number, &p, g))
[INFO] [stdout]     |                                                                  ^
[INFO] [stdout] note: required by a bound in `rayon::iter::ParallelIterator::map`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rayon-1.3.0/src/iter/mod.rs:579:41
[INFO] [stdout]     |
[INFO] [stdout] 341 | pub trait ParallelIterator: Sized + Send {
[INFO] [stdout] ...
[INFO] [stdout] 577 |     fn map<F, R>(self, map_op: F) -> Map<Self, F>
[INFO] [stdout] 578 |     where
[INFO] [stdout] 579 |         F: Fn(Self::Item) -> R + Sync + Send,
[INFO] [stdout]     |                                         ^^^^ required by this bound in `ParallelIterator::map`
[INFO] [stdout] help: use parentheses to call this type parameter
[INFO] [stdout]     |
[INFO] [stdout] 242 |         .map((|p| get_distance_vertex(&tree[0], large_number, &p, g))(/* f64 */))
[INFO] [stdout]     |              +                                                      ++++++++++++
[INFO] [stdout] help: consider restricting opaque type `impl Fn(f64) -> f64 + Copy + Sync` with trait `Send`
[INFO] [stdout]     |
[INFO] [stdout] 236 |     g: impl Fn(f64) -> f64 + Copy + Sync + std::marker::Send,
[INFO] [stdout]     |                                          +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `impl Fn(f64) -> f64 + Copy + Sync` cannot be sent between threads safely
[INFO] [stdout]    --> src/tree.rs:240:21
[INFO] [stdout]     |
[INFO] [stdout] 240 |       let distances = points
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 241 | |         .par_iter()
[INFO] [stdout] 242 | |         .map(|p| get_distance_vertex(&tree[0], large_number, &p, g))
[INFO] [stdout]     | |              --- within this `{closure@src/tree.rs:242:14: 242:17}`
[INFO] [stdout] 243 | |         .collect();
[INFO] [stdout]     | |__________________^ `impl Fn(f64) -> f64 + Copy + Sync` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout] note: required because `g` is used within this closure
[INFO] [stdout]    --> src/tree.rs:242:66
[INFO] [stdout]     |
[INFO] [stdout] 242 |         .map(|p| get_distance_vertex(&tree[0], large_number, &p, g))
[INFO] [stdout]     |                                                                  ^
[INFO] [stdout]     = note: required for `rayon::iter::Map<rayon::slice::Iter<'_, Point>, {closure@src/tree.rs:242:14: 242:17}>` to implement `rayon::iter::ParallelIterator`
[INFO] [stdout] help: consider restricting opaque type `impl Fn(f64) -> f64 + Copy + Sync` with trait `Send`
[INFO] [stdout]     |
[INFO] [stdout] 236 |     g: impl Fn(f64) -> f64 + Copy + Sync + std::marker::Send,
[INFO] [stdout]     |                                          +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `impl Fn(f64) -> f64 + Copy + Sync` cannot be sent between threads safely
[INFO] [stdout]    --> src/tree.rs:240:21
[INFO] [stdout]     |
[INFO] [stdout] 240 |       let distances = points
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 241 | |         .par_iter()
[INFO] [stdout] 242 | |         .map(|p| get_distance_vertex(&tree[0], large_number, &p, g))
[INFO] [stdout]     | |              --- within this `{closure@src/tree.rs:242:14: 242:17}`
[INFO] [stdout] 243 | |         .collect();
[INFO] [stdout]     | |__________________^ `impl Fn(f64) -> f64 + Copy + Sync` cannot be sent between threads safely
[INFO] [stdout]     |
[INFO] [stdout] note: required because `g` is used within this closure
[INFO] [stdout]    --> src/tree.rs:242:66
[INFO] [stdout]     |
[INFO] [stdout] 242 |         .map(|p| get_distance_vertex(&tree[0], large_number, &p, g))
[INFO] [stdout]     |                                                                  ^
[INFO] [stdout]     = note: required for `rayon::iter::Map<rayon::slice::Iter<'_, Point>, {closure@src/tree.rs:242:14: 242:17}>` to implement `rayon::iter::ParallelIterator`
[INFO] [stdout] help: consider restricting opaque type `impl Fn(f64) -> f64 + Copy + Sync` with trait `Send`
[INFO] [stdout]     |
[INFO] [stdout] 236 |     g: impl Fn(f64) -> f64 + Copy + Sync + std::marker::Send,
[INFO] [stdout]     |                                          +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `polygons` (lib test) due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `polygons` (lib) due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: unused dependency `rand`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | rand = "0.7.2"
[INFO] [stderr]   | ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `rand`
[INFO] [stderr] warning: `polygons` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "53563f3198304a15ecd626f0c5eb0ae5943218c44f22ad4f54ec3c027bb58dff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53563f3198304a15ecd626f0c5eb0ae5943218c44f22ad4f54ec3c027bb58dff", kill_on_drop: false }`
[INFO] [stdout] 53563f3198304a15ecd626f0c5eb0ae5943218c44f22ad4f54ec3c027bb58dff
