[INFO] cloning repository https://github.com/nathanielfernandes/pathfinding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nathanielfernandes/pathfinding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanielfernandes%2Fpathfinding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanielfernandes%2Fpathfinding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50989a8fa759708a89b31c61fbdcec22aaa18cb8 [INFO] checking nathanielfernandes/pathfinding against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanielfernandes%2Fpathfinding" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nathanielfernandes/pathfinding 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/nathanielfernandes/pathfinding [INFO] finished tweaking git repo https://github.com/nathanielfernandes/pathfinding [INFO] tweaked toml for git repo https://github.com/nathanielfernandes/pathfinding written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nathanielfernandes/pathfinding 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] Downloading crates ... [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.37 [INFO] [stderr] Downloaded sapp-android v0.1.8 [INFO] [stderr] Downloaded macroquad_macro v0.1.5 [INFO] [stderr] Downloaded sapp-windows v0.2.18 [INFO] [stderr] Downloaded quad-snd v0.2.2 [INFO] [stderr] Downloaded macroquad v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 79baa7709b1bdfbaec0e1b3a1a3b2808d6ec34ad4a774e12b08890d6f0d8f604 [INFO] running `Command { std: "docker" "start" "-a" "79baa7709b1bdfbaec0e1b3a1a3b2808d6ec34ad4a774e12b08890d6f0d8f604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79baa7709b1bdfbaec0e1b3a1a3b2808d6ec34ad4a774e12b08890d6f0d8f604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79baa7709b1bdfbaec0e1b3a1a3b2808d6ec34ad4a774e12b08890d6f0d8f604", kill_on_drop: false }` [INFO] [stdout] 79baa7709b1bdfbaec0e1b3a1a3b2808d6ec34ad4a774e12b08890d6f0d8f604 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9f1da3f9e49b543132749db9d4f31860460711d114a999da565cce248cefb81b [INFO] running `Command { std: "docker" "start" "-a" "9f1da3f9e49b543132749db9d4f31860460711d114a999da565cce248cefb81b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling sapp-linux v0.1.13 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Compiling quad-snd v0.2.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking glam v0.14.0 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Compiling macroquad_macro v0.1.5 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking bumpalo v3.7.0 [INFO] [stderr] Checking fontdue v0.5.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking miniquad v0.3.0-alpha.37 [INFO] [stderr] Checking macroquad v0.3.8 [INFO] [stderr] Checking pathfinding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Ordering, slice::Iter}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Ordering, slice::Iter}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CALC_SSCALE_S` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const CALC_SSCALE_S: f32 = 13.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CALC_SSCALE_XS` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CALC_SSCALE_XS: f32 = 8.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Left`, and `Right` are never constructed [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `all` is never used [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Direction { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 22 | pub fn all() -> Iter<'static, Direction> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/main.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Walls { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `best_first_search`, `a_search_star`, `smart_reset`, `distance_from_start`, and `heuristic` are never used [INFO] [stdout] --> src/main.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Arena { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn best_first_search( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn a_search_star( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn smart_reset(&mut self, placed: (f32, f32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub fn distance_from_start(&self, pos: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn heuristic(p1: (f32, f32), p2: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `priority` are never read [INFO] [stdout] --> src/main.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 376 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 377 | parent: Option, [INFO] [stdout] 378 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 379 | pub cost: f32, [INFO] [stdout] 380 | pub priority: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CALC_SSCALE_S` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const CALC_SSCALE_S: f32 = 13.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CALC_SSCALE_XS` is never used [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CALC_SSCALE_XS: f32 = 8.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Left`, and `Right` are never constructed [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `all` is never used [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Direction { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 22 | pub fn all() -> Iter<'static, Direction> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/main.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Walls { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `best_first_search`, `a_search_star`, `smart_reset`, `distance_from_start`, and `heuristic` are never used [INFO] [stdout] --> src/main.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Arena { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn best_first_search( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn a_search_star( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn smart_reset(&mut self, placed: (f32, f32)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub fn distance_from_start(&self, pos: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn heuristic(p1: (f32, f32), p2: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `priority` are never read [INFO] [stdout] --> src/main.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 376 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 377 | parent: Option, [INFO] [stdout] 378 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 379 | pub cost: f32, [INFO] [stdout] 380 | pub priority: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.37s [INFO] running `Command { std: "docker" "inspect" "9f1da3f9e49b543132749db9d4f31860460711d114a999da565cce248cefb81b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1da3f9e49b543132749db9d4f31860460711d114a999da565cce248cefb81b", kill_on_drop: false }` [INFO] [stdout] 9f1da3f9e49b543132749db9d4f31860460711d114a999da565cce248cefb81b