[INFO] fetching crate wc-lock 0.2.1... [INFO] testing wc-lock-0.2.1 against 1.82.0 for beta-1.83-1 [INFO] extracting crate wc-lock 0.2.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate wc-lock 0.2.1 on toolchain 1.82.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.82.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wc-lock 0.2.1 [INFO] finished tweaking crates.io crate wc-lock 0.2.1 [INFO] tweaked toml for crates.io crate wc-lock 0.2.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.82.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 91 packages to latest compatible versions [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.4.0) [INFO] [stderr] Adding bitflags v0.7.0 (latest: v2.6.0) [INFO] [stderr] Adding bitflags v0.9.1 (latest: v2.6.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding byteorder v0.5.3 (latest: v1.5.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.20) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding dbus v0.5.4 (latest: v0.9.7) [INFO] [stderr] Adding dlib v0.3.1 (latest: v0.5.2) [INFO] [stderr] Adding dtoa v0.4.8 (latest: v1.0.9) [INFO] [stderr] Adding flate2 v0.2.20 (latest: v1.0.34) [INFO] [stderr] Adding fs2 v0.2.5 (latest: v0.4.3) [INFO] [stderr] Adding gif v0.9.2 (latest: v0.13.1) [INFO] [stderr] Adding glob v0.2.11 (latest: v0.3.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding image v0.10.4 (latest: v0.25.4) [INFO] [stderr] Adding inflate v0.1.1 (latest: v0.4.5) [INFO] [stderr] Adding itoa v0.3.4 (latest: v1.0.11) [INFO] [stderr] Adding jpeg-decoder v0.1.22 (latest: v0.3.1) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.5.0) [INFO] [stderr] Adding libdbus-sys v0.1.5 (latest: v0.2.5) [INFO] [stderr] Adding libloading v0.3.4 (latest: v0.8.5) [INFO] [stderr] Adding memmap v0.4.0 (latest: v0.7.0) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.2) [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.19) [INFO] [stderr] Adding phf v0.7.24 (latest: v0.11.2) [INFO] [stderr] Adding phf_codegen v0.7.24 (latest: v0.11.2) [INFO] [stderr] Adding phf_generator v0.7.24 (latest: v0.11.2) [INFO] [stderr] Adding phf_shared v0.7.24 (latest: v0.11.2) [INFO] [stderr] Adding png v0.5.2 (latest: v0.17.14) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.7) [INFO] [stderr] Adding serde v0.9.15 (latest: v1.0.210) [INFO] [stderr] Adding serde_json v0.9.10 (latest: v1.0.132) [INFO] [stderr] Adding siphasher v0.2.3 (latest: v1.0.1) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding tempfile v2.2.0 (latest: v3.13.0) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (latest: v0.2.0) [INFO] [stderr] Adding wayland-client v0.9.10 (latest: v0.31.6) [INFO] [stderr] Adding wayland-kbd v0.9.1 (latest: v0.13.1) [INFO] [stderr] Adding wayland-scanner v0.9.10 (latest: v0.31.5) [INFO] [stderr] Adding wayland-sys v0.9.10 (latest: v0.31.5) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding xml-rs v0.6.1 (latest: v0.8.22) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.82.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.9.10 [INFO] [stderr] Downloaded wayland-scanner v0.9.10 [INFO] [stderr] Downloaded dlib v0.3.1 [INFO] [stderr] Downloaded memmap v0.4.0 [INFO] [stderr] Downloaded wayland-client v0.9.10 [INFO] [stderr] Downloaded way-cooler-client-helpers v0.1.0 [INFO] [stderr] Downloaded fs2 v0.2.5 [INFO] [stderr] Downloaded xml-rs v0.6.1 [INFO] [stderr] Downloaded libdbus-sys v0.1.5 [INFO] [stderr] Downloaded inflate v0.1.1 [INFO] [stderr] Downloaded dbus v0.5.4 [INFO] [stderr] Downloaded image v0.10.4 [INFO] [stderr] Downloaded png v0.5.2 [INFO] [stderr] Downloaded wayland-kbd v0.9.1 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 437ee9193dc0c5e48b79bbf4187c856100e5868d2fd7b11f902e6719255fcc9e [INFO] running `Command { std: "docker" "start" "-a" "437ee9193dc0c5e48b79bbf4187c856100e5868d2fd7b11f902e6719255fcc9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "437ee9193dc0c5e48b79bbf4187c856100e5868d2fd7b11f902e6719255fcc9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "437ee9193dc0c5e48b79bbf4187c856100e5868d2fd7b11f902e6719255fcc9e", kill_on_drop: false }` [INFO] [stdout] 437ee9193dc0c5e48b79bbf4187c856100e5868d2fd7b11f902e6719255fcc9e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b237ba14c9f7c7fb4ecdfb467951967ebcbe274142c1e62d38559ea9b4573b39 [INFO] running `Command { std: "docker" "start" "-a" "b237ba14c9f7c7fb4ecdfb467951967ebcbe274142c1e62d38559ea9b4573b39", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling libdbus-sys v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling wc-lock v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use gcc::Config; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let mut config = Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling dbus v0.5.4 [INFO] [stderr] Compiling image v0.10.4 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling way-cooler-client-helpers v0.1.0 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 30 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:33:141 [INFO] [stdout] | [INFO] [stdout] 33 | ...st c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_background_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:34:136 [INFO] [stdout] | [INFO] [stdout] 34 | ...const c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 34 | wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_panel_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:35:143 [INFO] [stdout] | [INFO] [stdout] 35 | ...t c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_lock_surface_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:36:131 [INFO] [stdout] | [INFO] [stdout] 36 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 36 | wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:37:142 [INFO] [stdout] | [INFO] [stdout] 37 | ...t c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 37 | wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_grab_surface_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:38:139 [INFO] [stdout] | [INFO] [stdout] 38 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 38 | wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:39:145 [INFO] [stdout] | [INFO] [stdout] 39 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 39 | wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:48:138 [INFO] [stdout] | [INFO] [stdout] 48 | ...*const c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_events_configure_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:49:145 [INFO] [stdout] | [INFO] [stdout] 49 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 49 | wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:50:137 [INFO] [stdout] | [INFO] [stdout] 50 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | requests: unsafe { &desktop_shell_requests as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 57 | requests: unsafe { addr_of!(desktop_shell_requests) as *const _ }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | events: unsafe { &desktop_shell_events as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | events: unsafe { addr_of!(desktop_shell_events) as *const _ }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:69:138 [INFO] [stdout] | [INFO] [stdout] 69 | ...const c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 69 | wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(screensaver_requests_set_surface_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | requests: unsafe { &screensaver_requests as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 76 | requests: unsafe { addr_of!(screensaver_requests) as *const _ }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_api.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 59 | fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | fn interface_ptr() -> *const wl_interface { unsafe { addr_of!(desktop_shell_interface) } } [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_api.rs:312:62 [INFO] [stdout] | [INFO] [stdout] 312 | fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 312 | fn interface_ptr() -> *const wl_interface { unsafe { addr_of!(screensaver_interface) } } [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, num-bigint v0.1.44, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b237ba14c9f7c7fb4ecdfb467951967ebcbe274142c1e62d38559ea9b4573b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b237ba14c9f7c7fb4ecdfb467951967ebcbe274142c1e62d38559ea9b4573b39", kill_on_drop: false }` [INFO] [stdout] b237ba14c9f7c7fb4ecdfb467951967ebcbe274142c1e62d38559ea9b4573b39 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cddf8ffd3810541428624d7a9a26a584051351cf872941d4e533d2fab80cdfaa [INFO] running `Command { std: "docker" "start" "-a" "cddf8ffd3810541428624d7a9a26a584051351cf872941d4e533d2fab80cdfaa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use gcc::Config; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let mut config = Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let mut config = Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wc-lock v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 30 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:33:141 [INFO] [stdout] | [INFO] [stdout] 33 | ...st c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_background_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:34:136 [INFO] [stdout] | [INFO] [stdout] 34 | ...const c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 34 | wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_panel_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:35:143 [INFO] [stdout] | [INFO] [stdout] 35 | ...t c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_lock_surface_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:36:131 [INFO] [stdout] | [INFO] [stdout] 36 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 36 | wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:37:142 [INFO] [stdout] | [INFO] [stdout] 37 | ...t c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 37 | wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_grab_surface_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:38:139 [INFO] [stdout] | [INFO] [stdout] 38 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 38 | wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:39:145 [INFO] [stdout] | [INFO] [stdout] 39 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 39 | wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:48:138 [INFO] [stdout] | [INFO] [stdout] 48 | ...*const c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_events_configure_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:49:145 [INFO] [stdout] | [INFO] [stdout] 49 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 49 | wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:50:137 [INFO] [stdout] | [INFO] [stdout] 50 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | requests: unsafe { &desktop_shell_requests as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 57 | requests: unsafe { addr_of!(desktop_shell_requests) as *const _ }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | events: unsafe { &desktop_shell_events as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | events: unsafe { addr_of!(desktop_shell_events) as *const _ }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:69:138 [INFO] [stdout] | [INFO] [stdout] 69 | ...const c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 69 | wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(screensaver_requests_set_surface_types) as *const _ } }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | requests: unsafe { &screensaver_requests as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 76 | requests: unsafe { addr_of!(screensaver_requests) as *const _ }, [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_api.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 59 | fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | fn interface_ptr() -> *const wl_interface { unsafe { addr_of!(desktop_shell_interface) } } [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_api.rs:312:62 [INFO] [stdout] | [INFO] [stdout] 312 | fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 312 | fn interface_ptr() -> *const wl_interface { unsafe { addr_of!(screensaver_interface) } } [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, num-bigint v0.1.44, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "cddf8ffd3810541428624d7a9a26a584051351cf872941d4e533d2fab80cdfaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cddf8ffd3810541428624d7a9a26a584051351cf872941d4e533d2fab80cdfaa", kill_on_drop: false }` [INFO] [stdout] cddf8ffd3810541428624d7a9a26a584051351cf872941d4e533d2fab80cdfaa [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6f1060c7758e498e97610f70ffac72832e06cd4288746930cb463c47ff0f585 [INFO] running `Command { std: "docker" "start" "-a" "c6f1060c7758e498e97610f70ffac72832e06cd4288746930cb463c47ff0f585", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use gcc::Config; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | let mut config = Config::new(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | let mut config = Config::new(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `wc-lock` (build script) generated 3 warnings [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 18 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 19 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 22 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 23 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 26 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 27 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 30 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:33:141 [INFO] [stderr] | [INFO] [stderr] 33 | ...st c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 33 | wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_background_types) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:34:136 [INFO] [stderr] | [INFO] [stderr] 34 | ...const c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 34 | wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_panel_types) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:35:143 [INFO] [stderr] | [INFO] [stderr] 35 | ...t c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 35 | wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_lock_surface_types) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:36:131 [INFO] [stderr] | [INFO] [stderr] 36 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 36 | wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:37:142 [INFO] [stderr] | [INFO] [stderr] 37 | ...t c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 37 | wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_requests_set_grab_surface_types) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:38:139 [INFO] [stderr] | [INFO] [stderr] 38 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 38 | wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:39:145 [INFO] [stderr] | [INFO] [stderr] 39 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 39 | wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 43 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:48:138 [INFO] [stderr] | [INFO] [stderr] 48 | ...*const c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 48 | wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { addr_of!(desktop_shell_events_configure_types) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:49:145 [INFO] [stderr] | [INFO] [stderr] 49 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 49 | wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:50:137 [INFO] [stderr] | [INFO] [stderr] 50 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 50 | wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { addr_of!(types_null) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:57:24 [INFO] [stderr] | [INFO] [stderr] 57 | requests: unsafe { &desktop_shell_requests as *const _ }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 57 | requests: unsafe { addr_of!(desktop_shell_requests) as *const _ }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | events: unsafe { &desktop_shell_events as *const _ }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 59 | events: unsafe { addr_of!(desktop_shell_events) as *const _ }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 65 | unsafe { addr_of!(wl_surface_interface) as *const wl_interface }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 66 | unsafe { addr_of!(wl_output_interface) as *const wl_interface }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:69:138 [INFO] [stderr] | [INFO] [stderr] 69 | ...const c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 69 | wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { addr_of!(screensaver_requests_set_surface_types) as *const _ } }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_interface.rs:76:24 [INFO] [stderr] | [INFO] [stderr] 76 | requests: unsafe { &screensaver_requests as *const _ }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 76 | requests: unsafe { addr_of!(screensaver_requests) as *const _ }, [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_api.rs:59:62 [INFO] [stderr] | [INFO] [stderr] 59 | fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 59 | fn interface_ptr() -> *const wl_interface { unsafe { addr_of!(desktop_shell_interface) } } [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-lock-05fc8273808ce15b/out/desktop-shell_api.rs:312:62 [INFO] [stderr] | [INFO] [stderr] 312 | fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 312 | fn interface_ptr() -> *const wl_interface { unsafe { addr_of!(screensaver_interface) } } [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: `wc-lock` (bin "wc-lock" test) generated 26 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, num-bigint v0.1.44, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wc_lock-6cc13f69aa4f6bb8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6f1060c7758e498e97610f70ffac72832e06cd4288746930cb463c47ff0f585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6f1060c7758e498e97610f70ffac72832e06cd4288746930cb463c47ff0f585", kill_on_drop: false }` [INFO] [stdout] c6f1060c7758e498e97610f70ffac72832e06cd4288746930cb463c47ff0f585