[INFO] fetching crate wc-bg 0.3.0... [INFO] testing wc-bg-0.3.0 against beta-2025-01-12 for beta-1.85-1 [INFO] extracting crate wc-bg 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate wc-bg 0.3.0 on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wc-bg 0.3.0 [INFO] finished tweaking crates.io crate wc-bg 0.3.0 [INFO] tweaked toml for crates.io crate wc-bg 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 83 packages to latest compatible versions [INFO] [stderr] Adding byteorder v0.5.3 (available: v1.5.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.26) [INFO] [stderr] Adding image v0.10.4 (available: v0.25.5) [INFO] [stderr] Adding tempfile v2.2.0 (available: v3.15.0) [INFO] [stderr] Adding wayland-client v0.9.10 (available: v0.31.7) [INFO] [stderr] Adding wayland-scanner v0.9.10 (available: v0.31.5) [INFO] [stderr] Adding wayland-sys v0.9.10 (available: v0.31.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.9.10 [INFO] [stderr] Downloaded wayland-scanner v0.9.10 [INFO] [stderr] Downloaded way-cooler-client-helpers v0.1.0 [INFO] [stderr] Downloaded wayland-client v0.9.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abe460588c1c5fe37b80c84860468219777129a695aa0bf41e3150dd9321521c [INFO] running `Command { std: "docker" "start" "-a" "abe460588c1c5fe37b80c84860468219777129a695aa0bf41e3150dd9321521c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abe460588c1c5fe37b80c84860468219777129a695aa0bf41e3150dd9321521c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abe460588c1c5fe37b80c84860468219777129a695aa0bf41e3150dd9321521c", kill_on_drop: false }` [INFO] [stdout] abe460588c1c5fe37b80c84860468219777129a695aa0bf41e3150dd9321521c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c82806eb83c3f5160a9f11335fff2929a162e3af0adca7df12781eedaaf5dec [INFO] running `Command { std: "docker" "start" "-a" "4c82806eb83c3f5160a9f11335fff2929a162e3af0adca7df12781eedaaf5dec", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wc-bg v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:32:141 [INFO] [stdout] | [INFO] [stdout] 32 | ...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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 32 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:33:136 [INFO] [stdout] | [INFO] [stdout] 33 | ...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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:34:142 [INFO] [stdout] | [INFO] [stdout] 34 | ...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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 34 | wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:35:131 [INFO] [stdout] | [INFO] [stdout] 35 | ...*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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:36:142 [INFO] [stdout] | [INFO] [stdout] 36 | ...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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 36 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:37:139 [INFO] [stdout] | [INFO] [stdout] 37 | ...*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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 37 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:38:145 [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 38 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:47:138 [INFO] [stdout] | [INFO] [stdout] 47 | ...*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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:48:145 [INFO] [stdout] | [INFO] [stdout] 48 | ...*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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:49:137 [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 49 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | requests: unsafe { &desktop_shell_requests as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 56 | requests: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | events: unsafe { &desktop_shell_events as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 58 | events: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:68:138 [INFO] [stdout] | [INFO] [stdout] 68 | ...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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 68 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | requests: unsafe { &screensaver_requests as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 75 | requests: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | fn interface_ptr() -> *const wl_interface { unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 312 | fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } } [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.95s [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 1` [INFO] running `Command { std: "docker" "inspect" "4c82806eb83c3f5160a9f11335fff2929a162e3af0adca7df12781eedaaf5dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c82806eb83c3f5160a9f11335fff2929a162e3af0adca7df12781eedaaf5dec", kill_on_drop: false }` [INFO] [stdout] 4c82806eb83c3f5160a9f11335fff2929a162e3af0adca7df12781eedaaf5dec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15d811a2be22eedf594210a714808602aaa4573c13862405115160fba5b68263 [INFO] running `Command { std: "docker" "start" "-a" "15d811a2be22eedf594210a714808602aaa4573c13862405115160fba5b68263", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling wc-bg v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: literal out of range for `u8` [INFO] [stdout] --> src/main.rs:479:43 [INFO] [stdout] | [INFO] [stdout] 479 | assert_eq!(rgba_conversion(255, 500), 500); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the literal `500` does not fit into the type `u8` whose range is `0..=255` [INFO] [stdout] = note: `#[warn(overflowing_literals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> /opt/rustwide/target/debug/build/wc-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:32:141 [INFO] [stdout] | [INFO] [stdout] 32 | ...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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 32 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:33:136 [INFO] [stdout] | [INFO] [stdout] 33 | ...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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:34:142 [INFO] [stdout] | [INFO] [stdout] 34 | ...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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 34 | wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:35:131 [INFO] [stdout] | [INFO] [stdout] 35 | ...*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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:36:142 [INFO] [stdout] | [INFO] [stdout] 36 | ...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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 36 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:37:139 [INFO] [stdout] | [INFO] [stdout] 37 | ...*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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 37 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:38:145 [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 38 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:47:138 [INFO] [stdout] | [INFO] [stdout] 47 | ...*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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:48:145 [INFO] [stdout] | [INFO] [stdout] 48 | ...*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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:49:137 [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 49 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | requests: unsafe { &desktop_shell_requests as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 56 | requests: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | events: unsafe { &desktop_shell_events as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 58 | events: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:68:138 [INFO] [stdout] | [INFO] [stdout] 68 | ...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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 68 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | requests: unsafe { &screensaver_requests as *const _ }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 75 | requests: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | fn interface_ptr() -> *const wl_interface { unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 312 | fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } } [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [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 1` [INFO] running `Command { std: "docker" "inspect" "15d811a2be22eedf594210a714808602aaa4573c13862405115160fba5b68263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d811a2be22eedf594210a714808602aaa4573c13862405115160fba5b68263", kill_on_drop: false }` [INFO] [stdout] 15d811a2be22eedf594210a714808602aaa4573c13862405115160fba5b68263 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d913e350d9221c84b298c2df71b3376f4b397b90030a4341c9e139a8d190d87 [INFO] running `Command { std: "docker" "start" "-a" "4d913e350d9221c84b298c2df71b3376f4b397b90030a4341c9e139a8d190d87", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: literal out of range for `u8` [INFO] [stderr] --> src/main.rs:479:43 [INFO] [stderr] | [INFO] [stderr] 479 | assert_eq!(rgba_conversion(255, 500), 500); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: the literal `500` does not fit into the type `u8` whose range is `0..=255` [INFO] [stderr] = note: `#[warn(overflowing_literals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> /opt/rustwide/target/debug/build/wc-bg-cbf1dfd6d3e8baff/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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 18 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 19 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 22 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 23 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 26 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 29 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:32:141 [INFO] [stderr] | [INFO] [stderr] 32 | ...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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 32 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:33:136 [INFO] [stderr] | [INFO] [stderr] 33 | ...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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 33 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:34:142 [INFO] [stderr] | [INFO] [stderr] 34 | ...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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 34 | wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:35:131 [INFO] [stderr] | [INFO] [stderr] 35 | ...*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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 35 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:36:142 [INFO] [stderr] | [INFO] [stderr] 36 | ...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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 36 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:37:139 [INFO] [stderr] | [INFO] [stderr] 37 | ...*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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 37 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:38:145 [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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 38 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:42:14 [INFO] [stderr] | [INFO] [stderr] 42 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 42 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:47:138 [INFO] [stderr] | [INFO] [stderr] 47 | ...*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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 47 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:48:145 [INFO] [stderr] | [INFO] [stderr] 48 | ...*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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 48 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:49:137 [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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 49 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:56:24 [INFO] [stderr] | [INFO] [stderr] 56 | requests: unsafe { &desktop_shell_requests as *const _ }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 56 | requests: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:58:22 [INFO] [stderr] | [INFO] [stderr] 58 | events: unsafe { &desktop_shell_events as *const _ }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 58 | events: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | unsafe { &wl_surface_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 64 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | unsafe { &wl_output_interface as *const wl_interface }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 65 | unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:68:138 [INFO] [stderr] | [INFO] [stderr] 68 | ...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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 68 | 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 { &raw const 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-bg-cbf1dfd6d3e8baff/out/desktop-shell_interface.rs:75:24 [INFO] [stderr] | [INFO] [stderr] 75 | requests: unsafe { &screensaver_requests as *const _ }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 75 | requests: unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 59 | fn interface_ptr() -> *const wl_interface { unsafe { &raw const 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-bg-cbf1dfd6d3e8baff/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 [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 312 | fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } } [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `wc-bg` (bin "wc-bg" test) generated 26 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [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 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wc_bg-b1189a0c41e4d577) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_rgba_conversion ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4d913e350d9221c84b298c2df71b3376f4b397b90030a4341c9e139a8d190d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d913e350d9221c84b298c2df71b3376f4b397b90030a4341c9e139a8d190d87", kill_on_drop: false }` [INFO] [stdout] 4d913e350d9221c84b298c2df71b3376f4b397b90030a4341c9e139a8d190d87