[INFO] cloning repository https://github.com/tsmaster/rust-navexp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsmaster/rust-navexp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsmaster%2Frust-navexp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsmaster%2Frust-navexp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45c7264a5e59591ef9cc83c03cc8c109fe967630 [INFO] building tsmaster/rust-navexp against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsmaster%2Frust-navexp" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tsmaster/rust-navexp [INFO] finished tweaking git repo https://github.com/tsmaster/rust-navexp [INFO] tweaked toml for git repo https://github.com/tsmaster/rust-navexp written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tsmaster/rust-navexp on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tsmaster/rust-navexp 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72a9a197bbb529530952fa3b8b502754a0ee7f419fb814d407267b1c28b69d4d [INFO] running `Command { std: "docker" "start" "-a" "72a9a197bbb529530952fa3b8b502754a0ee7f419fb814d407267b1c28b69d4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72a9a197bbb529530952fa3b8b502754a0ee7f419fb814d407267b1c28b69d4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a9a197bbb529530952fa3b8b502754a0ee7f419fb814d407267b1c28b69d4d", kill_on_drop: false }` [INFO] [stdout] 72a9a197bbb529530952fa3b8b502754a0ee7f419fb814d407267b1c28b69d4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 61ac8583be186995542dd85c84e29d1e2ecf726e07786bf5113158584e8490a1 [INFO] running `Command { std: "docker" "start" "-a" "61ac8583be186995542dd85c84e29d1e2ecf726e07786bf5113158584e8490a1", kill_on_drop: false }` [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling miniquad v0.3.10 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling priority-queue v1.2.2 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling robust v0.2.3 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling delaunator v1.0.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling voronoice v0.2.0 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling macroquad v0.3.22 [INFO] [stderr] Compiling navexp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/bdg_logo.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | if (is_mouse_button_down(MouseButton::Left) || [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 57 | is_key_down(KeyCode::Space)) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 ~ if is_mouse_button_down(MouseButton::Left) || [INFO] [stdout] 55 | is_mouse_button_down(MouseButton::Middle) || [INFO] [stdout] 56 | is_mouse_button_down(MouseButton::Right) || [INFO] [stdout] 57 ~ is_key_down(KeyCode::Space) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/title.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | if (is_mouse_button_down(MouseButton::Left) || [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 60 | is_key_down(KeyCode::Space)) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 ~ if is_mouse_button_down(MouseButton::Left) || [INFO] [stdout] 58 | is_mouse_button_down(MouseButton::Middle) || [INFO] [stdout] 59 | is_mouse_button_down(MouseButton::Right) || [INFO] [stdout] 60 ~ is_key_down(KeyCode::Space) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Group` [INFO] [stdout] --> src/screens/menu.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | widgets::{self, Group}, [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 import: `crate::big_dice_games::util::map` [INFO] [stdout] --> src/screens/square_nav.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::big_dice_games::util::map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exact_8` should have an upper camel case name [INFO] [stdout] --> src/screens/square_nav.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Exact_8, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Exact8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/screens/square_nav.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | match(self.heuristic) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 221 - match(self.heuristic) { [INFO] [stdout] 221 + match self.heuristic { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | if (!self.is_8_way) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - if (!self.is_8_way) { [INFO] [stdout] 260 + if !self.is_8_way { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | if (min_dim < 1.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 275 - if (min_dim < 1.0) { [INFO] [stdout] 275 + if min_dim < 1.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | if (min_dim < 1.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - if (min_dim < 1.0) { [INFO] [stdout] 323 + if min_dim < 1.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | if (x > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 343 - if (x > 0) { [INFO] [stdout] 343 + if x > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | if (x < self.num_x - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 346 - if (x < self.num_x - 1) { [INFO] [stdout] 346 + if x < self.num_x - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | if (y > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 350 - if (y > 0) { [INFO] [stdout] 350 + if y > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | if (y < self.num_y - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 353 - if (y < self.num_y - 1) { [INFO] [stdout] 353 + if y < self.num_y - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | if (self.is_8_way) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 357 - if (self.is_8_way) { [INFO] [stdout] 357 + if self.is_8_way { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | if (x > 0 && y > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 358 - if (x > 0 && y > 0) { [INFO] [stdout] 358 + if x > 0 && y > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | if (x < self.num_x - 1 && y > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 362 - if (x < self.num_x - 1 && y > 0) { [INFO] [stdout] 362 + if x < self.num_x - 1 && y > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | if (x > 0 && y < self.num_y - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 366 - if (x > 0 && y < self.num_y - 1) { [INFO] [stdout] 366 + if x > 0 && y < self.num_y - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | if (x < self.num_x - 1 && y < self.num_y - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 370 - if (x < self.num_x - 1 && y < self.num_y - 1) { [INFO] [stdout] 370 + if x < self.num_x - 1 && y < self.num_y - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/screens/square_nav.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | if (*prev_index == -1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 619 - if (*prev_index == -1) { [INFO] [stdout] 619 + if *prev_index == -1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::GameScreen` [INFO] [stdout] --> src/screens/house_nav_demo.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::GameScreen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `si` [INFO] [stdout] --> src/screens/square_nav.rs:228:62 [INFO] [stdout] | [INFO] [stdout] 228 | fn calc_euclid_heuristic_by_indices(&self, a:i32, b:i32, si: i32) -> f32 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_si` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_dim` is never read [INFO] [stdout] --> src/screens/square_nav.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | let mut max_dim:f32 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_dim` is never read [INFO] [stdout] --> src/screens/square_nav.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | let mut min_dim:f32 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cross` [INFO] [stdout] --> src/screens/square_nav.rs:307:6 [INFO] [stdout] | [INFO] [stdout] 307 | let cross = (dx1*dy2 - dx2*dy1).abs(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cross` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_dim` is never read [INFO] [stdout] --> src/screens/square_nav.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | let mut max_dim:f32 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_dim` is never read [INFO] [stdout] --> src/screens/square_nav.rs:313:24 [INFO] [stdout] | [INFO] [stdout] 313 | let mut min_dim:f32 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dot_size` is never read [INFO] [stdout] --> src/screens/square_nav.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | let mut dot_size = 2.5; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/screens/square_nav.rs:550:15 [INFO] [stdout] | [INFO] [stdout] 550 | let mut c = BLUE; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_any` is never used [INFO] [stdout] --> src/screens/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Screen { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_y` is never read [INFO] [stdout] --> src/screens/bridson.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BridsonScreen [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | num_y: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `heuristic_remaining` is never read [INFO] [stdout] --> src/screens/bridson_nav.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct AStarRecord [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | heuristic_remaining: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AStarRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_y` is never read [INFO] [stdout] --> src/screens/bridson_nav.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct BridsonNavScreen [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | num_y: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Manhattan` and `Exact_8` are never constructed [INFO] [stdout] --> src/screens/square_nav.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum Heuristic { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 34 | Euclid, [INFO] [stdout] 35 | Manhattan, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | Exact_8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `space_count` is never read [INFO] [stdout] --> src/screens/square_nav.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct SquareNavScreen [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | space_count: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `point_in_box` is never used [INFO] [stdout] --> src/screens/square_nav.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl SquareNavScreen { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | fn point_in_box(&self, p: &Vec2f) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale` is never used [INFO] [stdout] --> src/big_dice_games/math/vector.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Vector { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn scale(&self, factor: f32) -> Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3f` is never constructed [INFO] [stdout] --> src/big_dice_games/math/vector.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vec3f [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/sprite.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `complete` and `clear` are never used [INFO] [stdout] --> src/texture_mgr.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TextureMgr { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "--export" "CONTEXT" "--export" "allocate_vec_u8" "--export" "crate_version" "--export" "file_loaded" "--export" "frame" "--export" "key_down" "--export" "key_press" "--export" "key_up" "--export" "mouse_down" "--export" "mouse_move" "--export" "mouse_up" "--export" "mouse_wheel" "--export" "on_clipboard_paste" "--export" "on_file_dropped" "--export" "on_files_dropped_finish" "--export" "on_files_dropped_start" "--export" "raw_mouse_move" "--export" "resize" "--export" "touch" "--export" "macroquad_audio_crate_version" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libvoronoice-9f8ddfa1022f785f,libdelaunator-fa15e2ae6db2b4aa,librobust-16b5e66da2457c66,libmacroquad-af6c8f24e8612594,libbumpalo-a45300cdd2a482b1,libfontdue-579f954a9f4c598c,libttf_parser-ad2d129e6b78f05e,libhashbrown-700d959969d836a6,libahash-506f64581819aaff,libimage-00cfa2a87f6a3285,libcolor_quant-8e07a515e6ff48c0,libnum_iter-329643b3f27c28c9,libbytemuck-96f94cdae76863df,libpng-25c011fa1ed1cd4a,libminiz_oxide-dadf386c3d95bd8d,libcrc32fast-f0a61590867b47c0,libcfg_if-50b02a9e3502ecf2,libdeflate-cec0dcc85515ac5c,libbyteorder-f00db367bf6f80f8,libadler32-9f2c3df339504c4f,libbitflags-15e3d67e03629ffa,libnum_rational-14576e264a6fac84,libnum_integer-c290c2b55d0e5e63,libnum_traits-432b941528393eab,libquad_rand-a489066e64330885,libglam-ce101decb0695bbd,libquad_snd-a863a8eec6c06467,libminiquad-1caefc5969323611}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/navexp-6134869cbcf7020a.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/navexp-6134869cbcf7020a.navexp.d5f79f455ee5a813-cgu.3.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/navexp-6134869cbcf7020a.navexp.d5f79f455ee5a813-cgu.3.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/navexp-6134869cbcf7020a.navexp.d5f79f455ee5a813-cgu.3.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/navexp-6134869cbcf7020a.navexp.d5f79f455ee5a813-cgu.3.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/navexp-6134869cbcf7020a.navexp.d5f79f455ee5a813-cgu.3.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.03.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.03.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.03.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.03.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glGenFramebuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glViewport [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glScissor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-af6c8f24e8612594.rlib(macroquad-af6c8f24e8612594.macroquad.e111313ceec1e542-cgu.09.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `navexp` (bin "navexp") due to 1 previous error; 39 warnings emitted [INFO] running `Command { std: "docker" "inspect" "61ac8583be186995542dd85c84e29d1e2ecf726e07786bf5113158584e8490a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ac8583be186995542dd85c84e29d1e2ecf726e07786bf5113158584e8490a1", kill_on_drop: false }` [INFO] [stdout] 61ac8583be186995542dd85c84e29d1e2ecf726e07786bf5113158584e8490a1