[INFO] cloning repository https://github.com/lcdr/raknet_shim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lcdr/raknet_shim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2f9c18ed5e66dd70ba5e245f58756f5f2977625 [INFO] checking lcdr/raknet_shim against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lcdr/raknet_shim on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lcdr/raknet_shim [INFO] finished tweaking git repo https://github.com/lcdr/raknet_shim [INFO] tweaked toml for git repo https://github.com/lcdr/raknet_shim written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lcdr/raknet_shim 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded endio v0.1.0 [INFO] [stderr] Downloaded endio_bit v0.1.0 [INFO] [stderr] Downloaded libc v0.2.49 [INFO] [stderr] Downloaded rustls v0.14.0 [INFO] [stderr] Downloaded cc v1.0.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a44769c6acda2bd986c3e4d9cb01820f4aea76624f303dbebbf2cecc1ae24235 [INFO] running `Command { std: "docker" "start" "-a" "a44769c6acda2bd986c3e4d9cb01820f4aea76624f303dbebbf2cecc1ae24235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a44769c6acda2bd986c3e4d9cb01820f4aea76624f303dbebbf2cecc1ae24235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a44769c6acda2bd986c3e4d9cb01820f4aea76624f303dbebbf2cecc1ae24235", kill_on_drop: false }` [INFO] [stdout] a44769c6acda2bd986c3e4d9cb01820f4aea76624f303dbebbf2cecc1ae24235 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf7ec2b2b947d946ed18250b9148938bc54bb5ff77cb77f92ff8c7c2f334c59f [INFO] running `Command { std: "docker" "start" "-a" "bf7ec2b2b947d946ed18250b9148938bc54bb5ff77cb77f92ff8c7c2f334c59f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking endio_bit v0.1.0 [INFO] [stderr] Checking endio v0.1.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking rustls v0.14.0 [INFO] [stderr] Checking raknet_shim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tcpudp/mod.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | let len = self.udp.recv( unsafe {&mut BUF})?; [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | let len = self.udp.recv( unsafe {addr_of_mut!(BUF)})?; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:101:64 [INFO] [stdout] | [INFO] [stdout] 101 | let (length, source) = match self.raknet.recv_from( unsafe {&mut BUF}) { [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 101 | let (length, source) = match self.raknet.recv_from( unsafe {addr_of_mut!(BUF)}) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tcpudp/mod.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | let len = self.udp.recv( unsafe {&mut BUF})?; [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | let len = self.udp.recv( unsafe {addr_of_mut!(BUF)})?; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tcpudp/mod.rs:326:39 [INFO] [stdout] | [INFO] [stdout] 326 | let len = server.recv_from(unsafe { &mut BUF }).unwrap().0; [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 326 | let len = server.recv_from(unsafe { addr_of_mut!(BUF) }).unwrap().0; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tcpudp/mod.rs:336:39 [INFO] [stdout] | [INFO] [stdout] 336 | let len = server.recv_from(unsafe { &mut BUF }).unwrap().0; [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 336 | let len = server.recv_from(unsafe { addr_of_mut!(BUF) }).unwrap().0; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:101:64 [INFO] [stdout] | [INFO] [stdout] 101 | let (length, source) = match self.raknet.recv_from( unsafe {&mut BUF}) { [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 101 | let (length, source) = match self.raknet.recv_from( unsafe {addr_of_mut!(BUF)}) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.45s [INFO] running `Command { std: "docker" "inspect" "bf7ec2b2b947d946ed18250b9148938bc54bb5ff77cb77f92ff8c7c2f334c59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf7ec2b2b947d946ed18250b9148938bc54bb5ff77cb77f92ff8c7c2f334c59f", kill_on_drop: false }` [INFO] [stdout] bf7ec2b2b947d946ed18250b9148938bc54bb5ff77cb77f92ff8c7c2f334c59f [INFO] checking lcdr/raknet_shim against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lcdr/raknet_shim on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lcdr/raknet_shim [INFO] finished tweaking git repo https://github.com/lcdr/raknet_shim [INFO] tweaked toml for git repo https://github.com/lcdr/raknet_shim written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lcdr/raknet_shim 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f3e93fdc9a4091f744d1ef44fb13c3602333fb5697f624ae549b70744208330 [INFO] running `Command { std: "docker" "start" "-a" "1f3e93fdc9a4091f744d1ef44fb13c3602333fb5697f624ae549b70744208330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f3e93fdc9a4091f744d1ef44fb13c3602333fb5697f624ae549b70744208330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f3e93fdc9a4091f744d1ef44fb13c3602333fb5697f624ae549b70744208330", kill_on_drop: false }` [INFO] [stdout] 1f3e93fdc9a4091f744d1ef44fb13c3602333fb5697f624ae549b70744208330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa87e635ef7ae32e001013ef2a1c1e32752aafc5c47de871cb90bf2165812e68 [INFO] running `Command { std: "docker" "start" "-a" "fa87e635ef7ae32e001013ef2a1c1e32752aafc5c47de871cb90bf2165812e68", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking endio_bit v0.1.0 [INFO] [stderr] Checking endio v0.1.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking rustls v0.14.0 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking raknet_shim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tcpudp/mod.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | let len = self.udp.recv( unsafe {&mut BUF})?; [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | let len = self.udp.recv( unsafe {addr_of_mut!(BUF)})?; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:101:64 [INFO] [stdout] | [INFO] [stdout] 101 | let (length, source) = match self.raknet.recv_from( unsafe {&mut BUF}) { [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 101 | let (length, source) = match self.raknet.recv_from( unsafe {addr_of_mut!(BUF)}) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tcpudp/mod.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | let len = self.udp.recv( unsafe {&mut BUF})?; [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | let len = self.udp.recv( unsafe {addr_of_mut!(BUF)})?; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tcpudp/mod.rs:326:39 [INFO] [stdout] | [INFO] [stdout] 326 | let len = server.recv_from(unsafe { &mut BUF }).unwrap().0; [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 326 | let len = server.recv_from(unsafe { addr_of_mut!(BUF) }).unwrap().0; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tcpudp/mod.rs:336:39 [INFO] [stdout] | [INFO] [stdout] 336 | let len = server.recv_from(unsafe { &mut BUF }).unwrap().0; [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 336 | let len = server.recv_from(unsafe { addr_of_mut!(BUF) }).unwrap().0; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:101:64 [INFO] [stdout] | [INFO] [stdout] 101 | let (length, source) = match self.raknet.recv_from( unsafe {&mut BUF}) { [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 101 | let (length, source) = match self.raknet.recv_from( unsafe {addr_of_mut!(BUF)}) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.95s [INFO] running `Command { std: "docker" "inspect" "fa87e635ef7ae32e001013ef2a1c1e32752aafc5c47de871cb90bf2165812e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa87e635ef7ae32e001013ef2a1c1e32752aafc5c47de871cb90bf2165812e68", kill_on_drop: false }` [INFO] [stdout] fa87e635ef7ae32e001013ef2a1c1e32752aafc5c47de871cb90bf2165812e68