[INFO] cloning repository https://github.com/payload/bevy-thing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/payload/bevy-thing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpayload%2Fbevy-thing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpayload%2Fbevy-thing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f30e7717e4584db827b3270da30d956f38dfb4a3 [INFO] testing payload/bevy-thing against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpayload%2Fbevy-thing" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/payload/bevy-thing [INFO] finished tweaking git repo https://github.com/payload/bevy-thing [INFO] tweaked toml for git repo https://github.com/payload/bevy-thing written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/payload/bevy-thing on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/payload/bevy-thing 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/Nilirad/bevy_prototype_lyon.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded makima_spline v1.1.3 [INFO] [stderr] Downloaded lyon_path v0.16.2 [INFO] [stderr] Downloaded bevy_rapier2d v0.7.0 [INFO] [stderr] Downloaded lyon v0.16.2 [INFO] [stderr] Downloaded lyon_algorithms v0.16.0 [INFO] [stderr] Downloaded lyon_geom v0.16.2 [INFO] [stderr] Downloaded float_eq v0.5.0 [INFO] [stderr] Downloaded ncollide2d v0.26.1 [INFO] [stderr] Downloaded rapier2d v0.4.2 [INFO] [stderr] Downloaded lyon_tessellation v0.16.2 [INFO] [stderr] Downloaded nalgebra v0.23.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c3d61cdfd294525044a078b5e66d7e9fd5005084bb7d4e0dc1f6b3cf886ccc3 [INFO] running `Command { std: "docker" "start" "-a" "7c3d61cdfd294525044a078b5e66d7e9fd5005084bb7d4e0dc1f6b3cf886ccc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c3d61cdfd294525044a078b5e66d7e9fd5005084bb7d4e0dc1f6b3cf886ccc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3d61cdfd294525044a078b5e66d7e9fd5005084bb7d4e0dc1f6b3cf886ccc3", kill_on_drop: false }` [INFO] [stdout] 7c3d61cdfd294525044a078b5e66d7e9fd5005084bb7d4e0dc1f6b3cf886ccc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc4a6c3965ef038fc8c3cdcba634f1c8ba3b29ef2751658688f67e1e49aeb0d4 [INFO] running `Command { std: "docker" "start" "-a" "fc4a6c3965ef038fc8c3cdcba634f1c8ba3b29ef2751658688f67e1e49aeb0d4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling ahash v0.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling fixedbitset v0.3.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling glam v0.11.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling sharded-slab v0.1.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling euclid v0.22.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling bevy-glsl-to-spirv v0.2.1 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling alsa-sys v0.3.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.9.0 [INFO] [stderr] Compiling ash v0.31.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling inplace_it v0.3.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling inotify-sys v0.1.4 [INFO] [stderr] Compiling filetime v0.2.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling inotify v0.8.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling gfx-hal v0.6.0 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling owned_ttf_parser v0.9.0 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling notify v5.0.0-pre.4 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling ab_glyph v0.2.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling guillotiere v0.6.0 [INFO] [stderr] Compiling spirv-reflect v0.2.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling wgpu-types v0.6.1 [INFO] [stderr] Compiling rectangle-pack v0.2.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling gfx-descriptor v0.2.0 [INFO] [stderr] Compiling gfx-backend-empty v0.6.0 [INFO] [stderr] Compiling gfx-memory v0.2.2 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling glyph_brush_layout v0.2.1 [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling lyon_geom v0.16.2 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling stretch v0.3.2 [INFO] [stderr] Compiling rand_distr v0.3.0 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling simba v0.3.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling lyon_path v0.16.2 [INFO] [stderr] Compiling slotmap v0.4.0 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling lyon_algorithms v0.16.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling lyon_tessellation v0.16.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling rand v0.8.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling makima_spline v1.1.3 [INFO] [stderr] Compiling lyon v0.16.2 [INFO] [stderr] Compiling float_eq v0.5.0 [INFO] [stderr] Compiling minimp3 v0.5.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling gltf-derive v0.15.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling naga v0.2.0 [INFO] [stderr] Compiling rodio v0.13.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling bevy_tasks v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling noise v0.6.0 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling nalgebra v0.23.2 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling erased-serde v0.3.12 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling ron v0.6.2 [INFO] [stderr] Compiling parking_lot_core v0.8.1 [INFO] [stderr] Compiling gfx-backend-vulkan v0.6.5 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling bevy_utils v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling gilrs-core v0.3.0 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling gilrs v0.8.0 [INFO] [stderr] Compiling find-crate v0.6.1 [INFO] [stderr] Compiling hexasphere v3.1.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_derive v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_reflect_derive v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling tracing-subscriber v0.2.15 [INFO] [stderr] Compiling gltf-json v0.15.2 [INFO] [stderr] Compiling wgpu-core v0.6.5 [INFO] [stderr] Compiling bevy_ecs v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling gltf v0.15.2 [INFO] [stderr] Compiling bevy_app v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_reflect v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_log v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_dynamic_plugin v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling wgpu v0.6.2 [INFO] [stderr] Compiling bevy_math v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_core v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_transform v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_window v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_input v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_diagnostic v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_winit v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_gilrs v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_asset v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling ncollide2d v0.26.1 [INFO] [stderr] Compiling bevy_render v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_scene v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_audio v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling rapier2d v0.4.2 [INFO] [stderr] Compiling bevy_sprite v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_pbr v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_wgpu v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_gltf v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_text v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_ui v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_internal v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy v0.4.0 (https://github.com/bevyengine/bevy.git?branch=master#cf0e9f99) [INFO] [stderr] Compiling bevy_rapier2d v0.7.0 [INFO] [stderr] Compiling bevy_easings v0.3.0 [INFO] [stderr] Compiling bevy_prototype_lyon v0.1.3 (https://github.com/Nilirad/bevy_prototype_lyon.git?branch=master#a18a3050) [INFO] [stderr] Compiling bevy-thing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `dim3` [INFO] [stdout] --> src/rapier_debug_render.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(feature = "dim3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dim3` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dim3` [INFO] [stdout] --> src/rapier_debug_render.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "dim3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dim3` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGICIAN1` is never used [INFO] [stdout] --> src/bitpack.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const MAGICIAN1: usize = 24; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TREE1` is never used [INFO] [stdout] --> src/bitpack.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const TREE1: usize = 51; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitpackMapPlugin` is never constructed [INFO] [stdout] --> src/bitpack_map.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BitpackMapPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sync_system` is never used [INFO] [stdout] --> src/bitpack_map.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn sync_system( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coord` is never used [INFO] [stdout] --> src/bitpack_map.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | type Coord = (u32, u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sync_despawn` is never used [INFO] [stdout] --> src/bitpack_map.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn sync_despawn( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sync_spawn` is never used [INFO] [stdout] --> src/bitpack_map.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn sync_spawn( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_map_tile` is never used [INFO] [stdout] --> src/bitpack_map.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn spawn_map_tile( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_index_color_from_tile` is never used [INFO] [stdout] --> src/bitpack_map.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn get_index_color_from_tile(c: char) -> (u32, Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapAsset` is never constructed [INFO] [stdout] --> src/map_asset.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MapAsset { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTile` is never constructed [INFO] [stdout] --> src/map_asset.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MapTile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `contains` are never used [INFO] [stdout] --> src/map_asset.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MapAsset { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 24 | pub fn get(&self, col: u32, row: u32) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn contains(&self, MapTile { tile, col, row }: MapTile) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapAssetLoader` is never constructed [INFO] [stdout] --> src/map_asset.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MapAssetLoader; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/levels/level4.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | struct PlayerSensingUi(Entity); [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/inventory_widget.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | for selection in selection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 66 - for selection in selection { [INFO] [stdout] 66 + while let Some(selection) = selection { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 66 - for selection in selection { [INFO] [stdout] 66 + if let Some(selection) = selection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/inventory_widget.rs:92:44 [INFO] [stdout] | [INFO] [stdout] 92 | for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 92 - for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stdout] 92 + while let Ok((mut sprite, mut trans)) = sprite_query.get_mut(*slot) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 92 - for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stdout] 92 + if let Ok((mut sprite, mut trans)) = sprite_query.get_mut(*slot) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/inventory_widget.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | for item in items.get(item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 113 - for item in items.get(item) { [INFO] [stdout] 113 + while let Some(item) = items.get(item) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 113 - for item in items.get(item) { [INFO] [stdout] 113 + if let Some(item) = items.get(item) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/player.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 98 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 98 + while let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 98 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 98 + if let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/player.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 115 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 115 + while let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 115 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 115 + if let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:374:38 [INFO] [stdout] | [INFO] [stdout] 374 | for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 374 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 374 + while let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 374 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 374 + if let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:377:38 [INFO] [stdout] | [INFO] [stdout] 377 | for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 377 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 377 + while let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 377 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 377 + if let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:383:38 [INFO] [stdout] | [INFO] [stdout] 383 | for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 383 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 383 + while let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 383 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 383 + if let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:386:38 [INFO] [stdout] | [INFO] [stdout] 386 | for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 386 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 386 + while let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 386 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 386 + if let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | for child in gizmo.gizmo_entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 242 - for child in gizmo.gizmo_entity { [INFO] [stdout] 242 + while let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 242 - for child in gizmo.gizmo_entity { [INFO] [stdout] 242 + if let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | for child in gizmo.gizmo_entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 261 - for child in gizmo.gizmo_entity { [INFO] [stdout] 261 + while let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 261 - for child in gizmo.gizmo_entity { [INFO] [stdout] 261 + if let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | for window in windows.get_primary() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 287 - for window in windows.get_primary() { [INFO] [stdout] 287 + while let Some(window) = windows.get_primary() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 287 - for window in windows.get_primary() { [INFO] [stdout] 287 + if let Some(window) = windows.get_primary() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:288:23 [INFO] [stdout] | [INFO] [stdout] 288 | for cursor in window.cursor_position() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 288 - for cursor in window.cursor_position() { [INFO] [stdout] 288 + while let Some(cursor) = window.cursor_position() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 288 - for cursor in window.cursor_position() { [INFO] [stdout] 288 + if let Some(cursor) = window.cursor_position() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/inventory.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | for pos in self.pos(item) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 16 - for pos in self.pos(item) { [INFO] [stdout] 16 + while let Some(pos) = self.pos(item) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 16 - for pos in self.pos(item) { [INFO] [stdout] 16 + if let Some(pos) = self.pos(item) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | for index in self.line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 36 - for index in self.line { [INFO] [stdout] 36 + while let Some(index) = self.line { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 36 - for index in self.line { [INFO] [stdout] 36 + if let Some(index) = self.line { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | for line in self.lines.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 37 - for line in self.lines.get(index) { [INFO] [stdout] 37 + while let Some(line) = self.lines.get(index) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 37 - for line in self.lines.get(index) { [INFO] [stdout] 37 + if let Some(line) = self.lines.get(index) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | for line in jabbering.get_line() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 60 - for line in jabbering.get_line() { [INFO] [stdout] 60 + while let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 60 - for line in jabbering.get_line() { [INFO] [stdout] 60 + if let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | for line in jabbering.get_line() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 104 - for line in jabbering.get_line() { [INFO] [stdout] 104 + while let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 104 - for line in jabbering.get_line() { [INFO] [stdout] 104 + if let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/steering.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | for body in bodies.get_mut(body_component.handle()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 315 - for body in bodies.get_mut(body_component.handle()) { [INFO] [stdout] 315 + while let Some(body) = bodies.get_mut(body_component.handle()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 315 - for body in bodies.get_mut(body_component.handle()) { [INFO] [stdout] 315 + if let Some(body) = bodies.get_mut(body_component.handle()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/texture_atlas_utils.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | for atlas in atlases.get_mut(handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 31 - for atlas in atlases.get_mut(handle) { [INFO] [stdout] 31 + while let Some(atlas) = atlases.get_mut(handle) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 31 - for atlas in atlases.get_mut(handle) { [INFO] [stdout] 31 + if let Some(atlas) = atlases.get_mut(handle) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/texture_atlas_utils.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | for tex in textures.get(atlas.texture.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 32 - for tex in textures.get(atlas.texture.clone()) { [INFO] [stdout] 32 + while let Some(tex) = textures.get(atlas.texture.clone()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 32 - for tex in textures.get(atlas.texture.clone()) { [INFO] [stdout] 32 + if let Some(tex) = textures.get(atlas.texture.clone()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fc4a6c3965ef038fc8c3cdcba634f1c8ba3b29ef2751658688f67e1e49aeb0d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc4a6c3965ef038fc8c3cdcba634f1c8ba3b29ef2751658688f67e1e49aeb0d4", kill_on_drop: false }` [INFO] [stdout] fc4a6c3965ef038fc8c3cdcba634f1c8ba3b29ef2751658688f67e1e49aeb0d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a45e019430fdc33ea5c3df10bfcd95652121e332433f4f88309b6f4c7f13c2cc [INFO] running `Command { std: "docker" "start" "-a" "a45e019430fdc33ea5c3df10bfcd95652121e332433f4f88309b6f4c7f13c2cc", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `dim3` [INFO] [stdout] --> src/rapier_debug_render.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(feature = "dim3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dim3` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dim3` [INFO] [stdout] --> src/rapier_debug_render.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "dim3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dim3` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGICIAN1` is never used [INFO] [stdout] --> src/bitpack.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const MAGICIAN1: usize = 24; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TREE1` is never used [INFO] [stdout] --> src/bitpack.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const TREE1: usize = 51; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitpackMapPlugin` is never constructed [INFO] [stdout] --> src/bitpack_map.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BitpackMapPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sync_system` is never used [INFO] [stdout] --> src/bitpack_map.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn sync_system( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Coord` is never used [INFO] [stdout] --> src/bitpack_map.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | type Coord = (u32, u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sync_despawn` is never used [INFO] [stdout] --> src/bitpack_map.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn sync_despawn( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sync_spawn` is never used [INFO] [stdout] --> src/bitpack_map.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn sync_spawn( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_map_tile` is never used [INFO] [stdout] --> src/bitpack_map.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn spawn_map_tile( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_index_color_from_tile` is never used [INFO] [stdout] --> src/bitpack_map.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn get_index_color_from_tile(c: char) -> (u32, Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapAsset` is never constructed [INFO] [stdout] --> src/map_asset.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MapAsset { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapTile` is never constructed [INFO] [stdout] --> src/map_asset.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MapTile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `contains` are never used [INFO] [stdout] --> src/map_asset.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MapAsset { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 24 | pub fn get(&self, col: u32, row: u32) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn contains(&self, MapTile { tile, col, row }: MapTile) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapAssetLoader` is never constructed [INFO] [stdout] --> src/map_asset.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MapAssetLoader; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/levels/level4.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | struct PlayerSensingUi(Entity); [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/inventory_widget.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | for selection in selection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 66 - for selection in selection { [INFO] [stdout] 66 + while let Some(selection) = selection { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 66 - for selection in selection { [INFO] [stdout] 66 + if let Some(selection) = selection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/inventory_widget.rs:92:44 [INFO] [stdout] | [INFO] [stdout] 92 | for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 92 - for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stdout] 92 + while let Ok((mut sprite, mut trans)) = sprite_query.get_mut(*slot) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 92 - for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stdout] 92 + if let Ok((mut sprite, mut trans)) = sprite_query.get_mut(*slot) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/inventory_widget.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | for item in items.get(item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 113 - for item in items.get(item) { [INFO] [stdout] 113 + while let Some(item) = items.get(item) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 113 - for item in items.get(item) { [INFO] [stdout] 113 + if let Some(item) = items.get(item) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/player.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 98 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 98 + while let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 98 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 98 + if let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/player.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 115 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 115 + while let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 115 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 115 + if let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:374:38 [INFO] [stdout] | [INFO] [stdout] 374 | for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 374 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 374 + while let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 374 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 374 + if let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:377:38 [INFO] [stdout] | [INFO] [stdout] 377 | for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 377 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 377 + while let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 377 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 377 + if let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:383:38 [INFO] [stdout] | [INFO] [stdout] 383 | for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 383 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 383 + while let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 383 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 383 + if let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:386:38 [INFO] [stdout] | [INFO] [stdout] 386 | for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 386 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 386 + while let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 386 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 386 + if let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | for child in gizmo.gizmo_entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 242 - for child in gizmo.gizmo_entity { [INFO] [stdout] 242 + while let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 242 - for child in gizmo.gizmo_entity { [INFO] [stdout] 242 + if let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | for child in gizmo.gizmo_entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 261 - for child in gizmo.gizmo_entity { [INFO] [stdout] 261 + while let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 261 - for child in gizmo.gizmo_entity { [INFO] [stdout] 261 + if let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | for window in windows.get_primary() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 287 - for window in windows.get_primary() { [INFO] [stdout] 287 + while let Some(window) = windows.get_primary() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 287 - for window in windows.get_primary() { [INFO] [stdout] 287 + if let Some(window) = windows.get_primary() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:288:23 [INFO] [stdout] | [INFO] [stdout] 288 | for cursor in window.cursor_position() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 288 - for cursor in window.cursor_position() { [INFO] [stdout] 288 + while let Some(cursor) = window.cursor_position() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 288 - for cursor in window.cursor_position() { [INFO] [stdout] 288 + if let Some(cursor) = window.cursor_position() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/inventory.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | for pos in self.pos(item) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 16 - for pos in self.pos(item) { [INFO] [stdout] 16 + while let Some(pos) = self.pos(item) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 16 - for pos in self.pos(item) { [INFO] [stdout] 16 + if let Some(pos) = self.pos(item) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | for index in self.line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 36 - for index in self.line { [INFO] [stdout] 36 + while let Some(index) = self.line { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 36 - for index in self.line { [INFO] [stdout] 36 + if let Some(index) = self.line { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | for line in self.lines.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 37 - for line in self.lines.get(index) { [INFO] [stdout] 37 + while let Some(line) = self.lines.get(index) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 37 - for line in self.lines.get(index) { [INFO] [stdout] 37 + if let Some(line) = self.lines.get(index) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | for line in jabbering.get_line() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 60 - for line in jabbering.get_line() { [INFO] [stdout] 60 + while let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 60 - for line in jabbering.get_line() { [INFO] [stdout] 60 + if let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | for line in jabbering.get_line() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 104 - for line in jabbering.get_line() { [INFO] [stdout] 104 + while let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 104 - for line in jabbering.get_line() { [INFO] [stdout] 104 + if let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/steering.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | for body in bodies.get_mut(body_component.handle()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 315 - for body in bodies.get_mut(body_component.handle()) { [INFO] [stdout] 315 + while let Some(body) = bodies.get_mut(body_component.handle()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 315 - for body in bodies.get_mut(body_component.handle()) { [INFO] [stdout] 315 + if let Some(body) = bodies.get_mut(body_component.handle()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/texture_atlas_utils.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | for atlas in atlases.get_mut(handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 31 - for atlas in atlases.get_mut(handle) { [INFO] [stdout] 31 + while let Some(atlas) = atlases.get_mut(handle) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 31 - for atlas in atlases.get_mut(handle) { [INFO] [stdout] 31 + if let Some(atlas) = atlases.get_mut(handle) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/texture_atlas_utils.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | for tex in textures.get(atlas.texture.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 32 - for tex in textures.get(atlas.texture.clone()) { [INFO] [stdout] 32 + while let Some(tex) = textures.get(atlas.texture.clone()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 32 - for tex in textures.get(atlas.texture.clone()) { [INFO] [stdout] 32 + if let Some(tex) = textures.get(atlas.texture.clone()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bevy-thing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/all.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dim3` [INFO] [stdout] --> src/rapier_debug_render.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(feature = "dim3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dim3` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dim3` [INFO] [stdout] --> src/rapier_debug_render.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "dim3")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `dim3` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | for name in self.current { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 222 - for name in self.current { [INFO] [stdout] 222 + while let Some(name) = self.current { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 222 - for name in self.current { [INFO] [stdout] 222 + if let Some(name) = self.current { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | for anim in self.map.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 223 - for anim in self.map.get(name) { [INFO] [stdout] 223 + while let Some(anim) = self.map.get(name) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 223 - for anim in self.map.get(name) { [INFO] [stdout] 223 + if let Some(anim) = self.map.get(name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:253:40 [INFO] [stdout] | [INFO] [stdout] 253 | for (mut trans, mut sprite) in sprite_query.get_mut(anim.target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 253 - for (mut trans, mut sprite) in sprite_query.get_mut(anim.target) { [INFO] [stdout] 253 + while let Ok((mut trans, mut sprite)) = sprite_query.get_mut(anim.target) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 253 - for (mut trans, mut sprite) in sprite_query.get_mut(anim.target) { [INFO] [stdout] 253 + if let Ok((mut trans, mut sprite)) = sprite_query.get_mut(anim.target) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:354:29 [INFO] [stdout] | [INFO] [stdout] 354 | for body in bodies.get_mut(body.handle()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 354 - for body in bodies.get_mut(body.handle()) { [INFO] [stdout] 354 + while let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 354 - for body in bodies.get_mut(body.handle()) { [INFO] [stdout] 354 + if let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:359:29 [INFO] [stdout] | [INFO] [stdout] 359 | for body in bodies.get_mut(body.handle()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 359 - for body in bodies.get_mut(body.handle()) { [INFO] [stdout] 359 + while let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 359 - for body in bodies.get_mut(body.handle()) { [INFO] [stdout] 359 + if let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:370:37 [INFO] [stdout] | [INFO] [stdout] 370 | for item in oven_state.interact(&items) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 370 - for item in oven_state.interact(&items) { [INFO] [stdout] 370 + while let Some(item) = oven_state.interact(&items) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 370 - for item in oven_state.interact(&items) { [INFO] [stdout] 370 + if let Some(item) = oven_state.interact(&items) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:404:35 [INFO] [stdout] | [INFO] [stdout] 404 | for from_trans in transform_query.get(*from) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 404 - for from_trans in transform_query.get(*from) { [INFO] [stdout] 404 + while let Ok(from_trans) = transform_query.get(*from) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 404 - for from_trans in transform_query.get(*from) { [INFO] [stdout] 404 + if let Ok(from_trans) = transform_query.get(*from) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:415:33 [INFO] [stdout] | [INFO] [stdout] 415 | for item in items.get(item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 415 - for item in items.get(item) { [INFO] [stdout] 415 + while let Some(item) = items.get(item) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 415 - for item in items.get(item) { [INFO] [stdout] 415 + if let Some(item) = items.get(item) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:454:38 [INFO] [stdout] | [INFO] [stdout] 454 | for (name, mut inventory) in inventory_query.get_mut(transfer.1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 454 - for (name, mut inventory) in inventory_query.get_mut(transfer.1) { [INFO] [stdout] 454 + while let Ok((name, mut inventory)) = inventory_query.get_mut(transfer.1) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 454 - for (name, mut inventory) in inventory_query.get_mut(transfer.1) { [INFO] [stdout] 454 + if let Ok((name, mut inventory)) = inventory_query.get_mut(transfer.1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:471:50 [INFO] [stdout] | [INFO] [stdout] 471 | for (name, mut inventory) in inventory_query.get_mut(transfer.2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 471 - for (name, mut inventory) in inventory_query.get_mut(transfer.2) { [INFO] [stdout] 471 + while let Ok((name, mut inventory)) = inventory_query.get_mut(transfer.2) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 471 - for (name, mut inventory) in inventory_query.get_mut(transfer.2) { [INFO] [stdout] 471 + if let Ok((name, mut inventory)) = inventory_query.get_mut(transfer.2) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:497:21 [INFO] [stdout] | [INFO] [stdout] 497 | for body in bodies.get_mut(body.handle()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 497 - for body in bodies.get_mut(body.handle()) { [INFO] [stdout] 497 + while let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 497 - for body in bodies.get_mut(body.handle()) { [INFO] [stdout] 497 + if let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/level6.rs:503:26 [INFO] [stdout] | [INFO] [stdout] 503 | for x in linvel.get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 503 - for x in linvel.get(0) { [INFO] [stdout] 503 + while let Some(x) = linvel.get(0) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 503 - for x in linvel.get(0) { [INFO] [stdout] 503 + if let Some(x) = linvel.get(0) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapAssetLoader` is never constructed [INFO] [stdout] --> src/map_asset.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MapAssetLoader; [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 `0` is never read [INFO] [stdout] --> src/levels/level4.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | struct PlayerSensingUi(Entity); [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/inventory_widget.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | for selection in selection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 66 - for selection in selection { [INFO] [stdout] 66 + while let Some(selection) = selection { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 66 - for selection in selection { [INFO] [stdout] 66 + if let Some(selection) = selection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/inventory_widget.rs:92:44 [INFO] [stdout] | [INFO] [stdout] 92 | for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 92 - for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stdout] 92 + while let Ok((mut sprite, mut trans)) = sprite_query.get_mut(*slot) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 92 - for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stdout] 92 + if let Ok((mut sprite, mut trans)) = sprite_query.get_mut(*slot) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/inventory_widget.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | for item in items.get(item) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 113 - for item in items.get(item) { [INFO] [stdout] 113 + while let Some(item) = items.get(item) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 113 - for item in items.get(item) { [INFO] [stdout] 113 + if let Some(item) = items.get(item) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/player.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 98 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 98 + while let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 98 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 98 + if let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/entities/player.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 115 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 115 + while let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 115 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] 115 + if let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:374:38 [INFO] [stdout] | [INFO] [stdout] 374 | for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 374 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 374 + while let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 374 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 374 + if let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:377:38 [INFO] [stdout] | [INFO] [stdout] 377 | for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 377 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 377 + while let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 377 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 377 + if let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:383:38 [INFO] [stdout] | [INFO] [stdout] 383 | for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 383 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 383 + while let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 383 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 383 + if let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/levels/level4.rs:386:38 [INFO] [stdout] | [INFO] [stdout] 386 | for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 386 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 386 + while let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 386 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] 386 + if let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | for child in gizmo.gizmo_entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 242 - for child in gizmo.gizmo_entity { [INFO] [stdout] 242 + while let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 242 - for child in gizmo.gizmo_entity { [INFO] [stdout] 242 + if let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | for child in gizmo.gizmo_entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 261 - for child in gizmo.gizmo_entity { [INFO] [stdout] 261 + while let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 261 - for child in gizmo.gizmo_entity { [INFO] [stdout] 261 + if let Some(child) = gizmo.gizmo_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | for window in windows.get_primary() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 287 - for window in windows.get_primary() { [INFO] [stdout] 287 + while let Some(window) = windows.get_primary() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 287 - for window in windows.get_primary() { [INFO] [stdout] 287 + if let Some(window) = windows.get_primary() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/context_map.rs:288:23 [INFO] [stdout] | [INFO] [stdout] 288 | for cursor in window.cursor_position() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 288 - for cursor in window.cursor_position() { [INFO] [stdout] 288 + while let Some(cursor) = window.cursor_position() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 288 - for cursor in window.cursor_position() { [INFO] [stdout] 288 + if let Some(cursor) = window.cursor_position() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/inventory.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | for pos in self.pos(item) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 16 - for pos in self.pos(item) { [INFO] [stdout] 16 + while let Some(pos) = self.pos(item) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 16 - for pos in self.pos(item) { [INFO] [stdout] 16 + if let Some(pos) = self.pos(item) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | for index in self.line { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 36 - for index in self.line { [INFO] [stdout] 36 + while let Some(index) = self.line { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 36 - for index in self.line { [INFO] [stdout] 36 + if let Some(index) = self.line { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | for line in self.lines.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 37 - for line in self.lines.get(index) { [INFO] [stdout] 37 + while let Some(line) = self.lines.get(index) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 37 - for line in self.lines.get(index) { [INFO] [stdout] 37 + if let Some(line) = self.lines.get(index) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | for line in jabbering.get_line() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 60 - for line in jabbering.get_line() { [INFO] [stdout] 60 + while let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 60 - for line in jabbering.get_line() { [INFO] [stdout] 60 + if let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/jabber.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | for line in jabbering.get_line() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 104 - for line in jabbering.get_line() { [INFO] [stdout] 104 + while let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 104 - for line in jabbering.get_line() { [INFO] [stdout] 104 + if let Some(line) = jabbering.get_line() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/steering.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | for body in bodies.get_mut(body_component.handle()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 315 - for body in bodies.get_mut(body_component.handle()) { [INFO] [stdout] 315 + while let Some(body) = bodies.get_mut(body_component.handle()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 315 - for body in bodies.get_mut(body_component.handle()) { [INFO] [stdout] 315 + if let Some(body) = bodies.get_mut(body_component.handle()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/texture_atlas_utils.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | for atlas in atlases.get_mut(handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 31 - for atlas in atlases.get_mut(handle) { [INFO] [stdout] 31 + while let Some(atlas) = atlases.get_mut(handle) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 31 - for atlas in atlases.get_mut(handle) { [INFO] [stdout] 31 + if let Some(atlas) = atlases.get_mut(handle) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/systems/texture_atlas_utils.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | for tex in textures.get(atlas.texture.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 32 - for tex in textures.get(atlas.texture.clone()) { [INFO] [stdout] 32 + while let Some(tex) = textures.get(atlas.texture.clone()) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 32 - for tex in textures.get(atlas.texture.clone()) { [INFO] [stdout] 32 + if let Some(tex) = textures.get(atlas.texture.clone()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a45e019430fdc33ea5c3df10bfcd95652121e332433f4f88309b6f4c7f13c2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45e019430fdc33ea5c3df10bfcd95652121e332433f4f88309b6f4c7f13c2cc", kill_on_drop: false }` [INFO] [stdout] a45e019430fdc33ea5c3df10bfcd95652121e332433f4f88309b6f4c7f13c2cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 92e0cc4fca8cbd109c5521765e4d3d3f54f2e22b6850424d3baf497f031cae87 [INFO] running `Command { std: "docker" "start" "-a" "92e0cc4fca8cbd109c5521765e4d3d3f54f2e22b6850424d3baf497f031cae87", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `dim3` [INFO] [stderr] --> src/rapier_debug_render.rs:55:27 [INFO] [stderr] | [INFO] [stderr] 55 | #[cfg(feature = "dim3")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `dim3` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `dim3` [INFO] [stderr] --> src/rapier_debug_render.rs:98:27 [INFO] [stderr] | [INFO] [stderr] 98 | #[cfg(feature = "dim3")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `dim3` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(bool_to_option)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `MAGICIAN1` is never used [INFO] [stderr] --> src/bitpack.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const MAGICIAN1: usize = 24; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `TREE1` is never used [INFO] [stderr] --> src/bitpack.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const TREE1: usize = 51; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BitpackMapPlugin` is never constructed [INFO] [stderr] --> src/bitpack_map.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct BitpackMapPlugin; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sync_system` is never used [INFO] [stderr] --> src/bitpack_map.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | fn sync_system( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Coord` is never used [INFO] [stderr] --> src/bitpack_map.rs:69:6 [INFO] [stderr] | [INFO] [stderr] 69 | type Coord = (u32, u32); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sync_despawn` is never used [INFO] [stderr] --> src/bitpack_map.rs:71:4 [INFO] [stderr] | [INFO] [stderr] 71 | fn sync_despawn( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sync_spawn` is never used [INFO] [stderr] --> src/bitpack_map.rs:89:4 [INFO] [stderr] | [INFO] [stderr] 89 | fn sync_spawn( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `spawn_map_tile` is never used [INFO] [stderr] --> src/bitpack_map.rs:113:4 [INFO] [stderr] | [INFO] [stderr] 113 | fn spawn_map_tile( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_index_color_from_tile` is never used [INFO] [stderr] --> src/bitpack_map.rs:134:4 [INFO] [stderr] | [INFO] [stderr] 134 | fn get_index_color_from_tile(c: char) -> (u32, Color) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MapAsset` is never constructed [INFO] [stderr] --> src/map_asset.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct MapAsset { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MapTile` is never constructed [INFO] [stderr] --> src/map_asset.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct MapTile { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get` and `contains` are never used [INFO] [stderr] --> src/map_asset.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl MapAsset { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] 24 | pub fn get(&self, col: u32, row: u32) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn contains(&self, MapTile { tile, col, row }: MapTile) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MapAssetLoader` is never constructed [INFO] [stderr] --> src/map_asset.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct MapAssetLoader; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/levels/level4.rs:118:24 [INFO] [stderr] | [INFO] [stderr] 118 | struct PlayerSensingUi(Entity); [INFO] [stderr] | --------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/entities/inventory_widget.rs:66:22 [INFO] [stderr] | [INFO] [stderr] 66 | for selection in selection { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 66 - for selection in selection { [INFO] [stderr] 66 + while let Some(selection) = selection { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 66 - for selection in selection { [INFO] [stderr] 66 + if let Some(selection) = selection { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/entities/inventory_widget.rs:92:44 [INFO] [stderr] | [INFO] [stderr] 92 | for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 92 - for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stderr] 92 + while let Ok((mut sprite, mut trans)) = sprite_query.get_mut(*slot) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 92 - for (mut sprite, mut trans) in sprite_query.get_mut(*slot) { [INFO] [stderr] 92 + if let Ok((mut sprite, mut trans)) = sprite_query.get_mut(*slot) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/entities/inventory_widget.rs:113:25 [INFO] [stderr] | [INFO] [stderr] 113 | for item in items.get(item) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 113 - for item in items.get(item) { [INFO] [stderr] 113 + while let Some(item) = items.get(item) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 113 - for item in items.get(item) { [INFO] [stderr] 113 + if let Some(item) = items.get(item) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/entities/player.rs:98:22 [INFO] [stderr] | [INFO] [stderr] 98 | for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 98 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stderr] 98 + while let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 98 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stderr] 98 + if let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/entities/player.rs:115:22 [INFO] [stderr] | [INFO] [stderr] 115 | for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 115 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stderr] 115 + while let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 115 - for proximity in player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stderr] 115 + if let Some(proximity) = player.forward_sensor.and_then(|it| proximity.get(it).ok()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/levels/level4.rs:374:38 [INFO] [stderr] | [INFO] [stderr] 374 | for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 374 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] 374 + while let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 374 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] 374 + if let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/levels/level4.rs:377:38 [INFO] [stderr] | [INFO] [stderr] 377 | for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 377 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] 377 + while let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 377 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] 377 + if let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/levels/level4.rs:383:38 [INFO] [stderr] | [INFO] [stderr] 383 | for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 383 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] 383 + while let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 383 - for mut proximity in e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] 383 + if let Some(mut proximity) = e1.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/levels/level4.rs:386:38 [INFO] [stderr] | [INFO] [stderr] 386 | for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 386 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] 386 + while let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 386 - for mut proximity in e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] 386 + if let Some(mut proximity) = e2.and_then(|e| proximity_q.get_mut(e).ok()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/context_map.rs:242:22 [INFO] [stderr] | [INFO] [stderr] 242 | for child in gizmo.gizmo_entity { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 242 - for child in gizmo.gizmo_entity { [INFO] [stderr] 242 + while let Some(child) = gizmo.gizmo_entity { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 242 - for child in gizmo.gizmo_entity { [INFO] [stderr] 242 + if let Some(child) = gizmo.gizmo_entity { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/context_map.rs:261:22 [INFO] [stderr] | [INFO] [stderr] 261 | for child in gizmo.gizmo_entity { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 261 - for child in gizmo.gizmo_entity { [INFO] [stderr] 261 + while let Some(child) = gizmo.gizmo_entity { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 261 - for child in gizmo.gizmo_entity { [INFO] [stderr] 261 + if let Some(child) = gizmo.gizmo_entity { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/context_map.rs:287:19 [INFO] [stderr] | [INFO] [stderr] 287 | for window in windows.get_primary() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 287 - for window in windows.get_primary() { [INFO] [stderr] 287 + while let Some(window) = windows.get_primary() { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 287 - for window in windows.get_primary() { [INFO] [stderr] 287 + if let Some(window) = windows.get_primary() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/context_map.rs:288:23 [INFO] [stderr] | [INFO] [stderr] 288 | for cursor in window.cursor_position() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 288 - for cursor in window.cursor_position() { [INFO] [stderr] 288 + while let Some(cursor) = window.cursor_position() { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 288 - for cursor in window.cursor_position() { [INFO] [stderr] 288 + if let Some(cursor) = window.cursor_position() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/inventory.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | for pos in self.pos(item) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 16 - for pos in self.pos(item) { [INFO] [stderr] 16 + while let Some(pos) = self.pos(item) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 16 - for pos in self.pos(item) { [INFO] [stderr] 16 + if let Some(pos) = self.pos(item) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/jabber.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | for index in self.line { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 36 - for index in self.line { [INFO] [stderr] 36 + while let Some(index) = self.line { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 36 - for index in self.line { [INFO] [stderr] 36 + if let Some(index) = self.line { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/jabber.rs:37:25 [INFO] [stderr] | [INFO] [stderr] 37 | for line in self.lines.get(index) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 37 - for line in self.lines.get(index) { [INFO] [stderr] 37 + while let Some(line) = self.lines.get(index) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 37 - for line in self.lines.get(index) { [INFO] [stderr] 37 + if let Some(line) = self.lines.get(index) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/jabber.rs:60:21 [INFO] [stderr] | [INFO] [stderr] 60 | for line in jabbering.get_line() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 60 - for line in jabbering.get_line() { [INFO] [stderr] 60 + while let Some(line) = jabbering.get_line() { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 60 - for line in jabbering.get_line() { [INFO] [stderr] 60 + if let Some(line) = jabbering.get_line() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/jabber.rs:104:21 [INFO] [stderr] | [INFO] [stderr] 104 | for line in jabbering.get_line() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 104 - for line in jabbering.get_line() { [INFO] [stderr] 104 + while let Some(line) = jabbering.get_line() { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 104 - for line in jabbering.get_line() { [INFO] [stderr] 104 + if let Some(line) = jabbering.get_line() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/steering.rs:315:21 [INFO] [stderr] | [INFO] [stderr] 315 | for body in bodies.get_mut(body_component.handle()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 315 - for body in bodies.get_mut(body_component.handle()) { [INFO] [stderr] 315 + while let Some(body) = bodies.get_mut(body_component.handle()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 315 - for body in bodies.get_mut(body_component.handle()) { [INFO] [stderr] 315 + if let Some(body) = bodies.get_mut(body_component.handle()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/texture_atlas_utils.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | for atlas in atlases.get_mut(handle) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 31 - for atlas in atlases.get_mut(handle) { [INFO] [stderr] 31 + while let Some(atlas) = atlases.get_mut(handle) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 31 - for atlas in atlases.get_mut(handle) { [INFO] [stderr] 31 + if let Some(atlas) = atlases.get_mut(handle) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/systems/texture_atlas_utils.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | for tex in textures.get(atlas.texture.clone()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 32 - for tex in textures.get(atlas.texture.clone()) { [INFO] [stderr] 32 + while let Some(tex) = textures.get(atlas.texture.clone()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 32 - for tex in textures.get(atlas.texture.clone()) { [INFO] [stderr] 32 + if let Some(tex) = textures.get(atlas.texture.clone()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `MapAssetLoader` is never constructed [INFO] [stderr] --> src/map_asset.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct MapAssetLoader; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `bevy-thing` (lib) generated 38 warnings [INFO] [stderr] warning: `bevy-thing` (lib test) generated 26 warnings (25 duplicates) [INFO] [stderr] warning: the feature `bool_to_option` has been stable since 1.62.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/all.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(bool_to_option)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:222:21 [INFO] [stderr] | [INFO] [stderr] 222 | for name in self.current { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 222 - for name in self.current { [INFO] [stderr] 222 + while let Some(name) = self.current { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 222 - for name in self.current { [INFO] [stderr] 222 + if let Some(name) = self.current { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:223:25 [INFO] [stderr] | [INFO] [stderr] 223 | for anim in self.map.get(name) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 223 - for anim in self.map.get(name) { [INFO] [stderr] 223 + while let Some(anim) = self.map.get(name) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 223 - for anim in self.map.get(name) { [INFO] [stderr] 223 + if let Some(anim) = self.map.get(name) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:253:40 [INFO] [stderr] | [INFO] [stderr] 253 | for (mut trans, mut sprite) in sprite_query.get_mut(anim.target) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 253 - for (mut trans, mut sprite) in sprite_query.get_mut(anim.target) { [INFO] [stderr] 253 + while let Ok((mut trans, mut sprite)) = sprite_query.get_mut(anim.target) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 253 - for (mut trans, mut sprite) in sprite_query.get_mut(anim.target) { [INFO] [stderr] 253 + if let Ok((mut trans, mut sprite)) = sprite_query.get_mut(anim.target) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:354:29 [INFO] [stderr] | [INFO] [stderr] 354 | for body in bodies.get_mut(body.handle()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 354 - for body in bodies.get_mut(body.handle()) { [INFO] [stderr] 354 + while let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 354 - for body in bodies.get_mut(body.handle()) { [INFO] [stderr] 354 + if let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:359:29 [INFO] [stderr] | [INFO] [stderr] 359 | for body in bodies.get_mut(body.handle()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 359 - for body in bodies.get_mut(body.handle()) { [INFO] [stderr] 359 + while let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 359 - for body in bodies.get_mut(body.handle()) { [INFO] [stderr] 359 + if let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:370:37 [INFO] [stderr] | [INFO] [stderr] 370 | for item in oven_state.interact(&items) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 370 - for item in oven_state.interact(&items) { [INFO] [stderr] 370 + while let Some(item) = oven_state.interact(&items) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 370 - for item in oven_state.interact(&items) { [INFO] [stderr] 370 + if let Some(item) = oven_state.interact(&items) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:404:35 [INFO] [stderr] | [INFO] [stderr] 404 | for from_trans in transform_query.get(*from) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 404 - for from_trans in transform_query.get(*from) { [INFO] [stderr] 404 + while let Ok(from_trans) = transform_query.get(*from) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 404 - for from_trans in transform_query.get(*from) { [INFO] [stderr] 404 + if let Ok(from_trans) = transform_query.get(*from) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:415:33 [INFO] [stderr] | [INFO] [stderr] 415 | for item in items.get(item) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 415 - for item in items.get(item) { [INFO] [stderr] 415 + while let Some(item) = items.get(item) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 415 - for item in items.get(item) { [INFO] [stderr] 415 + if let Some(item) = items.get(item) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:454:38 [INFO] [stderr] | [INFO] [stderr] 454 | for (name, mut inventory) in inventory_query.get_mut(transfer.1) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 454 - for (name, mut inventory) in inventory_query.get_mut(transfer.1) { [INFO] [stderr] 454 + while let Ok((name, mut inventory)) = inventory_query.get_mut(transfer.1) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 454 - for (name, mut inventory) in inventory_query.get_mut(transfer.1) { [INFO] [stderr] 454 + if let Ok((name, mut inventory)) = inventory_query.get_mut(transfer.1) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:471:50 [INFO] [stderr] | [INFO] [stderr] 471 | for (name, mut inventory) in inventory_query.get_mut(transfer.2) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 471 - for (name, mut inventory) in inventory_query.get_mut(transfer.2) { [INFO] [stderr] 471 + while let Ok((name, mut inventory)) = inventory_query.get_mut(transfer.2) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 471 - for (name, mut inventory) in inventory_query.get_mut(transfer.2) { [INFO] [stderr] 471 + if let Ok((name, mut inventory)) = inventory_query.get_mut(transfer.2) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:497:21 [INFO] [stderr] | [INFO] [stderr] 497 | for body in bodies.get_mut(body.handle()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 497 - for body in bodies.get_mut(body.handle()) { [INFO] [stderr] 497 + while let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 497 - for body in bodies.get_mut(body.handle()) { [INFO] [stderr] 497 + if let Some(body) = bodies.get_mut(body.handle()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/level6.rs:503:26 [INFO] [stderr] | [INFO] [stderr] 503 | for x in linvel.get(0) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 503 - for x in linvel.get(0) { [INFO] [stderr] 503 + while let Some(x) = linvel.get(0) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 503 - for x in linvel.get(0) { [INFO] [stderr] 503 + if let Some(x) = linvel.get(0) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bevy-thing` (example "all") generated 1 warning [INFO] [stderr] warning: `bevy-thing` (example "level6") generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bevy_thing-bfc007465809a274) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests bevy_thing [INFO] [stdout] test bitpack_map::public_interface ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "92e0cc4fca8cbd109c5521765e4d3d3f54f2e22b6850424d3baf497f031cae87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e0cc4fca8cbd109c5521765e4d3d3f54f2e22b6850424d3baf497f031cae87", kill_on_drop: false }` [INFO] [stdout] 92e0cc4fca8cbd109c5521765e4d3d3f54f2e22b6850424d3baf497f031cae87