[INFO] cloning repository https://github.com/entity-neural-network/entity-gym-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/entity-neural-network/entity-gym-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fentity-neural-network%2Fentity-gym-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fentity-neural-network%2Fentity-gym-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cc87a5a126e8197fd00eb9d9b9d76484adf4f6e [INFO] checking entity-neural-network/entity-gym-rs against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fentity-neural-network%2Fentity-gym-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/entity-neural-network/entity-gym-rs on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/entity-neural-network/entity-gym-rs [INFO] finished tweaking git repo https://github.com/entity-neural-network/entity-gym-rs [INFO] tweaked toml for git repo https://github.com/entity-neural-network/entity-gym-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/entity-neural-network/entity-gym-rs 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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros-backend v0.15.2 [INFO] [stderr] Downloaded unindent v0.1.9 [INFO] [stderr] Downloaded pyo3-build-config v0.15.2 [INFO] [stderr] Downloaded pyo3-macros v0.15.2 [INFO] [stderr] Downloaded pyo3 v0.15.2 [INFO] [stderr] Downloaded libm v0.2.3 [INFO] [stderr] Downloaded atomicbox v0.4.0 [INFO] [stderr] Downloaded entity-gym-derive v0.2.0 [INFO] [stderr] Downloaded ragged-buffer v0.3.8 [INFO] [stderr] Downloaded rogue-net v0.4.0 [INFO] [stderr] Downloaded numpy v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f45e1f74c283eedd2c9caeea05d1ae2e64fbe74041dd5898eee3b42b3a7cb1e6 [INFO] running `Command { std: "docker" "start" "-a" "f45e1f74c283eedd2c9caeea05d1ae2e64fbe74041dd5898eee3b42b3a7cb1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f45e1f74c283eedd2c9caeea05d1ae2e64fbe74041dd5898eee3b42b3a7cb1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45e1f74c283eedd2c9caeea05d1ae2e64fbe74041dd5898eee3b42b3a7cb1e6", kill_on_drop: false }` [INFO] [stdout] f45e1f74c283eedd2c9caeea05d1ae2e64fbe74041dd5898eee3b42b3a7cb1e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 961c729972057fdb416fe56077d847f351d3e5cfffe51c913f3a72ec894f0aa7 [INFO] running `Command { std: "docker" "start" "-a" "961c729972057fdb416fe56077d847f351d3e5cfffe51c913f3a72ec894f0aa7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling libm v0.2.3 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.17 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking atomicbox v0.4.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rmp v0.8.11 [INFO] [stderr] Checking rmpv v1.0.0 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling entity-gym-derive v0.2.0 [INFO] [stderr] Checking ragged-buffer v0.3.8 [INFO] [stderr] Checking nalgebra v0.27.1 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking clap v3.2.16 [INFO] [stderr] Checking statrs v0.15.0 [INFO] [stderr] Checking rogue-net v0.4.0 [INFO] [stderr] Checking entity-gym-rs v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nalgebra v0.27.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "961c729972057fdb416fe56077d847f351d3e5cfffe51c913f3a72ec894f0aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "961c729972057fdb416fe56077d847f351d3e5cfffe51c913f3a72ec894f0aa7", kill_on_drop: false }` [INFO] [stdout] 961c729972057fdb416fe56077d847f351d3e5cfffe51c913f3a72ec894f0aa7 [INFO] checking entity-neural-network/entity-gym-rs against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fentity-neural-network%2Fentity-gym-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/entity-neural-network/entity-gym-rs on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/entity-neural-network/entity-gym-rs [INFO] finished tweaking git repo https://github.com/entity-neural-network/entity-gym-rs [INFO] tweaked toml for git repo https://github.com/entity-neural-network/entity-gym-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/entity-neural-network/entity-gym-rs 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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01404910d10216c2aafe2660e6e3c951cd15c69a653fda305d030a2582e7dbee [INFO] running `Command { std: "docker" "start" "-a" "01404910d10216c2aafe2660e6e3c951cd15c69a653fda305d030a2582e7dbee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01404910d10216c2aafe2660e6e3c951cd15c69a653fda305d030a2582e7dbee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01404910d10216c2aafe2660e6e3c951cd15c69a653fda305d030a2582e7dbee", kill_on_drop: false }` [INFO] [stdout] 01404910d10216c2aafe2660e6e3c951cd15c69a653fda305d030a2582e7dbee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Ddereferencing_mut_binding" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08170dbb128db75df6c3c43a5954403c1dcb7614e3719dbcee955ff1b6dfcdf0 [INFO] running `Command { std: "docker" "start" "-a" "08170dbb128db75df6c3c43a5954403c1dcb7614e3719dbcee955ff1b6dfcdf0", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking atomicbox v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.17 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rmp v0.8.11 [INFO] [stderr] Checking rmpv v1.0.0 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling entity-gym-derive v0.2.0 [INFO] [stderr] Checking ragged-buffer v0.3.8 [INFO] [stderr] Checking nalgebra v0.27.1 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking clap v3.2.16 [INFO] [stderr] Checking statrs v0.15.0 [INFO] [stderr] Checking rogue-net v0.4.0 [INFO] [stderr] Checking entity-gym-rs v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/examples/multisnake.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | let (mut x, mut y) = self.snakes[*id as usize].segments.front().unwrap(); [INFO] [stdout] | ^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/examples/multisnake.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | let (mut x, mut y) = self.snakes[*id as usize].segments.front().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/examples/multisnake.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | let (mut x, mut y) = self.snakes[*id as usize].segments.front().unwrap(); [INFO] [stdout] | ^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/examples/multisnake.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | let (mut x, mut y) = self.snakes[*id as usize].segments.front().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/examples/multisnake.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | let (mut x, mut y) = self.snakes[*id as usize].segments.front().unwrap(); [INFO] [stdout] | ^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/examples/multisnake.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | let (mut x, mut y) = self.snakes[*id as usize].segments.front().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/examples/multisnake.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | let (mut x, mut y) = self.snakes[*id as usize].segments.front().unwrap(); [INFO] [stdout] | ^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/examples/multisnake.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | let (mut x, mut y) = self.snakes[*id as usize].segments.front().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `entity-gym-rs` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `entity-gym-rs` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "08170dbb128db75df6c3c43a5954403c1dcb7614e3719dbcee955ff1b6dfcdf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08170dbb128db75df6c3c43a5954403c1dcb7614e3719dbcee955ff1b6dfcdf0", kill_on_drop: false }` [INFO] [stdout] 08170dbb128db75df6c3c43a5954403c1dcb7614e3719dbcee955ff1b6dfcdf0