[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] testing wagnerf42/grouille against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwagnerf42%2Fgrouille" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wagnerf42/grouille on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-18/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded streaming-iterator v0.1.4 [INFO] [stderr] Downloaded simplelog v0.5.2 [INFO] [stderr] Downloaded serde_derive v1.0.66 [INFO] [stderr] Downloaded rand_core v0.2.0 [INFO] [stderr] Downloaded syn v0.14.2 [INFO] [stderr] Downloaded criterion-stats v0.2.3 [INFO] [stderr] Downloaded itertools-num v0.1.1 [INFO] [stderr] Downloaded criterion-plot v0.2.3 [INFO] [stderr] Downloaded criterion v0.2.3 [INFO] [stderr] Downloaded handlebars v0.31.0 [INFO] [stderr] Downloaded rand v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b175456fa97d86bac81cf1352ba226c9ed0c097d93ffe122d18d228432a5c8e [INFO] running `Command { std: "docker" "start" "-a" "7b175456fa97d86bac81cf1352ba226c9ed0c097d93ffe122d18d228432a5c8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b175456fa97d86bac81cf1352ba226c9ed0c097d93ffe122d18d228432a5c8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b175456fa97d86bac81cf1352ba226c9ed0c097d93ffe122d18d228432a5c8e", kill_on_drop: false }` [INFO] [stdout] 7b175456fa97d86bac81cf1352ba226c9ed0c097d93ffe122d18d228432a5c8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e997aa1adfbe0c3c18ae61c23432dec0c97158fa1bf4383144a7f844667d3e59 [INFO] running `Command { std: "docker" "start" "-a" "e997aa1adfbe0c3c18ae61c23432dec0c97158fa1bf4383144a7f844667d3e59", 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] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling libc v0.2.41 [INFO] [stderr] Compiling rand_core v0.2.0 [INFO] [stderr] Compiling streaming-iterator v0.1.4 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling rand v0.5.0 [INFO] [stderr] Compiling grouille v0.1.0 (/opt/rustwide/workdir) [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: 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] 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 resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 14 | for (i, p) in [1, -1].iter().zip(segment.ordered_points().iter()) { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 14 | for (i, p) in IntoIterator::into_iter([1, -1]).zip(segment.ordered_points().iter()) { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [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] Finished dev [unoptimized + debuginfo] target(s) in 6.53s [INFO] running `Command { std: "docker" "inspect" "e997aa1adfbe0c3c18ae61c23432dec0c97158fa1bf4383144a7f844667d3e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e997aa1adfbe0c3c18ae61c23432dec0c97158fa1bf4383144a7f844667d3e59", kill_on_drop: false }` [INFO] [stdout] e997aa1adfbe0c3c18ae61c23432dec0c97158fa1bf4383144a7f844667d3e59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f16ec702d7f22798ba1970d0b7d3e56034840a6419d6c32d4ed9ec1c1d63af97 [INFO] running `Command { std: "docker" "start" "-a" "f16ec702d7f22798ba1970d0b7d3e56034840a6419d6c32d4ed9ec1c1d63af97", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling num-traits v0.1.43 [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: 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] 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 resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 14 | for (i, p) in [1, -1].iter().zip(segment.ordered_points().iter()) { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 14 | for (i, p) in IntoIterator::into_iter([1, -1]).zip(segment.ordered_points().iter()) { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [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] Compiling log v0.4.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling criterion-plot v0.2.3 [INFO] [stderr] Compiling itertools-num v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling chrono v0.4.2 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling criterion-stats v0.2.3 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling simplelog v0.5.2 [INFO] [stderr] Compiling pest_derive v1.0.7 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.8 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Compiling serde_json v1.0.20 [INFO] [stderr] Compiling handlebars v0.31.0 [INFO] [stderr] Compiling criterion v0.2.3 [INFO] [stderr] Compiling grouille v0.1.0 (/opt/rustwide/workdir) [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: 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/overlap.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | let remaining_segments = remove_overlaps(&segments); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `grouille::Segment`, found `&grouille::Segment` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `remove_overlaps` [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] [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] 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[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 `&grouille::Segment` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `remove_overlaps` [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] [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] [stderr] error: could not compile `grouille` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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 resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 14 | for (i, p) in [1, -1].iter().zip(segment.ordered_points().iter()) { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 14 | for (i, p) in IntoIterator::into_iter([1, -1]).zip(segment.ordered_points().iter()) { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f16ec702d7f22798ba1970d0b7d3e56034840a6419d6c32d4ed9ec1c1d63af97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16ec702d7f22798ba1970d0b7d3e56034840a6419d6c32d4ed9ec1c1d63af97", kill_on_drop: false }` [INFO] [stdout] f16ec702d7f22798ba1970d0b7d3e56034840a6419d6c32d4ed9ec1c1d63af97