[INFO] cloning repository https://github.com/wagnerf42/grouille [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wagnerf42/grouille" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwagnerf42%2Fgrouille", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwagnerf42%2Fgrouille'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3650dfe57192a1a72c39b2d5d0e11c224882dfdc [INFO] checking wagnerf42/grouille against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwagnerf42%2Fgrouille" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wagnerf42/grouille on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wagnerf42/grouille [INFO] finished tweaking git repo https://github.com/wagnerf42/grouille [INFO] tweaked toml for git repo https://github.com/wagnerf42/grouille written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/wagnerf42/grouille already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a08e820b65f29d421e27b74f7baf699430265211c799f5d8e929e2980567d04 [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" "6a08e820b65f29d421e27b74f7baf699430265211c799f5d8e929e2980567d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a08e820b65f29d421e27b74f7baf699430265211c799f5d8e929e2980567d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a08e820b65f29d421e27b74f7baf699430265211c799f5d8e929e2980567d04", kill_on_drop: false }` [INFO] [stdout] 6a08e820b65f29d421e27b74f7baf699430265211c799f5d8e929e2980567d04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c38499814ae0a9ae1b3b4b52575e7a408fdac264a90012992e20786cc1b80cc0 [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" "c38499814ae0a9ae1b3b4b52575e7a408fdac264a90012992e20786cc1b80cc0", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking rand_core v0.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking streaming-iterator v0.1.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking log v0.4.2 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking rand v0.5.0 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Checking criterion-plot v0.2.3 [INFO] [stderr] Checking backtrace v0.3.8 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking criterion-stats v0.2.3 [INFO] [stderr] Checking grouille v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking itertools-num v0.1.1 [INFO] [stdout] warning: unused import: `empty` [INFO] [stdout] --> src/intersections.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::{empty, once, repeat}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/overlap.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | unimplemented!("TODO: we cannot call remove_overlaps here"); [INFO] [stdout] | ------------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 52 | // because these segments are ORIENTED [INFO] [stdout] 53 | / remaining_paths.into_iter().chain( [INFO] [stdout] 54 | | remove_overlaps(elementary_segments) [INFO] [stdout] 55 | | .into_iter() [INFO] [stdout] 56 | | .map(|s| ElementaryPath::Segment(s)), [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling pest_derive v1.0.7 [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/slice.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | unimplemented!("we need to go on with heaven and hell"); [INFO] [stdout] | -------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 28 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/overlap.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | for (i, p) in [1, -1].into_iter().zip(segment.ordered_points().iter()) { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intersections.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | mem::replace(&mut intersections[i1], Some(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intersections.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | mem::replace(&mut intersections[i2], Some(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v0.2.11 [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking simplelog v0.5.2 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Checking serde_json v1.0.20 [INFO] [stderr] Checking handlebars v0.31.0 [INFO] [stderr] Checking criterion v0.2.3 [INFO] [stdout] warning: unused import: `Quadrant` [INFO] [stdout] --> examples/offsetter.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use grouille::{HoledPolygon, Point, Quadrant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `empty` [INFO] [stdout] --> src/intersections.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::{empty, once, repeat}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> examples/clique.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&Vec as IntoIterator>::Item == grouille::Segment` [INFO] [stdout] --> examples/classify.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | let remaining_segments = remove_overlaps(&slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `grouille::Segment`, found reference [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/overlap.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn remove_overlaps>(segments: S) -> Vec { [INFO] [stdout] | -------------- required by this bound in `remove_overlaps` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `grouille::Segment` [INFO] [stdout] found reference `&grouille::Segment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/overlap.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | unimplemented!("TODO: we cannot call remove_overlaps here"); [INFO] [stdout] | ------------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 52 | // because these segments are ORIENTED [INFO] [stdout] 53 | / remaining_paths.into_iter().chain( [INFO] [stdout] 54 | | remove_overlaps(elementary_segments) [INFO] [stdout] 55 | | .into_iter() [INFO] [stdout] 56 | | .map(|s| ElementaryPath::Segment(s)), [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&Vec as IntoIterator>::Item == grouille::Segment` [INFO] [stdout] --> examples/overlap.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | let remaining_segments = remove_overlaps(&segments); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `grouille::Segment`, found reference [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/overlap.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn remove_overlaps>(segments: S) -> Vec { [INFO] [stdout] | -------------- required by this bound in `remove_overlaps` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `grouille::Segment` [INFO] [stdout] found reference `&grouille::Segment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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 E0271`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grouille` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/stl_cut.rs:10:60 [INFO] [stdout] | [INFO] [stdout] 10 | c.bench_function("cut cordoba", move |b| b.iter(|| stl.cut(0.1))); [INFO] [stdout] | ^^^ --- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/slice.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | unimplemented!("we need to go on with heaven and hell"); [INFO] [stdout] | -------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 28 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&Vec as IntoIterator>::Item == grouille::Segment` [INFO] [stdout] --> benches/classifier.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | let remaining_segments = remove_overlaps(&slice); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `grouille::Segment`, found reference [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/overlap.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn remove_overlaps>(segments: S) -> Vec { [INFO] [stdout] | -------------- required by this bound in `remove_overlaps` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `grouille::Segment` [INFO] [stdout] found reference `&grouille::Segment` [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 E0271`. [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 E0061`. [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/overlap.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | for (i, p) in [1, -1].into_iter().zip(segment.ordered_points().iter()) { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intersections.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | mem::replace(&mut intersections[i1], Some(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/intersections.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | mem::replace(&mut intersections[i2], Some(Vec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c38499814ae0a9ae1b3b4b52575e7a408fdac264a90012992e20786cc1b80cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c38499814ae0a9ae1b3b4b52575e7a408fdac264a90012992e20786cc1b80cc0", kill_on_drop: false }` [INFO] [stdout] c38499814ae0a9ae1b3b4b52575e7a408fdac264a90012992e20786cc1b80cc0