[INFO] cloning repository https://github.com/alggalin/ssbu-less-lag-3-frames-stutter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alggalin/ssbu-less-lag-3-frames-stutter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falggalin%2Fssbu-less-lag-3-frames-stutter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falggalin%2Fssbu-less-lag-3-frames-stutter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffbe363281dc56a4679db471662bd6cd2298209b [INFO] checking alggalin/ssbu-less-lag-3-frames-stutter against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falggalin%2Fssbu-less-lag-3-frames-stutter" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alggalin/ssbu-less-lag-3-frames-stutter [INFO] finished tweaking git repo https://github.com/alggalin/ssbu-less-lag-3-frames-stutter [INFO] tweaked toml for git repo https://github.com/alggalin/ssbu-less-lag-3-frames-stutter written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alggalin/ssbu-less-lag-3-frames-stutter on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alggalin/ssbu-less-lag-3-frames-stutter already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3d5a47fb521891c01a887ec705710532e04ecb605a8197078c5b9d6e3cd2c6e [INFO] running `Command { std: "docker" "start" "-a" "c3d5a47fb521891c01a887ec705710532e04ecb605a8197078c5b9d6e3cd2c6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3d5a47fb521891c01a887ec705710532e04ecb605a8197078c5b9d6e3cd2c6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d5a47fb521891c01a887ec705710532e04ecb605a8197078c5b9d6e3cd2c6e", kill_on_drop: false }` [INFO] [stdout] c3d5a47fb521891c01a887ec705710532e04ecb605a8197078c5b9d6e3cd2c6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d0502994a66c34540add60d75f94f8144e615dbf740a4adff466299d20ab9b6 [INFO] running `Command { std: "docker" "start" "-a" "0d0502994a66c34540add60d75f94f8144e615dbf740a4adff466299d20ab9b6", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling skyline_macro v0.2.1 (https://github.com/ultimate-research/skyline-rs#7bd379b2) [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Checking libc-nnsdk v0.4.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.16 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking serde_core v1.0.228 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking zmij v0.1.9 [INFO] [stderr] Checking nnsdk v0.5.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking skyline v0.5.1 (https://github.com/ultimate-research/skyline-rs#7bd379b2) [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `profiling::OsTick` and `vsync_history::get_system_tick` [INFO] [stdout] --> src/off_by_one.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{profiling::OsTick, vsync_history::get_system_tick}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/profiling.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/sequencing.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | sync::atomic::{AtomicBool, Ordering}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sequencing` [INFO] [stdout] --> src/swapchain.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sequencing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `profiling::OsTick` and `vsync_history::get_system_tick` [INFO] [stdout] --> src/off_by_one.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{profiling::OsTick, vsync_history::get_system_tick}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/profiling.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/sequencing.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | sync::atomic::{AtomicBool, Ordering}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sequencing` [INFO] [stdout] --> src/swapchain.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sequencing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/off_by_one.rs:75:47 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn post_scene_update_submit_render(ctx: &InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sequencing.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn run_scene_manager(ctx: &InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sequencing.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn log_frame_duration(ctx: &InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sequencing.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn run_scene_wait(ctx: &InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/swapchain.rs:91:45 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe fn flush_swap_buffers_before_present(ctx: &skyline::hooks::InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_vsync_disabled` [INFO] [stdout] --> src/swapchain.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn install(is_vsync_disabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_vsync_disabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_render_sync` [INFO] [stdout] --> src/vsync_history.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let p_render_sync = *((p_gfx_device + 0x20) as *const u64); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_render_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/vsync_history.rs:324:28 [INFO] [stdout] | [INFO] [stdout] 324 | fn profile_unk_taskworker1(ctx: &InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disable_frame_pacer` is never used [INFO] [stdout] --> src/pacer.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn disable_frame_pacer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> src/pacer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn install() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_nanos` and `to_nanos` are never used [INFO] [stdout] --> src/profiling.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl OsTick { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub const fn from_nanos(nanos: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const fn to_nanos(self) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Span` is never constructed [INFO] [stdout] --> src/profiling.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/profiling.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | FrameStart { tick: OsTick }, [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame` and `tick` are never read [INFO] [stdout] --> src/profiling.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | SubmitFrame { frame: usize, tick: OsTick }, [INFO] [stdout] | ----------- ^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `tick` are never read [INFO] [stdout] --> src/profiling.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | StartSpan { name: &'static str, tick: OsTick }, [INFO] [stdout] | --------- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/profiling.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | EndSpan { tick: OsTick }, [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame` and `tick` are never read [INFO] [stdout] --> src/profiling.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | FinishFrame { frame: usize, tick: OsTick }, [INFO] [stdout] | ----------- ^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/profiling.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | VBlank { tick: OsTick }, [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameSpan` is never constructed [INFO] [stdout] --> src/profiling.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct FrameSpan { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameInFlight` is never constructed [INFO] [stdout] --> src/profiling.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct FrameInFlight { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubmittedFrame` is never constructed [INFO] [stdout] --> src/profiling.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | struct SubmittedFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_span` is never used [INFO] [stdout] --> src/profiling.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn serialize_span(span: &FrameSpan, buffer: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_frame` is never used [INFO] [stdout] --> src/profiling.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn serialize_frame( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thread` is never used [INFO] [stdout] --> src/profiling.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn thread(receiver: Receiver) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/profiling.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn setup() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `patch_scene_manager_calls` is never used [INFO] [stdout] --> src/sequencing.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn patch_scene_manager_calls() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SHOULD_RUN` is never used [INFO] [stdout] --> src/sequencing.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | static SHOULD_RUN: AtomicBool = AtomicBool::new(true); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runner_thread` is never used [INFO] [stdout] --> src/sequencing.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn runner_thread(ptr: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `patch_sync_wait` is never used [INFO] [stdout] --> src/sequencing.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn patch_sync_wait() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> src/sequencing.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn install() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `patch_swap_flush_call` is never used [INFO] [stdout] --> src/swapchain.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn patch_swap_flush_call() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OFFSET1` is never used [INFO] [stdout] --> src/vsync.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | static mut OFFSET1: u64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OFFSET2` is never used [INFO] [stdout] --> src/vsync.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | static mut OFFSET2: u64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_nnsdk_offset` is never used [INFO] [stdout] --> src/vsync.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe fn calc_nnsdk_offset() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> src/vsync.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn install(profiling_enabled: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Enqueued` and `Presented` are never constructed [INFO] [stdout] --> src/vsync_history.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FrameStatus { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Enqueued, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | Presented, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LAST_ENQUEUED` is never used [INFO] [stdout] --> src/vsync_history.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | static mut LAST_ENQUEUED: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vsync_thread` is never used [INFO] [stdout] --> src/vsync_history.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn vsync_thread(layer: Layer, display: Display) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_to_timespan` is never used [INFO] [stdout] --> src/vsync_history.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn convert_to_timespan(tick: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/sequencing.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | if NVN_SYNC_WAIT.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/sequencing.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | if NVN_QUEUE_WAIT_SYNC.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | if ACQUIRE_TEXTURE_PTR.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | if SYNC_WAIT.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | wait_system_event(&mut SYSTEM_EVENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 139 | wait_system_event(&raw mut SYSTEM_EVENT); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:145:60 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | if PRESENT_TEXTURE_PTR.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:248:44 [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(get_display_vsync_event(&mut SYSTEM_EVENT, display), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(get_display_vsync_event(&raw mut SYSTEM_EVENT, display), 0); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/off_by_one.rs:75:47 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn post_scene_update_submit_render(ctx: &InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sequencing.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn run_scene_manager(ctx: &InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sequencing.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn log_frame_duration(ctx: &InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sequencing.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn run_scene_wait(ctx: &InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/swapchain.rs:91:45 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe fn flush_swap_buffers_before_present(ctx: &skyline::hooks::InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_vsync_disabled` [INFO] [stdout] --> src/swapchain.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn install(is_vsync_disabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_vsync_disabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_render_sync` [INFO] [stdout] --> src/vsync_history.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let p_render_sync = *((p_gfx_device + 0x20) as *const u64); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_render_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/vsync_history.rs:324:28 [INFO] [stdout] | [INFO] [stdout] 324 | fn profile_unk_taskworker1(ctx: &InlineCtx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disable_frame_pacer` is never used [INFO] [stdout] --> src/pacer.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn disable_frame_pacer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> src/pacer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn install() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_nanos` and `to_nanos` are never used [INFO] [stdout] --> src/profiling.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl OsTick { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub const fn from_nanos(nanos: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const fn to_nanos(self) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Span` is never constructed [INFO] [stdout] --> src/profiling.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/profiling.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | FrameStart { tick: OsTick }, [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame` and `tick` are never read [INFO] [stdout] --> src/profiling.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | SubmitFrame { frame: usize, tick: OsTick }, [INFO] [stdout] | ----------- ^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `tick` are never read [INFO] [stdout] --> src/profiling.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | StartSpan { name: &'static str, tick: OsTick }, [INFO] [stdout] | --------- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/profiling.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | EndSpan { tick: OsTick }, [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frame` and `tick` are never read [INFO] [stdout] --> src/profiling.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | FinishFrame { frame: usize, tick: OsTick }, [INFO] [stdout] | ----------- ^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/profiling.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | VBlank { tick: OsTick }, [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameSpan` is never constructed [INFO] [stdout] --> src/profiling.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct FrameSpan { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameInFlight` is never constructed [INFO] [stdout] --> src/profiling.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct FrameInFlight { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubmittedFrame` is never constructed [INFO] [stdout] --> src/profiling.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | struct SubmittedFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_span` is never used [INFO] [stdout] --> src/profiling.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn serialize_span(span: &FrameSpan, buffer: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_frame` is never used [INFO] [stdout] --> src/profiling.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn serialize_frame( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thread` is never used [INFO] [stdout] --> src/profiling.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn thread(receiver: Receiver) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/profiling.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn setup() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `patch_scene_manager_calls` is never used [INFO] [stdout] --> src/sequencing.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn patch_scene_manager_calls() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SHOULD_RUN` is never used [INFO] [stdout] --> src/sequencing.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | static SHOULD_RUN: AtomicBool = AtomicBool::new(true); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runner_thread` is never used [INFO] [stdout] --> src/sequencing.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn runner_thread(ptr: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `patch_sync_wait` is never used [INFO] [stdout] --> src/sequencing.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn patch_sync_wait() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> src/sequencing.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn install() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `patch_swap_flush_call` is never used [INFO] [stdout] --> src/swapchain.rs:153:4 [INFO] [stdout] | [INFO] [stdout] 153 | fn patch_swap_flush_call() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OFFSET1` is never used [INFO] [stdout] --> src/vsync.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | static mut OFFSET1: u64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OFFSET2` is never used [INFO] [stdout] --> src/vsync.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | static mut OFFSET2: u64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_nnsdk_offset` is never used [INFO] [stdout] --> src/vsync.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe fn calc_nnsdk_offset() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> src/vsync.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn install(profiling_enabled: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Enqueued` and `Presented` are never constructed [INFO] [stdout] --> src/vsync_history.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FrameStatus { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Enqueued, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | Presented, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LAST_ENQUEUED` is never used [INFO] [stdout] --> src/vsync_history.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | static mut LAST_ENQUEUED: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vsync_thread` is never used [INFO] [stdout] --> src/vsync_history.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn vsync_thread(layer: Layer, display: Display) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_to_timespan` is never used [INFO] [stdout] --> src/vsync_history.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn convert_to_timespan(tick: i64) -> i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/sequencing.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | if NVN_SYNC_WAIT.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/sequencing.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | if NVN_QUEUE_WAIT_SYNC.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | if ACQUIRE_TEXTURE_PTR.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | if SYNC_WAIT.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | wait_system_event(&mut SYSTEM_EVENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 139 | wait_system_event(&raw mut SYSTEM_EVENT); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:145:60 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | if PRESENT_TEXTURE_PTR.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/vsync_history.rs:248:44 [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(get_display_vsync_event(&mut SYSTEM_EVENT, display), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(get_display_vsync_event(&raw mut SYSTEM_EVENT, display), 0); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.44s [INFO] running `Command { std: "docker" "inspect" "0d0502994a66c34540add60d75f94f8144e615dbf740a4adff466299d20ab9b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0502994a66c34540add60d75f94f8144e615dbf740a4adff466299d20ab9b6", kill_on_drop: false }` [INFO] [stdout] 0d0502994a66c34540add60d75f94f8144e615dbf740a4adff466299d20ab9b6