[INFO] cloning repository https://github.com/alaroldai/gis-algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alaroldai/gis-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falaroldai%2Fgis-algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falaroldai%2Fgis-algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae974999bce01d6aedad128bd8304a569b5f4c5c [INFO] checking alaroldai/gis-algorithms against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falaroldai%2Fgis-algorithms" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alaroldai/gis-algorithms on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alaroldai/gis-algorithms [INFO] finished tweaking git repo https://github.com/alaroldai/gis-algorithms [INFO] tweaked toml for git repo https://github.com/alaroldai/gis-algorithms written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alaroldai/gis-algorithms 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wide v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cf74180493a5109109f029c1b256b6727b65965c8feb7c0266161d4e673e7fb [INFO] running `Command { std: "docker" "start" "-a" "3cf74180493a5109109f029c1b256b6727b65965c8feb7c0266161d4e673e7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cf74180493a5109109f029c1b256b6727b65965c8feb7c0266161d4e673e7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cf74180493a5109109f029c1b256b6727b65965c8feb7c0266161d4e673e7fb", kill_on_drop: false }` [INFO] [stdout] 3cf74180493a5109109f029c1b256b6727b65965c8feb7c0266161d4e673e7fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdf607ec57c049bd9696472e9c803005f8b57c4bdea54972ef5e60bb41720956 [INFO] running `Command { std: "docker" "start" "-a" "cdf607ec57c049bd9696472e9c803005f8b57c4bdea54972ef5e60bb41720956", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking wide v0.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking gis-algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `circumcircle`, `io_string` [INFO] [stdout] --> src/geometry/circle_intersect.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | circumcircle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | io_string, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `VecDeque` [INFO] [stdout] --> src/geometry/circle_intersect.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BTreeMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | BTreeSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | VecDeque, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `io_read_to_string` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(map_first_last, io_read_to_string)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(map_first_last, io_read_to_string)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circumcircle`, `io_string` [INFO] [stdout] --> src/geometry/circle_intersect.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | circumcircle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | io_string, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `VecDeque` [INFO] [stdout] --> src/geometry/circle_intersect.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BTreeMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | BTreeSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | VecDeque, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/graph.rs:317:14 [INFO] [stdout] | [INFO] [stdout] 317 | for i in (0usize..7) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 317 - for i in (0usize..7) { [INFO] [stdout] 317 + for i in 0usize..7 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `io_read_to_string` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(map_first_last, io_read_to_string)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(map_first_last, io_read_to_string)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/geometry/delaunay.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | let mut triad = &mut triads[triad_id]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/geometry/delaunay.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | let mut triad = &mut triads[triad_id]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/geometry/circle_intersect.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(writer, "{} {} {}", self.centre.coords.x, self.centre.coords.y, self.radius); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eids` [INFO] [stdout] --> src/graph.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let eids = &[(0, 1), (0, 2), (1, 3), (1, 4), (2, 5), (2, 6)] [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eids` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph.rs:314:20 [INFO] [stdout] | [INFO] [stdout] 314 | .filter_map(|i| g.add_node(())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | for i in 0..7 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | for i in 0..6 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | for i in 0..6 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | for i in 0..7 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | for i in 0..6 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | for i in 0..6 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | for i in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | for i in 0..(city_names.len()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/geometry/circle_intersect.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(writer, "{} {} {}", self.centre.coords.x, self.centre.coords.y, self.radius); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [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/graph.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 322 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 321 | let eids = &IntoIterator::into_iter([(0, 1), (0, 2), (1, 3), (1, 4), (2, 5), (2, 6)]) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.23s [INFO] running `Command { std: "docker" "inspect" "cdf607ec57c049bd9696472e9c803005f8b57c4bdea54972ef5e60bb41720956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf607ec57c049bd9696472e9c803005f8b57c4bdea54972ef5e60bb41720956", kill_on_drop: false }` [INFO] [stdout] cdf607ec57c049bd9696472e9c803005f8b57c4bdea54972ef5e60bb41720956