[INFO] cloning repository https://github.com/pedropsouza/stales-geom-viewer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedropsouza/stales-geom-viewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedropsouza%2Fstales-geom-viewer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedropsouza%2Fstales-geom-viewer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce5a2c7f77421b91b432c51895ff4138e19f99b7 [INFO] building pedropsouza/stales-geom-viewer against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedropsouza%2Fstales-geom-viewer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pedropsouza/stales-geom-viewer [INFO] finished tweaking git repo https://github.com/pedropsouza/stales-geom-viewer [INFO] tweaked toml for git repo https://github.com/pedropsouza/stales-geom-viewer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pedropsouza/stales-geom-viewer on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pedropsouza/stales-geom-viewer 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stderrlog v0.6.0 [INFO] [stderr] Downloaded priority-queue v2.7.0 [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded ordered-float v0.5.2 [INFO] [stderr] Downloaded genmap v1.0.3 [INFO] [stderr] Downloaded voronoi v0.1.4 [INFO] [stderr] Downloaded ordered-float v5.1.0 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded zerocopy-derive v0.8.30 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded zerocopy v0.8.30 [INFO] [stderr] Downloaded petgraph v0.8.3 [INFO] [stderr] Downloaded macroquad v0.4.14 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87d655a01c04a6ca8f2539ccb184a2a4a0f42e08c42e5edcb928e25370550bbe [INFO] running `Command { std: "docker" "start" "-a" "87d655a01c04a6ca8f2539ccb184a2a4a0f42e08c42e5edcb928e25370550bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87d655a01c04a6ca8f2539ccb184a2a4a0f42e08c42e5edcb928e25370550bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d655a01c04a6ca8f2539ccb184a2a4a0f42e08c42e5edcb928e25370550bbe", kill_on_drop: false }` [INFO] [stdout] 87d655a01c04a6ca8f2539ccb184a2a4a0f42e08c42e5edcb928e25370550bbe [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 6a18edab08b05adf95267509f6d927b15fab243d2b545a134f9cf32a7bb2b42d [INFO] running `Command { std: "docker" "start" "-a" "6a18edab08b05adf95267509f6d927b15fab243d2b545a134f9cf32a7bb2b42d", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling genmap v1.0.3 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling voronoi v0.1.4 [INFO] [stderr] Compiling petgraph v0.8.3 [INFO] [stderr] Compiling priority-queue v2.7.0 [INFO] [stderr] Compiling stderrlog v0.6.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling random_color v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-float v5.1.0 [INFO] [stderr] Compiling stales-geom-viewer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `obstacle::Obstacle` [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use obstacle::Obstacle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*` and `utils::random_color` [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | geom::{self, *}, [INFO] [stdout] | ^ [INFO] [stdout] 9 | point::Point, utils::random_color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Floor` [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use euclid::{default::Vector2D, num::Floor}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `DerefMut`, `Deref`, `HashMap`, `Ordering`, `fs::File`, and `self` [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | ...d, Ordering}, collections::{BTreeMap, HashMap}, default::Default, env, fmt::Debug, fs::File, io::Write, iter::{self, Iterator}, ops::{Deref, DerefMut}, ... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `self`, and `self` [INFO] [stdout] --> src/bin/discrete-grid/bot.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | common_traits::*, geom::{self, Vertex, *}, point::Point, utils::{self, random_color} [INFO] [stdout] | ^^^^ ^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Object` and `State` [INFO] [stdout] --> src/bin/discrete-grid/bot.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{State, Object, grid::ObservableGrid}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `sync::RwLock` [INFO] [stdout] --> src/bin/discrete-grid/bot.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{collections::{ HashMap, HashSet }, sync::RwLock}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/bin/discrete-grid/bot.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SquareGrid` [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | use grid::{ObservableGrid, Grid, SquareGrid, HexGrid}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/bin/main.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use euclid::{default::Vector2D, *}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Point` is never constructed [INFO] [stdout] --> src/bin/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Object { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 17 | Point(geom::Vertex), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_grid` is never used [INFO] [stdout] --> src/bin/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn square_grid(spacing: f32, breadth: (Range, Range)) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Point` and `LineObj` are never constructed [INFO] [stdout] --> src/bin/convex-hull/convex-hull.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 20 | Point(geom::Vertex), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | CircleObj(geom::Circle), [INFO] [stdout] 22 | LineObj(geom::Line2D), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_line` is never used [INFO] [stdout] --> src/bin/convex-hull/convex-hull.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 77 | fn add_line(&mut self, l: geom::Line2D) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glamVec2_from_point` should have a snake case name [INFO] [stdout] --> src/bin/convex-hull/convex-hull.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn glamVec2_from_point(p: Point) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `glam_vec2_from_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instant_voronoi` [INFO] [stdout] --> src/bin/voronoi/voronoi.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | let instant_voronoi = move |state: std::rc::Rc>| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instant_voronoi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Point`, `LineObj`, and `PolyObj` are never constructed [INFO] [stdout] --> src/bin/voronoi/voronoi.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 27 | Point(geom::Vertex), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | CircleObj(geom::Circle), [INFO] [stdout] 29 | LineObj(geom::Line2D), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | PolyObj(geom::Polygon), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_line` and `add_poly` are never used [INFO] [stdout] --> src/bin/voronoi/voronoi.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 73 | fn add_line(&mut self, l: geom::Line2D) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn add_poly(&mut self, p: geom::Polygon) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NIL` is never used [INFO] [stdout] --> src/bin/voronoi/beachline.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const NIL: usize = !0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | fn new(mut grid: Box) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_line`, `add_circle`, and `add_poly` are never used [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 188 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 238 | fn add_line(&mut self, l: geom::Line2D) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn add_circle(&mut self, c: geom::Circle) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn add_poly(&mut self, p: geom::Polygon) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glamVec2_from_point` is never used [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn glamVec2_from_point(p: Point) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `quantize_xy` and `taxicab_distance` are never used [INFO] [stdout] --> src/bin/discrete-grid/grid.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 156 | impl HexGrid { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn quantize_xy(&self, x: f64, y: f64) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn taxicab_distance(&self, a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oddq_to_axial` is never used [INFO] [stdout] --> src/bin/discrete-grid/grid.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | fn oddq_to_axial(x: usize, y: usize) -> (isize, isize){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SquareGrid` is never constructed [INFO] [stdout] --> src/bin/discrete-grid/grid.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct SquareGrid { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `quantize_xy`, `taxicab_distance`, and `chebyshev_distance` are never used [INFO] [stdout] --> src/bin/discrete-grid/grid.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 421 | impl SquareGrid { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 422 | pub fn new(topleft: Point, botright: Point, clr: Color, size: (usize, usize), obstacle_factories: Vec<(usize, Box Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn taxicab_distance(&self, a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn chebyshev_distance(&self, a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | Occluded(Vec), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FactoryError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - Occluded(Vec), [INFO] [stdout] 34 + Occluded(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | Unsupported(&'static str), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FactoryError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - Unsupported(&'static str), [INFO] [stdout] 36 + Unsupported(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Etc` is never constructed [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FactoryError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Etc(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactoryError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Wall { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 80 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Replicate` is never constructed [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Replicate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 159 | impl Replicate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 160 | pub fn new(obstacle: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValueOrKey` is never used [INFO] [stdout] --> src/bin/discrete-grid/command.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ValueOrKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glamVec2_from_point` should have a snake case name [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn glamVec2_from_point(p: Point) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `glam_vec2_from_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.31s [INFO] running `Command { std: "docker" "inspect" "6a18edab08b05adf95267509f6d927b15fab243d2b545a134f9cf32a7bb2b42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a18edab08b05adf95267509f6d927b15fab243d2b545a134f9cf32a7bb2b42d", kill_on_drop: false }` [INFO] [stdout] 6a18edab08b05adf95267509f6d927b15fab243d2b545a134f9cf32a7bb2b42d [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] c96dae0eecb72832e8dc988fe3ee3fc5aa3b3e853c9304be420f1758a08678fc [INFO] running `Command { std: "docker" "start" "-a" "c96dae0eecb72832e8dc988fe3ee3fc5aa3b3e853c9304be420f1758a08678fc", kill_on_drop: false }` [INFO] [stderr] Compiling stales-geom-viewer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `obstacle::Obstacle` [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use obstacle::Obstacle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*` and `utils::random_color` [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | geom::{self, *}, [INFO] [stdout] | ^ [INFO] [stdout] 9 | point::Point, utils::random_color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Floor` [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use euclid::{default::Vector2D, num::Floor}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `DerefMut`, `Deref`, `HashMap`, `Ordering`, `fs::File`, and `self` [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | ...d, Ordering}, collections::{BTreeMap, HashMap}, default::Default, env, fmt::Debug, fs::File, io::Write, iter::{self, Iterator}, ops::{Deref, DerefMut}, ... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `self`, and `self` [INFO] [stdout] --> src/bin/discrete-grid/bot.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | common_traits::*, geom::{self, Vertex, *}, point::Point, utils::{self, random_color} [INFO] [stdout] | ^^^^ ^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Object` and `State` [INFO] [stdout] --> src/bin/discrete-grid/bot.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{State, Object, grid::ObservableGrid}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `sync::RwLock` [INFO] [stdout] --> src/bin/discrete-grid/bot.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{collections::{ HashMap, HashSet }, sync::RwLock}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/bin/discrete-grid/bot.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SquareGrid` [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | use grid::{ObservableGrid, Grid, SquareGrid, HexGrid}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Point` and `LineObj` are never constructed [INFO] [stdout] --> src/bin/convex-hull/convex-hull.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 20 | Point(geom::Vertex), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | CircleObj(geom::Circle), [INFO] [stdout] 22 | LineObj(geom::Line2D), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_line` is never used [INFO] [stdout] --> src/bin/convex-hull/convex-hull.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 77 | fn add_line(&mut self, l: geom::Line2D) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glamVec2_from_point` should have a snake case name [INFO] [stdout] --> src/bin/convex-hull/convex-hull.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn glamVec2_from_point(p: Point) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `glam_vec2_from_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/bin/main.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use euclid::{default::Vector2D, *}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Point` is never constructed [INFO] [stdout] --> src/bin/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Object { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 17 | Point(geom::Vertex), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_grid` is never used [INFO] [stdout] --> src/bin/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn square_grid(spacing: f32, breadth: (Range, Range)) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | fn new(mut grid: Box) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instant_voronoi` [INFO] [stdout] --> src/bin/voronoi/voronoi.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | let instant_voronoi = move |state: std::rc::Rc>| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instant_voronoi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Point`, `LineObj`, and `PolyObj` are never constructed [INFO] [stdout] --> src/bin/voronoi/voronoi.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 27 | Point(geom::Vertex), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | CircleObj(geom::Circle), [INFO] [stdout] 29 | LineObj(geom::Line2D), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | PolyObj(geom::Polygon), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_line` and `add_poly` are never used [INFO] [stdout] --> src/bin/voronoi/voronoi.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 73 | fn add_line(&mut self, l: geom::Line2D) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn add_poly(&mut self, p: geom::Polygon) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NIL` is never used [INFO] [stdout] --> src/bin/voronoi/beachline.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const NIL: usize = !0; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_line`, `add_circle`, and `add_poly` are never used [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 188 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 238 | fn add_line(&mut self, l: geom::Line2D) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn add_circle(&mut self, c: geom::Circle) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn add_poly(&mut self, p: geom::Polygon) -> genmap::Handle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glamVec2_from_point` is never used [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn glamVec2_from_point(p: Point) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `quantize_xy` and `taxicab_distance` are never used [INFO] [stdout] --> src/bin/discrete-grid/grid.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 156 | impl HexGrid { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn quantize_xy(&self, x: f64, y: f64) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn taxicab_distance(&self, a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oddq_to_axial` is never used [INFO] [stdout] --> src/bin/discrete-grid/grid.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | fn oddq_to_axial(x: usize, y: usize) -> (isize, isize){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SquareGrid` is never constructed [INFO] [stdout] --> src/bin/discrete-grid/grid.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct SquareGrid { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `quantize_xy`, `taxicab_distance`, and `chebyshev_distance` are never used [INFO] [stdout] --> src/bin/discrete-grid/grid.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 421 | impl SquareGrid { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 422 | pub fn new(topleft: Point, botright: Point, clr: Color, size: (usize, usize), obstacle_factories: Vec<(usize, Box Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn taxicab_distance(&self, a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn chebyshev_distance(&self, a: usize, b: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | Occluded(Vec), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FactoryError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - Occluded(Vec), [INFO] [stdout] 34 + Occluded(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | Unsupported(&'static str), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FactoryError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - Unsupported(&'static str), [INFO] [stdout] 36 + Unsupported(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Etc` is never constructed [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum FactoryError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Etc(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactoryError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Wall { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 80 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Replicate` is never constructed [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Replicate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/discrete-grid/obstacle.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 159 | impl Replicate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 160 | pub fn new(obstacle: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValueOrKey` is never used [INFO] [stdout] --> src/bin/discrete-grid/command.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ValueOrKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glamVec2_from_point` should have a snake case name [INFO] [stdout] --> src/bin/discrete-grid/discrete-grid.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn glamVec2_from_point(p: Point) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `glam_vec2_from_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "c96dae0eecb72832e8dc988fe3ee3fc5aa3b3e853c9304be420f1758a08678fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c96dae0eecb72832e8dc988fe3ee3fc5aa3b3e853c9304be420f1758a08678fc", kill_on_drop: false }` [INFO] [stdout] c96dae0eecb72832e8dc988fe3ee3fc5aa3b3e853c9304be420f1758a08678fc