[INFO] cloning repository https://github.com/kyren/turbulence [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kyren/turbulence" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyren%2Fturbulence", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyren%2Fturbulence'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b119f20a1c3990a8b467e413243844da0ff8e795 [INFO] checking kyren/turbulence against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyren%2Fturbulence" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kyren/turbulence on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kyren/turbulence [INFO] finished tweaking git repo https://github.com/kyren/turbulence [INFO] tweaked toml for git repo https://github.com/kyren/turbulence written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6df3ebe12d80209eb92f2aa7f49fe2677655ffeb2315725dcd03e998b42ddf91 [INFO] running `Command { std: "docker" "start" "-a" "6df3ebe12d80209eb92f2aa7f49fe2677655ffeb2315725dcd03e998b42ddf91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6df3ebe12d80209eb92f2aa7f49fe2677655ffeb2315725dcd03e998b42ddf91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df3ebe12d80209eb92f2aa7f49fe2677655ffeb2315725dcd03e998b42ddf91", kill_on_drop: false }` [INFO] [stdout] 6df3ebe12d80209eb92f2aa7f49fe2677655ffeb2315725dcd03e998b42ddf91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8b43f6c9329fa8e594163354e9e192bcc2ef2b5e533d482ad3b1a5210254ff2 [INFO] running `Command { std: "docker" "start" "-a" "d8b43f6c9329fa8e594163354e9e192bcc2ef2b5e533d482ad3b1a5210254ff2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking cache-padded v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking turbulence v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.27s [INFO] running `Command { std: "docker" "inspect" "d8b43f6c9329fa8e594163354e9e192bcc2ef2b5e533d482ad3b1a5210254ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b43f6c9329fa8e594163354e9e192bcc2ef2b5e533d482ad3b1a5210254ff2", kill_on_drop: false }` [INFO] [stdout] d8b43f6c9329fa8e594163354e9e192bcc2ef2b5e533d482ad3b1a5210254ff2 [INFO] checking kyren/turbulence against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyren%2Fturbulence" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kyren/turbulence on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kyren/turbulence [INFO] finished tweaking git repo https://github.com/kyren/turbulence [INFO] tweaked toml for git repo https://github.com/kyren/turbulence written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba55f90d6b0ce9bb673139319470ae94553f56b6a149aa2ed2c2f73ecb1f7acd [INFO] running `Command { std: "docker" "start" "-a" "ba55f90d6b0ce9bb673139319470ae94553f56b6a149aa2ed2c2f73ecb1f7acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba55f90d6b0ce9bb673139319470ae94553f56b6a149aa2ed2c2f73ecb1f7acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba55f90d6b0ce9bb673139319470ae94553f56b6a149aa2ed2c2f73ecb1f7acd", kill_on_drop: false }` [INFO] [stdout] ba55f90d6b0ce9bb673139319470ae94553f56b6a149aa2ed2c2f73ecb1f7acd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a1a854bdcc948b3625dce39de2ce2e61679274c64cd36967900bb1efaa2e08e [INFO] running `Command { std: "docker" "start" "-a" "8a1a854bdcc948b3625dce39de2ce2e61679274c64cd36967900bb1efaa2e08e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking cache-padded v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking turbulence v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/packet_multiplexer.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/util/mod.rs (4 fixes) [INFO] [stderr] Migrating tests/reliable_channel.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/reliable_bincode_channel.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/compressed_bincode_channel.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unreliable_bincode_channel.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unreliable_channel.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/message_channels.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.97s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking turbulence v0.4.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `self.channel` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/unreliable_bincode_channel.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 127 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 128 | let msg = self.channel.recv().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 129 | Ok(bincode_config.deserialize(msg)?) [INFO] [stdout] | -------------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.channel` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/unreliable_bincode_channel.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 127 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 128 | let msg = self.channel.recv().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 129 | Ok(bincode_config.deserialize(msg)?) [INFO] [stdout] | -------------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/compressed_bincode_channel.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 153 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 157 | ready!(self.poll_write_send_chunk(cx))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 160 | bincode_config.serialize_into(&mut self.send_chunk, msg)?; [INFO] [stdout] | -------------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.send_chunk` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/compressed_bincode_channel.rs:160:39 [INFO] [stdout] | [INFO] [stdout] 153 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 160 | bincode_config.serialize_into(&mut self.send_chunk, msg)?; [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.write_buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/reliable_bincode_channel.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 158 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 159 | bincode_config.serialize_into(&mut self.write_buffer, msg)?; [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/compressed_bincode_channel.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 153 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 157 | ready!(self.poll_write_send_chunk(cx))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 160 | bincode_config.serialize_into(&mut self.send_chunk, msg)?; [INFO] [stdout] | -------------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.send_chunk` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/compressed_bincode_channel.rs:160:39 [INFO] [stdout] | [INFO] [stdout] 153 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 160 | bincode_config.serialize_into(&mut self.send_chunk, msg)?; [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.pending_write` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/unreliable_bincode_channel.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 162 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 163 | bincode_config.serialize_into(&mut self.pending_write, msg)?; [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.channel` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/unreliable_bincode_channel.rs:182:26 [INFO] [stdout] | [INFO] [stdout] 181 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 182 | let msg = ready!(self.channel.poll_recv(cx))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 183 | Poll::Ready(Ok(bincode_config.deserialize::(msg)?)) [INFO] [stdout] | -------------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.write_buffer` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/reliable_bincode_channel.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 158 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 159 | bincode_config.serialize_into(&mut self.write_buffer, msg)?; [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `turbulence` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `self.pending_write` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/unreliable_bincode_channel.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 162 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 163 | bincode_config.serialize_into(&mut self.pending_write, msg)?; [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.channel` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/unreliable_bincode_channel.rs:182:26 [INFO] [stdout] | [INFO] [stdout] 181 | let bincode_config = self.bincode_config(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 182 | let msg = ready!(self.channel.poll_recv(cx))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 183 | Poll::Ready(Ok(bincode_config.deserialize::(msg)?)) [INFO] [stdout] | -------------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turbulence` (lib test) due to 7 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8a1a854bdcc948b3625dce39de2ce2e61679274c64cd36967900bb1efaa2e08e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a1a854bdcc948b3625dce39de2ce2e61679274c64cd36967900bb1efaa2e08e", kill_on_drop: false }` [INFO] [stdout] 8a1a854bdcc948b3625dce39de2ce2e61679274c64cd36967900bb1efaa2e08e