[INFO] fetching crate scoundrel 0.9.1... [INFO] checking scoundrel-0.9.1 against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] extracting crate scoundrel 0.9.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate scoundrel 0.9.1 on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate scoundrel 0.9.1 [INFO] finished tweaking crates.io crate scoundrel 0.9.1 [INFO] tweaked toml for crates.io crate scoundrel 0.9.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 195 packages to latest compatible versions [INFO] [stderr] Adding fastrand v1.9.0 (available: v2.3.0) [INFO] [stderr] Adding gilrs v0.8.2 (available: v0.11.0) [INFO] [stderr] Adding glfw v0.44.0 (available: v0.59.0) [INFO] [stderr] Adding image v0.23.14 (available: v0.25.5) [INFO] [stderr] Adding multimap v0.8.3 (available: v0.10.0) [INFO] [stderr] Adding nalgebra-glm v0.16.0 (available: v0.19.0) [INFO] [stderr] Adding notify v4.0.18 (available: v8.0.0) [INFO] [stderr] Adding petgraph v0.6.5 (available: v0.7.1) [INFO] [stderr] Adding priority-queue v1.4.0 (available: v2.1.1) [INFO] [stderr] Adding ron v0.7.1 (available: v0.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sparseset v1.0.1 [INFO] [stderr] Downloaded gl_loader v0.1.2 [INFO] [stderr] Downloaded scoundrel-macro v0.4.0 [INFO] [stderr] Downloaded priority-queue v1.4.0 [INFO] [stderr] Downloaded bresenham v0.1.1 [INFO] [stderr] Downloaded rusty-xinput v1.3.0 [INFO] [stderr] Downloaded caves v0.2.1 [INFO] [stderr] Downloaded delaunator v1.0.2 [INFO] [stderr] Downloaded nalgebra-glm v0.16.0 [INFO] [stderr] Downloaded memmap v0.5.2 [INFO] [stderr] Downloaded glfw v0.44.0 [INFO] [stderr] Downloaded filearco v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12c353caefd6f4a2c1598efe27e601f69000771fa0ab127b350b3a307a21269b [INFO] running `Command { std: "docker" "start" "-a" "12c353caefd6f4a2c1598efe27e601f69000771fa0ab127b350b3a307a21269b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12c353caefd6f4a2c1598efe27e601f69000771fa0ab127b350b3a307a21269b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c353caefd6f4a2c1598efe27e601f69000771fa0ab127b350b3a307a21269b", kill_on_drop: false }` [INFO] [stdout] 12c353caefd6f4a2c1598efe27e601f69000771fa0ab127b350b3a307a21269b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a6404e71f654a72af4c9803bfc2ffd971ef9a41768450217f5b8e80652b1bed [INFO] running `Command { std: "docker" "start" "-a" "3a6404e71f654a72af4c9803bfc2ffd971ef9a41768450217f5b8e80652b1bed", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling gl_loader v0.1.2 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking gilrs-core v0.3.2 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking atomicwrites v0.3.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking memmap v0.5.2 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking robust v0.2.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking gilrs v0.8.2 [INFO] [stderr] Checking notify v4.0.18 [INFO] [stderr] Checking delaunator v1.0.2 [INFO] [stderr] Checking caves v0.2.1 [INFO] [stderr] Compiling scoundrel-macro v0.4.0 [INFO] [stderr] Checking glfw v0.44.0 [INFO] [stderr] Checking bitmaps v3.2.1 [INFO] [stderr] Checking sparseset v1.0.1 [INFO] [stderr] Checking bresenham v0.1.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking bincode v0.8.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking filearco v0.1.0 [INFO] [stderr] Checking nalgebra-glm v0.16.0 [INFO] [stderr] Checking scoundrel v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `destroy::*` [INFO] [stdout] --> src/core/world/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use destroy::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::*` [INFO] [stdout] --> src/map/graph_internals/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use petgraph::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `destroy::*` [INFO] [stdout] --> src/core/world/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use destroy::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::*` [INFO] [stdout] --> src/map/graph_internals/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use petgraph::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/engine.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | let mut live_sync = &mut engine_state.live_sync_state; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/engine.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | let mut live_sync = &mut engine_state.live_sync_state; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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] --> src/core/world/unique.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | for e in world.components.get(&tid).unwrap().first() { [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] 32 | while let Some(e) = world.components.get(&tid).unwrap().first() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 32 | if let Some(e) = world.components.get(&tid).unwrap().first() { [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/core/world/unique.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | for index in indexed_entities.first_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 63 | while let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(index) = indexed_entities.first_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/core/world/unique.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | for index in indexed_entities.first_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 98 | while let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(index) = indexed_entities.first_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/core/world/unique.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | for index in indexed_entities.first_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 138 | while let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(index) = indexed_entities.first_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/core/world/unique.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | for index in indexed_entities.first_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 181 | while let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(index) = indexed_entities.first_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/core/world/unique.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | for index in indexed_entities.first_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 228 | while let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 228 | if let Some(index) = indexed_entities.first_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/core/world/unique.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | for e in world.components.get(&tid).unwrap().first() { [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] 32 | while let Some(e) = world.components.get(&tid).unwrap().first() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 32 | if let Some(e) = world.components.get(&tid).unwrap().first() { [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/core/world/unique.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | for index in indexed_entities.first_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 63 | while let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(index) = indexed_entities.first_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/core/world/unique.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | for index in indexed_entities.first_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 98 | while let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(index) = indexed_entities.first_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/core/world/unique.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | for index in indexed_entities.first_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 138 | while let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(index) = indexed_entities.first_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/core/world/unique.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | for index in indexed_entities.first_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 181 | while let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(index) = indexed_entities.first_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/core/world/unique.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | for index in indexed_entities.first_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 228 | while let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 228 | if let Some(index) = indexed_entities.first_index() { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "3a6404e71f654a72af4c9803bfc2ffd971ef9a41768450217f5b8e80652b1bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6404e71f654a72af4c9803bfc2ffd971ef9a41768450217f5b8e80652b1bed", kill_on_drop: false }` [INFO] [stdout] 3a6404e71f654a72af4c9803bfc2ffd971ef9a41768450217f5b8e80652b1bed