[INFO] cloning repository https://github.com/jefffm/blastoff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jefffm/blastoff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjefffm%2Fblastoff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjefffm%2Fblastoff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55cf66167e3f70a641046e03c2ed0ed389d81c7a [INFO] checking jefffm/blastoff against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjefffm%2Fblastoff" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jefffm/blastoff on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jefffm/blastoff [INFO] finished tweaking git repo https://github.com/jefffm/blastoff [INFO] tweaked toml for git repo https://github.com/jefffm/blastoff written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jefffm/blastoff 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ffd0fb919b44692ebdd0979d1fd85e66ac53ed1c8264db57f8d333d8a4c1aa2 [INFO] running `Command { std: "docker" "start" "-a" "2ffd0fb919b44692ebdd0979d1fd85e66ac53ed1c8264db57f8d333d8a4c1aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ffd0fb919b44692ebdd0979d1fd85e66ac53ed1c8264db57f8d333d8a4c1aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ffd0fb919b44692ebdd0979d1fd85e66ac53ed1c8264db57f8d333d8a4c1aa2", kill_on_drop: false }` [INFO] [stdout] 2ffd0fb919b44692ebdd0979d1fd85e66ac53ed1c8264db57f8d333d8a4c1aa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41779c7402c2af5e28c7ff77bf7729721610a01d13a4597cf2ae5b9089dd44ae [INFO] running `Command { std: "docker" "start" "-a" "41779c7402c2af5e28c7ff77bf7729721610a01d13a4597cf2ae5b9089dd44ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling ahash v0.8.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking coord_2d v0.3.3 [INFO] [stderr] Checking hound v3.5.0 [INFO] [stderr] Compiling quad-snd v0.2.5 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling miniquad v0.3.13 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking libflate_lz77 v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking png v0.17.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Checking unsafe-libyaml v0.2.4 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking libflate v1.2.0 [INFO] [stderr] Checking tiff v0.7.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rmp v0.8.11 [INFO] [stderr] Checking fontdue v0.7.2 [INFO] [stderr] Checking grid_2d v0.15.2 [INFO] [stderr] Checking direction v0.18.1 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking itertools v0.10.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking bumpalo v3.11.0 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking keyframe v1.1.1 [INFO] [stderr] Checking symmetric-shadowcasting v0.2.0 [INFO] [stderr] Checking wfc v0.10.6 [INFO] [stderr] Checking morton-encoding v2.0.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking line_drawing v1.0.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.33 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.5.1 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking thiserror v1.0.33 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling keyframe_derive v1.0.0 [INFO] [stderr] Compiling assets_manager_macros v0.2.0 [INFO] [stderr] Checking image v0.24.3 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking clap v3.2.21 [INFO] [stderr] Checking macroquad v0.3.24 [INFO] [stderr] Checking serde_yaml v0.9.13 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking pathfinding v3.0.13 [INFO] [stderr] Checking bracket-random v0.8.2 [INFO] [stderr] Checking rmp-serde v1.1.1 [INFO] [stderr] Checking hecs v0.9.0 [INFO] [stderr] Checking rgb v0.8.33 [INFO] [stderr] Checking euclid v0.22.7 [INFO] [stderr] Checking assets_manager v0.8.4 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking tiled v0.10.2 [INFO] [stderr] Checking blastoff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `game::consts::RESOURCE_PATH` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use game::consts::RESOURCE_PATH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// black [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | one: color_u8!(0, 0, 0, 255), [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | /// red [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | one: color_u8!(120, 1, 22, 255), [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | /// yellow [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | two: color_u8!(247, 181, 56, 255), [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | /// orange [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | three: color_u8!(219, 124, 38, 255), [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | /// redorange [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | four: color_u8!(216, 87, 42, 255), [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | /// blue [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | one: color_u8!(5, 102, 141, 255), [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | /// light blue [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | two: color_u8!(2, 128, 144, 255), [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | /// turquoise [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | three: color_u8!(0, 168, 150, 255), [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | /// green [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | four: color_u8!(2, 195, 154, 255), [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | /// sand [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | five: color_u8!(240, 243, 189, 255), [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | /// dark green [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 60 | one: color_u8!(19, 42, 19, 255), [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | /// green [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | two: color_u8!(49, 87, 44, 255), [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | /// leaf [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | three: color_u8!(79, 119, 45, 255), [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | /// light green [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | four: color_u8!(144, 169, 85, 255), [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | /// yellowey [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | five: color_u8!(236, 243, 158, 255), [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Actor`, `Player`, `util::PixelPoint` [INFO] [stdout] --> src/game/gui.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | component::{Actor, Player}, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | util::PixelPoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SCREEN_WIDTH_PIXELS`, `TILE_SIZE` [INFO] [stdout] --> src/game/gui.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use super::consts::{SCREEN_WIDTH_PIXELS, TILE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rgb::RGBA8` [INFO] [stdout] --> src/overworld/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rgb::RGBA8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::camera::Glyph` [INFO] [stdout] --> src/procgen/sector/bsp/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::camera::Glyph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COMMON`, `FIRE`, `PLANT`, `Palette`, `WATER` [INFO] [stdout] --> src/procgen/sector/bsp/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color::{Palette, COMMON, FIRE, PLANT, WATER}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::camera::Glyph` [INFO] [stdout] --> src/procgen/sector/wfcgen/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::camera::Glyph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COMMON`, `Palette` [INFO] [stdout] --> src/procgen/sector/wfcgen/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::color::{Palette, COMMON}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Renderable` [INFO] [stdout] --> src/procgen/sector/wfcgen/mod.rs:21:68 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::component::{Actor, ActorKind, Camera, Player, Position, Renderable, Viewshed}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COMMON`, `Palette`, `Renderable`, `camera::Glyph` [INFO] [stdout] --> src/procgen/sector/combo/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | camera::Glyph, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | color::{Palette, COMMON}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 6 | component::{Actor, ActorKind, Camera, Player, Position, Renderable, Viewshed}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Element` [INFO] [stdout] --> src/procgen/overworld/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | data::{Element, PlanetType}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FONT_SIZE`, `HEADER_FONT_SIZE` [INFO] [stdout] --> src/scene/main_menu.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | game::consts::{FONT_SIZE, HEADER_FONT_SIZE, PIXEL_RECT, TITLE_HEADER}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FONT_SIZE`, `PixelSpace`, `PixelVector` [INFO] [stdout] --> src/scene/galaxy_travel.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | game::consts::{FONT_SIZE, MAX_PLANET_SPRITE_SIZE, PIXEL_RECT, TILE_SIZE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | util::{GalaxyPoint, PixelPoint, PixelSpace, PixelVector, Scene, SceneSwitch}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SCREEN_RECT` [INFO] [stdout] --> src/scene/overworld_map.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | get_screen_to_pixel_transform_float, SCREEN_RECT, SECTOR_SIZE, VIEWPORT_HEIGHT, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keyframe_derive::CanTween` [INFO] [stdout] --> src/util/easing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use keyframe_derive::CanTween; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::consts::RESOURCE_PATH` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use game::consts::RESOURCE_PATH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// black [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | one: color_u8!(0, 0, 0, 255), [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | /// red [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | one: color_u8!(120, 1, 22, 255), [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | /// yellow [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | two: color_u8!(247, 181, 56, 255), [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | /// orange [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | three: color_u8!(219, 124, 38, 255), [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | /// redorange [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | four: color_u8!(216, 87, 42, 255), [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | /// blue [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | one: color_u8!(5, 102, 141, 255), [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | /// light blue [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | two: color_u8!(2, 128, 144, 255), [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | /// turquoise [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | three: color_u8!(0, 168, 150, 255), [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | /// green [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | four: color_u8!(2, 195, 154, 255), [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | /// sand [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | five: color_u8!(240, 243, 189, 255), [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | /// dark green [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 60 | one: color_u8!(19, 42, 19, 255), [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | /// green [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | two: color_u8!(49, 87, 44, 255), [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | /// leaf [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | three: color_u8!(79, 119, 45, 255), [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | /// light green [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | four: color_u8!(144, 169, 85, 255), [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/color.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | /// yellowey [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | five: color_u8!(236, 243, 158, 255), [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Actor`, `Player`, `util::PixelPoint` [INFO] [stdout] --> src/game/gui.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | component::{Actor, Player}, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | util::PixelPoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SCREEN_WIDTH_PIXELS`, `TILE_SIZE` [INFO] [stdout] --> src/game/gui.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use super::consts::{SCREEN_WIDTH_PIXELS, TILE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rgb::RGBA8` [INFO] [stdout] --> src/overworld/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rgb::RGBA8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::camera::Glyph` [INFO] [stdout] --> src/procgen/sector/bsp/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::camera::Glyph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COMMON`, `FIRE`, `PLANT`, `Palette`, `WATER` [INFO] [stdout] --> src/procgen/sector/bsp/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::color::{Palette, COMMON, FIRE, PLANT, WATER}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::camera::Glyph` [INFO] [stdout] --> src/procgen/sector/wfcgen/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::camera::Glyph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COMMON`, `Palette` [INFO] [stdout] --> src/procgen/sector/wfcgen/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::color::{Palette, COMMON}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Renderable` [INFO] [stdout] --> src/procgen/sector/wfcgen/mod.rs:21:68 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::component::{Actor, ActorKind, Camera, Player, Position, Renderable, Viewshed}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COMMON`, `Palette`, `Renderable`, `camera::Glyph` [INFO] [stdout] --> src/procgen/sector/combo/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | camera::Glyph, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | color::{Palette, COMMON}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 6 | component::{Actor, ActorKind, Camera, Player, Position, Renderable, Viewshed}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Element` [INFO] [stdout] --> src/procgen/overworld/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | data::{Element, PlanetType}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FONT_SIZE`, `HEADER_FONT_SIZE` [INFO] [stdout] --> src/scene/main_menu.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | game::consts::{FONT_SIZE, HEADER_FONT_SIZE, PIXEL_RECT, TITLE_HEADER}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FONT_SIZE`, `PixelSpace`, `PixelVector` [INFO] [stdout] --> src/scene/galaxy_travel.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | game::consts::{FONT_SIZE, MAX_PLANET_SPRITE_SIZE, PIXEL_RECT, TILE_SIZE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | util::{GalaxyPoint, PixelPoint, PixelSpace, PixelVector, Scene, SceneSwitch}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SCREEN_RECT` [INFO] [stdout] --> src/scene/overworld_map.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | get_screen_to_pixel_transform_float, SCREEN_RECT, SECTOR_SIZE, VIEWPORT_HEIGHT, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keyframe_derive::CanTween` [INFO] [stdout] --> src/util/easing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use keyframe_derive::CanTween; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_point` [INFO] [stdout] --> src/camera/screen.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let pixel_point = self.worldfloat_to_pixel(resources, worldfloat_point); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph` [INFO] [stdout] --> src/camera/screen.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let glyph = renderable.glyph; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/data/bitmap_font.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|(i, rect)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_point` [INFO] [stdout] --> src/camera/screen.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let pixel_point = self.worldfloat_to_pixel(resources, worldfloat_point); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph` [INFO] [stdout] --> src/camera/screen.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let glyph = renderable.glyph; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/game/gui.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn draw_ui(world: &World, resources: &mut Resources, _map: &Map) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/game/gui.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn draw_ui(world: &World, resources: &mut Resources, _map: &Map) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sector_info` [INFO] [stdout] --> src/procgen/sector/bsp/mod.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | sector_info: &SectorInfo, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sector_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/procgen/sector/combo/mod.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | for (i, (subpoint, subtile)) in submap.iter_tiles().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `planet` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/procgen/overworld/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 33 | for point in planet.iter_points().into_iter() { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 40 | planet.set_sector_info(point, sector_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `planet` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/procgen/overworld/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 47 | for point in planet.iter_points().into_iter() { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 54 | planet.set_sector_info(point, sector_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `planet` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/procgen/overworld/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 61 | for point in planet.iter_points().into_iter() { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 68 | planet.set_sector_info(point, sector_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `planet` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/procgen/overworld/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 75 | for point in planet.iter_points().into_iter() { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 82 | planet.set_sector_info(point, sector_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/scene/main_menu.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn poll_input(&mut self, resources: &mut Resources) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sector` [INFO] [stdout] --> src/scene/overworld_map.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | ... let sector = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/data/bitmap_font.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|(i, rect)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/sector/tile/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | resources: &mut Resources, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_point` [INFO] [stdout] --> src/sector/tile/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | pixel_point: PixelPoint, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/game/gui.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn draw_ui(world: &World, resources: &mut Resources, _map: &Map) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/game/gui.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn draw_ui(world: &World, resources: &mut Resources, _map: &Map) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/system/animation.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | for (_entity, position) in sector.world.query_mut::<&mut Position>() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderable` [INFO] [stdout] --> src/system/animation.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | for (_entity, renderable) in sector.world.query_mut::<&mut Renderable>() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sector_info` [INFO] [stdout] --> src/procgen/sector/bsp/mod.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | sector_info: &SectorInfo, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sector_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/procgen/sector/combo/mod.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | for (i, (subpoint, subtile)) in submap.iter_tiles().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `planet` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/procgen/overworld/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 33 | for point in planet.iter_points().into_iter() { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 40 | planet.set_sector_info(point, sector_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `planet` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/procgen/overworld/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 47 | for point in planet.iter_points().into_iter() { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 54 | planet.set_sector_info(point, sector_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `planet` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/procgen/overworld/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 61 | for point in planet.iter_points().into_iter() { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 68 | planet.set_sector_info(point, sector_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `planet` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/procgen/overworld/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 75 | for point in planet.iter_points().into_iter() { [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 82 | planet.set_sector_info(point, sector_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/scene/main_menu.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn poll_input(&mut self, resources: &mut Resources) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blastoff` (bin "blastoff") due to 5 previous errors; 43 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `sector` [INFO] [stdout] --> src/scene/overworld_map.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | ... let sector = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/sector/tile/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | resources: &mut Resources, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_point` [INFO] [stdout] --> src/sector/tile/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | pixel_point: PixelPoint, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/system/animation.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | for (_entity, position) in sector.world.query_mut::<&mut Position>() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderable` [INFO] [stdout] --> src/system/animation.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | for (_entity, renderable) in sector.world.query_mut::<&mut Renderable>() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blastoff` (bin "blastoff" test) due to 5 previous errors; 43 warnings emitted [INFO] running `Command { std: "docker" "inspect" "41779c7402c2af5e28c7ff77bf7729721610a01d13a4597cf2ae5b9089dd44ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41779c7402c2af5e28c7ff77bf7729721610a01d13a4597cf2ae5b9089dd44ae", kill_on_drop: false }` [INFO] [stdout] 41779c7402c2af5e28c7ff77bf7729721610a01d13a4597cf2ae5b9089dd44ae