[INFO] cloning repository https://github.com/martinxyz/progenitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martinxyz/progenitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinxyz%2Fprogenitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinxyz%2Fprogenitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccf7dd9c897da86f809a6264ef16106db9108316 [INFO] checking martinxyz/progenitor against master#ac385a5af6d9fa8399a0cec799833cd28324abf8 for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinxyz%2Fprogenitor" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinxyz/progenitor on toolchain ac385a5af6d9fa8399a0cec799833cd28324abf8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/martinxyz/progenitor [INFO] finished tweaking git repo https://github.com/martinxyz/progenitor [INFO] tweaked toml for git repo https://github.com/martinxyz/progenitor written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/martinxyz/progenitor 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" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex2d v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c521395f1f88826e9ed72fcfc22d6df8291f22e6453898285da67029f4f9922 [INFO] running `Command { std: "docker" "start" "-a" "3c521395f1f88826e9ed72fcfc22d6df8291f22e6453898285da67029f4f9922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c521395f1f88826e9ed72fcfc22d6df8291f22e6453898285da67029f4f9922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c521395f1f88826e9ed72fcfc22d6df8291f22e6453898285da67029f4f9922", kill_on_drop: false }` [INFO] [stdout] 3c521395f1f88826e9ed72fcfc22d6df8291f22e6453898285da67029f4f9922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3cd9fe2f995a5f7748aa762e127764d9c78d6273c6da868de7a3d68254ce944 [INFO] running `Command { std: "docker" "start" "-a" "b3cd9fe2f995a5f7748aa762e127764d9c78d6273c6da868de7a3d68254ce944", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Checking utils v0.0.0 (/opt/rustwide/workdir/crates/utils) [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde-big-array v0.5.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking hex2d v1.1.0 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking numpy v0.20.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking nalgebra v0.32.5 [INFO] [stderr] Checking progenitor v0.1.0 (/opt/rustwide/workdir/crates/progenitor) [INFO] [stderr] Checking progenitor-wasm v0.0.0 (/opt/rustwide/workdir/crates/wasm) [INFO] [stderr] Checking progenitor-py v0.0.0 (/opt/rustwide/workdir/crates/python) [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> crates/python/src/builders.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> crates/python/src/builders.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> crates/python/src/builders.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> crates/python/src/builders.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> crates/python/src/builders.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> crates/python/src/tumblers.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> crates/python/src/builders.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> crates/python/src/world.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> crates/python/src/tumblers.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> crates/python/src/world.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.44s [INFO] running `Command { std: "docker" "inspect" "b3cd9fe2f995a5f7748aa762e127764d9c78d6273c6da868de7a3d68254ce944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3cd9fe2f995a5f7748aa762e127764d9c78d6273c6da868de7a3d68254ce944", kill_on_drop: false }` [INFO] [stdout] b3cd9fe2f995a5f7748aa762e127764d9c78d6273c6da868de7a3d68254ce944 [INFO] checking martinxyz/progenitor against try#9130c02509ce15f69dc5da6359bb9d140d41d4ac for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinxyz%2Fprogenitor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinxyz/progenitor on toolchain 9130c02509ce15f69dc5da6359bb9d140d41d4ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/martinxyz/progenitor [INFO] finished tweaking git repo https://github.com/martinxyz/progenitor [INFO] tweaked toml for git repo https://github.com/martinxyz/progenitor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/martinxyz/progenitor 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" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b352543eae0294b1d2d5a43cc9926bb7ba511f3e0044db950956d86913a27bc [INFO] running `Command { std: "docker" "start" "-a" "4b352543eae0294b1d2d5a43cc9926bb7ba511f3e0044db950956d86913a27bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b352543eae0294b1d2d5a43cc9926bb7ba511f3e0044db950956d86913a27bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b352543eae0294b1d2d5a43cc9926bb7ba511f3e0044db950956d86913a27bc", kill_on_drop: false }` [INFO] [stdout] 4b352543eae0294b1d2d5a43cc9926bb7ba511f3e0044db950956d86913a27bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aebda2c91bc2d6950a2d4457e9fbd82be0e03580601d471213e0ed1f6d518b05 [INFO] running `Command { std: "docker" "start" "-a" "aebda2c91bc2d6950a2d4457e9fbd82be0e03580601d471213e0ed1f6d518b05", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking utils v0.0.0 (/opt/rustwide/workdir/crates/utils) [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking serde-big-array v0.5.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking hex2d v1.1.0 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking numpy v0.20.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking nalgebra v0.32.5 [INFO] [stderr] Checking progenitor v0.1.0 (/opt/rustwide/workdir/crates/progenitor) [INFO] [stdout] error: cannot determine resolution for the import [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use Cell::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::nn`, `super::optimized_params`, `super::worldgen` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use super::nn; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | use super::optimized_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use super::worldgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the import [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use Cell::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::nn`, `super::optimized_params`, `super::worldgen` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use super::nn; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | use super::optimized_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use super::worldgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Food` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ ---- ^^^ pattern doesn't bind `Food` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `Food` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Food`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | crate::builders::Cell::Food | Air) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Air` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ ^^^^ --- variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `Air` [INFO] [stdout] | pattern doesn't bind `Air` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Air`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | crate::builders::Cell::Air) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Wall` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ---- ^^^^ ^^^ pattern doesn't bind `Wall` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `Wall` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Wall`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, crate::builders::Cell::Wall | Food | Air) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Air` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^^ --- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Air` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Air`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | crate::builders::Cell::Air) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Food` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ---- ^^^ pattern doesn't bind `Food` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Food`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, crate::builders::Cell::Food | Air) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Food` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ ---- ^^^ pattern doesn't bind `Food` [INFO] [stdout] | | | [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `Food` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Food`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | crate::builders::Cell::Food | Air) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Air` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ ^^^^ --- variable not in all patterns [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `Air` [INFO] [stdout] | pattern doesn't bind `Air` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Air`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | crate::builders::Cell::Air) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Wall` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ---- ^^^^ ^^^ pattern doesn't bind `Wall` [INFO] [stdout] | | | [INFO] [stdout] | | pattern doesn't bind `Wall` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Wall`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, crate::builders::Cell::Wall | Food | Air) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Air` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^^ --- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Air` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Air`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | crate::builders::Cell::Air) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Food` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ---- ^^^ pattern doesn't bind `Food` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Food`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, crate::builders::Cell::Food | Air) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Border` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:350:74 [INFO] [stdout] | [INFO] [stdout] 350 | self.walls_nearby += nh.count_neighbours(|n| matches!(n, Wall | Border)); [INFO] [stdout] | ^^^^ ------ variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Border` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Border`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 350 | self.walls_nearby += nh.count_neighbours(|n| matches!(n, Wall | crate::builders::Cell::Border)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Wall` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:350:81 [INFO] [stdout] | [INFO] [stdout] 350 | self.walls_nearby += nh.count_neighbours(|n| matches!(n, Wall | Border)); [INFO] [stdout] | ---- ^^^^^^ pattern doesn't bind `Wall` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Wall`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 350 | self.walls_nearby += nh.count_neighbours(|n| matches!(n, crate::builders::Cell::Wall | Border)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Border` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:377:68 [INFO] [stdout] | [INFO] [stdout] 377 | count += match nh.count_neighbours(|c| matches!(c, Wall | Border)) { [INFO] [stdout] | ^^^^ ------ variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Border` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Border`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 377 | count += match nh.count_neighbours(|c| matches!(c, Wall | crate::builders::Cell::Border)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Wall` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:377:75 [INFO] [stdout] | [INFO] [stdout] 377 | count += match nh.count_neighbours(|c| matches!(c, Wall | Border)) { [INFO] [stdout] | ---- ^^^^^^ pattern doesn't bind `Wall` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Wall`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 377 | count += match nh.count_neighbours(|c| matches!(c, crate::builders::Cell::Wall | Border)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | look(Air, Angle::Forward), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Border` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:350:74 [INFO] [stdout] | [INFO] [stdout] 350 | self.walls_nearby += nh.count_neighbours(|n| matches!(n, Wall | Border)); [INFO] [stdout] | ^^^^ ------ variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Border` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Border`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 350 | self.walls_nearby += nh.count_neighbours(|n| matches!(n, Wall | crate::builders::Cell::Border)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | look(Air, Angle::Left), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | look(Air, Angle::Right), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | look(Air, Angle::LeftBack), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | look(Air, Angle::RightBack), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Wall` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:350:81 [INFO] [stdout] | [INFO] [stdout] 350 | self.walls_nearby += nh.count_neighbours(|n| matches!(n, Wall | Border)); [INFO] [stdout] | ---- ^^^^^^ pattern doesn't bind `Wall` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Wall`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 350 | self.walls_nearby += nh.count_neighbours(|n| matches!(n, crate::builders::Cell::Wall | Border)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | look(Air, Angle::Back), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | look(Food, Angle::Forward), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | look(Food, Angle::Left), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | look(Food, Angle::Right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | look(Food, Angle::LeftBack), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:247:22 [INFO] [stdout] | [INFO] [stdout] 247 | look(Food, Angle::RightBack), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | look(Food, Angle::Back), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | look(Wall, Angle::Forward), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | look(Wall, Angle::Left), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | look(Wall, Angle::Right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | look(Wall, Angle::LeftBack), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:253:22 [INFO] [stdout] | [INFO] [stdout] 253 | look(Wall, Angle::RightBack), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | look(Wall, Angle::Back), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Border` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:377:68 [INFO] [stdout] | [INFO] [stdout] 377 | count += match nh.count_neighbours(|c| matches!(c, Wall | Border)) { [INFO] [stdout] | ^^^^ ------ variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `Border` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Border`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 377 | count += match nh.count_neighbours(|c| matches!(c, Wall | crate::builders::Cell::Border)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | look(Agent, Angle::Forward), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:256:22 [INFO] [stdout] | [INFO] [stdout] 256 | look(Agent, Angle::Left), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | look(Agent, Angle::Right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | look(Agent, Angle::LeftBack), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | look(Agent, Angle::RightBack), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `Wall` is not bound in all patterns [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:377:75 [INFO] [stdout] | [INFO] [stdout] 377 | count += match nh.count_neighbours(|c| matches!(c, Wall | Border)) { [INFO] [stdout] | ---- ^^^^^^ pattern doesn't bind `Wall` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on unit variant `crate::builders::Cell::Wall`, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 377 | count += match nh.count_neighbours(|c| matches!(c, crate::builders::Cell::Wall | Border)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | look(Agent, Angle::Back), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | let mut moved = Air; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:322:65 [INFO] [stdout] | [INFO] [stdout] 322 | ... self.state.cells.set_cell(pos_step, Agent); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:327:41 [INFO] [stdout] | [INFO] [stdout] 327 | if cell_step == Air && cell_forward.can_pull() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:329:68 [INFO] [stdout] | [INFO] [stdout] 329 | ... self.state.cells.set_cell(pos_forward, Air); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:331:65 [INFO] [stdout] | [INFO] [stdout] 331 | ... self.state.cells.set_cell(pos_step, Agent); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:336:65 [INFO] [stdout] | [INFO] [stdout] 336 | ... self.state.cells.set_cell(pos_step, Agent); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:375:29 [INFO] [stdout] | [INFO] [stdout] 375 | if nh.center == Food { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:376:61 [INFO] [stdout] | [INFO] [stdout] 376 | let goodness = nh.count_neighbours(|c| c == Food).pow(2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Cell` is ambiguous [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use Cell::*; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution [INFO] [stdout] note: `Cell` could refer to the enum defined here [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / pub enum Cell { [INFO] [stdout] 55 | | Border, [INFO] [stdout] 56 | | Air, [INFO] [stdout] 57 | | Wall, [INFO] [stdout] 58 | | Agent, [INFO] [stdout] 59 | | Food, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: use `self::Cell` to refer to this enum unambiguously [INFO] [stdout] note: `Cell` could also refer to a struct from prelude [INFO] [stdout] --> /rustc/9130c02509ce15f69dc5da6359bb9d140d41d4ac/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | look(Air, Angle::Forward), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | look(Air, Angle::Left), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | look(Air, Angle::Right), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | look(Air, Angle::LeftBack), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | look(Air, Angle::RightBack), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | look(Air, Angle::Back), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | look(Food, Angle::Forward), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | look(Food, Angle::Left), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | look(Food, Angle::Right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | look(Food, Angle::LeftBack), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:247:22 [INFO] [stdout] | [INFO] [stdout] 247 | look(Food, Angle::RightBack), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | look(Food, Angle::Back), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | look(Wall, Angle::Forward), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | look(Wall, Angle::Left), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | look(Wall, Angle::Right), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | look(Wall, Angle::LeftBack), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:253:22 [INFO] [stdout] | [INFO] [stdout] 253 | look(Wall, Angle::RightBack), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Wall` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | look(Wall, Angle::Back), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Wall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | look(Agent, Angle::Forward), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:256:22 [INFO] [stdout] | [INFO] [stdout] 256 | look(Agent, Angle::Left), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | look(Agent, Angle::Right), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | look(Agent, Angle::LeftBack), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | look(Agent, Angle::RightBack), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | look(Agent, Angle::Back), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | let mut moved = Air; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:322:65 [INFO] [stdout] | [INFO] [stdout] 322 | ... self.state.cells.set_cell(pos_step, Agent); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:327:41 [INFO] [stdout] | [INFO] [stdout] 327 | if cell_step == Air && cell_forward.can_pull() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Air` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:329:68 [INFO] [stdout] | [INFO] [stdout] 329 | ... self.state.cells.set_cell(pos_forward, Air); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Air; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:331:65 [INFO] [stdout] | [INFO] [stdout] 331 | ... self.state.cells.set_cell(pos_step, Agent); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Agent` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:336:65 [INFO] [stdout] | [INFO] [stdout] 336 | ... self.state.cells.set_cell(pos_step, Agent); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:375:29 [INFO] [stdout] | [INFO] [stdout] 375 | if nh.center == Food { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Food` in this scope [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:376:61 [INFO] [stdout] | [INFO] [stdout] 376 | let goodness = nh.count_neighbours(|c| c == Food).pow(2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::builders::Cell::Food; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Cell` is ambiguous [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use Cell::*; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution [INFO] [stdout] note: `Cell` could refer to the enum defined here [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / pub enum Cell { [INFO] [stdout] 55 | | Border, [INFO] [stdout] 56 | | Air, [INFO] [stdout] 57 | | Wall, [INFO] [stdout] 58 | | Agent, [INFO] [stdout] 59 | | Food, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: use `self::Cell` to refer to this enum unambiguously [INFO] [stdout] note: `Cell` could also refer to a struct from prelude [INFO] [stdout] --> /rustc/9130c02509ce15f69dc5da6359bb9d140d41d4ac/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Wall` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Wall` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Food` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Air` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Wall` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Wall` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Food` is assigned to, but never used [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_Food` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Air` is assigned to, but never used [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_Air` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Food` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Air` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Food` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Air` is assigned to, but never used [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_Air` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Air` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Food` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Food => 0, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Wall` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | Wall => 1, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Agent` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Agent => unreachable!(), [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Border` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | Border => unreachable!(), [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Border` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | --- matches any value [INFO] [stdout] 75 | Food => 0, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | --- matches any value [INFO] [stdout] 75 | Food => 0, [INFO] [stdout] 76 | Wall => 1, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 77 | Agent => unreachable!(), [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 78 | Border => unreachable!(), [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Air` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Food` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Food => 0, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Wall` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | Wall => 1, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Agent` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Agent => unreachable!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Border` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | Border => unreachable!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Border` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Wall` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Wall` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Food` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Air` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Wall` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Wall` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Food` is assigned to, but never used [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_Food` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Air` is assigned to, but never used [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | matches!(self, Wall | Food | Air) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_Air` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Food` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Air` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Food` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Air` is assigned to, but never used [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | matches!(self, Food | Air) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_Air` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Air` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Food` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Food => 0, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Wall` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | Wall => 1, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Agent` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Agent => unreachable!(), [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Border` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | Border => unreachable!(), [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Border` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | --- matches any value [INFO] [stdout] 75 | Food => 0, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | --- matches any value [INFO] [stdout] 75 | Food => 0, [INFO] [stdout] 76 | Wall => 1, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 77 | Agent => unreachable!(), [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 78 | Border => unreachable!(), [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Air` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Air => 0, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Food` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Food => 0, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Wall` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | Wall => 1, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Agent` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Agent => unreachable!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Border` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | Border => unreachable!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Border` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Wall` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:369:49 [INFO] [stdout] | [INFO] [stdout] 369 | cells.count_edges(|cell| matches!(cell, Wall)) as f32 / cells.area() as f32 [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Wall` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:369:49 [INFO] [stdout] | [INFO] [stdout] 369 | cells.count_edges(|cell| matches!(cell, Wall)) as f32 / cells.area() as f32 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Border` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Border` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Air` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | Air => 2, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Wall` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | Wall => 4, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Agent` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | Agent => 0, [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Food` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | Food => 1, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ------ matches any value [INFO] [stdout] 408 | Air => 2, [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ------ matches any value [INFO] [stdout] 408 | Air => 2, [INFO] [stdout] 409 | Wall => 4, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ------ matches any value [INFO] [stdout] ... [INFO] [stdout] 410 | Agent => 0, [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ------ matches any value [INFO] [stdout] ... [INFO] [stdout] 411 | Food => 1, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Border` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Border` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Air` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | Air => 2, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Wall` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | Wall => 4, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Agent` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | Agent => 0, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Food` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | Food => 1, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Wall` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:369:49 [INFO] [stdout] | [INFO] [stdout] 369 | cells.count_edges(|cell| matches!(cell, Wall)) as f32 / cells.area() as f32 [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Wall` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:369:49 [INFO] [stdout] | [INFO] [stdout] 369 | cells.count_edges(|cell| matches!(cell, Wall)) as f32 / cells.area() as f32 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Border` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Border` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Air` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | Air => 2, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Wall` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | Wall => 4, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Agent` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | Agent => 0, [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Food` is named the same as one of the variants of the type `builders::wall_sim::Cell` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | Food => 1, [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `builders::wall_sim::Cell::Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ------ matches any value [INFO] [stdout] 408 | Air => 2, [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ------ matches any value [INFO] [stdout] 408 | Air => 2, [INFO] [stdout] 409 | Wall => 4, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ------ matches any value [INFO] [stdout] ... [INFO] [stdout] 410 | Agent => 0, [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ------ matches any value [INFO] [stdout] ... [INFO] [stdout] 411 | Food => 1, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Border` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | Border => return None, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Border` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Air` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | Air => 2, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Air` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Wall` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | Wall => 4, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Agent` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | Agent => 0, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Food` [INFO] [stdout] --> crates/progenitor/src/builders/wall_sim.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | Food => 1, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0408, E0425, E0432, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `progenitor` (lib) due to 61 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 60 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0408, E0425, E0432, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `progenitor` (lib test) due to 61 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aebda2c91bc2d6950a2d4457e9fbd82be0e03580601d471213e0ed1f6d518b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aebda2c91bc2d6950a2d4457e9fbd82be0e03580601d471213e0ed1f6d518b05", kill_on_drop: false }` [INFO] [stdout] aebda2c91bc2d6950a2d4457e9fbd82be0e03580601d471213e0ed1f6d518b05