[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] building nathanielfernandes/pathfinding against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanielfernandes%2Fpathfinding" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nathanielfernandes/pathfinding on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-5-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.37 [INFO] [stderr] Downloaded macroquad_macro v0.1.5 [INFO] [stderr] Downloaded sapp-windows v0.2.18 [INFO] [stderr] Downloaded sapp-wasm v0.1.26 [INFO] [stderr] Downloaded sapp-android v0.1.8 [INFO] [stderr] Downloaded sapp-darwin v0.1.6 [INFO] [stderr] Downloaded sapp-dummy v0.1.5 [INFO] [stderr] Downloaded glam v0.14.0 [INFO] [stderr] Downloaded fontdue v0.5.2 [INFO] [stderr] Downloaded sapp-linux v0.1.13 [INFO] [stderr] Downloaded sapp-ios v0.1.2 [INFO] [stderr] Downloaded macroquad v0.3.8 [INFO] [stderr] Downloaded quad-snd v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89927c6e921fa0c2037bfc4f5015f444202bf2056c89c47e989757ffdca94922 [INFO] running `Command { std: "docker" "start" "-a" "89927c6e921fa0c2037bfc4f5015f444202bf2056c89c47e989757ffdca94922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89927c6e921fa0c2037bfc4f5015f444202bf2056c89c47e989757ffdca94922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89927c6e921fa0c2037bfc4f5015f444202bf2056c89c47e989757ffdca94922", kill_on_drop: false }` [INFO] [stdout] 89927c6e921fa0c2037bfc4f5015f444202bf2056c89c47e989757ffdca94922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c29c0b17cea3b759983f4d854a8d4dd0c534981ec988dcad88c4e745f2ab856 [INFO] running `Command { std: "docker" "start" "-a" "0c29c0b17cea3b759983f4d854a8d4dd0c534981ec988dcad88c4e745f2ab856", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling sapp-linux v0.1.13 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling quad-snd v0.2.2 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling macroquad_macro v0.1.5 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling audrey v0.3.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.37 [INFO] [stderr] Compiling macroquad v0.3.8 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.00s [INFO] running `Command { std: "docker" "inspect" "0c29c0b17cea3b759983f4d854a8d4dd0c534981ec988dcad88c4e745f2ab856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c29c0b17cea3b759983f4d854a8d4dd0c534981ec988dcad88c4e745f2ab856", kill_on_drop: false }` [INFO] [stdout] 0c29c0b17cea3b759983f4d854a8d4dd0c534981ec988dcad88c4e745f2ab856 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eff5e0fd8a45d1a38e1611562eed6a8ef6b0b9a1772026503d1817a19a76843 [INFO] running `Command { std: "docker" "start" "-a" "9eff5e0fd8a45d1a38e1611562eed6a8ef6b0b9a1772026503d1817a19a76843", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "9eff5e0fd8a45d1a38e1611562eed6a8ef6b0b9a1772026503d1817a19a76843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eff5e0fd8a45d1a38e1611562eed6a8ef6b0b9a1772026503d1817a19a76843", kill_on_drop: false }` [INFO] [stdout] 9eff5e0fd8a45d1a38e1611562eed6a8ef6b0b9a1772026503d1817a19a76843