[INFO] fetching crate rust-libretro 0.3.2... [INFO] testing rust-libretro-0.3.2 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate rust-libretro 0.3.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rust-libretro 0.3.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rust-libretro 0.3.2 [INFO] tweaked toml for crates.io crate rust-libretro 0.3.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-libretro 0.3.2 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-libretro 0.3.2 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e2193624116f85ed04189f105cdfe2a62d581726bded0600582ec440352c078 [INFO] running `Command { std: "docker" "start" "-a" "0e2193624116f85ed04189f105cdfe2a62d581726bded0600582ec440352c078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e2193624116f85ed04189f105cdfe2a62d581726bded0600582ec440352c078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e2193624116f85ed04189f105cdfe2a62d581726bded0600582ec440352c078", kill_on_drop: false }` [INFO] [stdout] 0e2193624116f85ed04189f105cdfe2a62d581726bded0600582ec440352c078 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a44dc4dcf2e1d446fb620a4af86de8620b99d4360207695a22cd34f4e4f6d22e [INFO] running `Command { std: "docker" "start" "-a" "a44dc4dcf2e1d446fb620a4af86de8620b99d4360207695a22cd34f4e4f6d22e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling bindgen v0.63.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling const-str v0.5.3 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling clang-sys v1.6.0 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rust-libretro-sys-proc v0.3.2 [INFO] [stderr] Compiling rust-libretro-sys v0.3.2 [INFO] [stderr] Compiling rust-libretro-proc v0.3.2 [INFO] [stderr] Compiling rust-libretro v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use macros::*; [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 variable: `err` [INFO] [stdout] --> src/environment.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/environment.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/environment.rs:1631:13 [INFO] [stdout] | [INFO] [stdout] 1631 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(mut wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | if RETRO_INSTANCE.is_some() { [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)]` (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/lib.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let core = &RETRO_INSTANCE.as_ref().unwrap().core; [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | RETRO_INSTANCE.replace(CoreWrapper::new(core)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 184 | / forward!( [INFO] [stdout] 185 | | #[doc = "Notifies the [`Core`] when all cheats should be unapplied."], [INFO] [stdout] 186 | | wrapper, [INFO] [stdout] 187 | | retro_cheat_reset, [INFO] [stdout] 188 | | on_cheat_reset, [INFO] [stdout] 189 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 190 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 191 | / forward!( [INFO] [stdout] 192 | | #[doc = "Notifies the [`Core`] when it is being closed and its resources should be freed."], [INFO] [stdout] 193 | | wrapper, [INFO] [stdout] 194 | | retro_deinit, [INFO] [stdout] 195 | | on_deinit, [INFO] [stdout] 196 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 197 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 198 | / forward!( [INFO] [stdout] 199 | | #[doc = "Called when the frontend needs region information from the [`Core`]."], [INFO] [stdout] 200 | | #[doc = ""], [INFO] [stdout] 201 | | #[doc = "## Note about RetroArch:"], [INFO] [stdout] ... | [INFO] [stdout] 206 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 207 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 208 | / forward!( [INFO] [stdout] 209 | | #[doc = "Notifies the [`Core`] when the current game should be reset."], [INFO] [stdout] 210 | | wrapper, [INFO] [stdout] 211 | | retro_reset, [INFO] [stdout] 212 | | on_reset, [INFO] [stdout] 213 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 214 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 215 | / forward!( [INFO] [stdout] 216 | | #[doc = "Called when the frontend needs to know how large a buffer to allocate for save states."], [INFO] [stdout] 217 | | #[doc = ""], [INFO] [stdout] 218 | | #[doc = "See also [`rust_libretro_sys::retro_serialize_size`]."], [INFO] [stdout] ... | [INFO] [stdout] 222 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 224 | / forward!( [INFO] [stdout] 225 | | #[doc = "Notifies the [`Core`] when the currently loaded game should be unloaded. Called before [`retro_deinit`]."], [INFO] [stdout] 226 | | wrapper, [INFO] [stdout] 227 | | retro_unload_game, [INFO] [stdout] 228 | | on_unload_game, [INFO] [stdout] 229 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 230 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 232 | / callback!( [INFO] [stdout] 233 | | #[doc = "Provides the audio sample callback to the [`Core`]."], [INFO] [stdout] 234 | | #[doc = ""], [INFO] [stdout] 235 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 238 | | on_set_audio_sample [INFO] [stdout] 239 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if (arg1.unwrap() as *const c_void).is_null() { [INFO] [stdout] | ^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(i16, i16)` [INFO] [stdout] ... [INFO] [stdout] 232 | / callback!( [INFO] [stdout] 233 | | #[doc = "Provides the audio sample callback to the [`Core`]."], [INFO] [stdout] 234 | | #[doc = ""], [INFO] [stdout] 235 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 238 | | on_set_audio_sample [INFO] [stdout] 239 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] = note: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 240 | / callback!( [INFO] [stdout] 241 | | #[doc = "Provides the batched audio sample callback to the [`Core`]."], [INFO] [stdout] 242 | | #[doc = ""], [INFO] [stdout] 243 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 246 | | on_set_audio_sample_batch [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if (arg1.unwrap() as *const c_void).is_null() { [INFO] [stdout] | ^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(*const i16, usize) -> usize` [INFO] [stdout] ... [INFO] [stdout] 240 | / callback!( [INFO] [stdout] 241 | | #[doc = "Provides the batched audio sample callback to the [`Core`]."], [INFO] [stdout] 242 | | #[doc = ""], [INFO] [stdout] 243 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 246 | | on_set_audio_sample_batch [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 248 | / callback!( [INFO] [stdout] 249 | | #[doc = "Provides the input polling callback to the [`Core`]."], [INFO] [stdout] 250 | | #[doc = ""], [INFO] [stdout] 251 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 254 | | on_set_input_poll [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if (arg1.unwrap() as *const c_void).is_null() { [INFO] [stdout] | ^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn()` [INFO] [stdout] ... [INFO] [stdout] 248 | / callback!( [INFO] [stdout] 249 | | #[doc = "Provides the input polling callback to the [`Core`]."], [INFO] [stdout] 250 | | #[doc = ""], [INFO] [stdout] 251 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 254 | | on_set_input_poll [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 256 | / callback!( [INFO] [stdout] 257 | | #[doc = "Provides the input state request callback to the [`Core`]."], [INFO] [stdout] 258 | | #[doc = ""], [INFO] [stdout] 259 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 262 | | on_set_input_state [INFO] [stdout] 263 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if (arg1.unwrap() as *const c_void).is_null() { [INFO] [stdout] | ^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(u32, u32, u32, u32) -> i16` [INFO] [stdout] ... [INFO] [stdout] 256 | / callback!( [INFO] [stdout] 257 | | #[doc = "Provides the input state request callback to the [`Core`]."], [INFO] [stdout] 258 | | #[doc = ""], [INFO] [stdout] 259 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 262 | | on_set_input_state [INFO] [stdout] 263 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 264 | / callback!( [INFO] [stdout] 265 | | #[doc = "Provides the frame drawing callback to the [`Core`]."], [INFO] [stdout] 266 | | #[doc = ""], [INFO] [stdout] 267 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 270 | | on_set_video_refresh [INFO] [stdout] 271 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if (arg1.unwrap() as *const c_void).is_null() { [INFO] [stdout] | ^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(*const std::ffi::c_void, u32, u32, usize)` [INFO] [stdout] ... [INFO] [stdout] 264 | / callback!( [INFO] [stdout] 265 | | #[doc = "Provides the frame drawing callback to the [`Core`]."], [INFO] [stdout] 266 | | #[doc = ""], [INFO] [stdout] 267 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 270 | | on_set_video_refresh [INFO] [stdout] 271 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:290:32 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(mut wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | if SYS_INFO.is_none() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:333:36 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:395:28 [INFO] [stdout] | [INFO] [stdout] 395 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:446:28 [INFO] [stdout] | [INFO] [stdout] 446 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:468:28 [INFO] [stdout] | [INFO] [stdout] 468 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:523:28 [INFO] [stdout] | [INFO] [stdout] 523 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:554:28 [INFO] [stdout] | [INFO] [stdout] 554 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:589:28 [INFO] [stdout] | [INFO] [stdout] 589 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:617:28 [INFO] [stdout] | [INFO] [stdout] 617 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:674:28 [INFO] [stdout] | [INFO] [stdout] 674 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:721:28 [INFO] [stdout] | [INFO] [stdout] 721 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:742:28 [INFO] [stdout] | [INFO] [stdout] 742 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:775:28 [INFO] [stdout] | [INFO] [stdout] 775 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:801:28 [INFO] [stdout] | [INFO] [stdout] 801 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:819:28 [INFO] [stdout] | [INFO] [stdout] 819 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:837:28 [INFO] [stdout] | [INFO] [stdout] 837 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:850:28 [INFO] [stdout] | [INFO] [stdout] 850 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:863:28 [INFO] [stdout] | [INFO] [stdout] 863 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:876:28 [INFO] [stdout] | [INFO] [stdout] 876 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:889:28 [INFO] [stdout] | [INFO] [stdout] 889 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:905:28 [INFO] [stdout] | [INFO] [stdout] 905 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:918:28 [INFO] [stdout] | [INFO] [stdout] 918 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:934:28 [INFO] [stdout] | [INFO] [stdout] 934 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:953:28 [INFO] [stdout] | [INFO] [stdout] 953 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:980:28 [INFO] [stdout] | [INFO] [stdout] 980 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1003:28 [INFO] [stdout] | [INFO] [stdout] 1003 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1018:28 [INFO] [stdout] | [INFO] [stdout] 1018 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1049:28 [INFO] [stdout] | [INFO] [stdout] 1049 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1070:28 [INFO] [stdout] | [INFO] [stdout] 1070 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1089:28 [INFO] [stdout] | [INFO] [stdout] 1089 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1109:28 [INFO] [stdout] | [INFO] [stdout] 1109 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1127:28 [INFO] [stdout] | [INFO] [stdout] 1127 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1145:28 [INFO] [stdout] | [INFO] [stdout] 1145 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1167:28 [INFO] [stdout] | [INFO] [stdout] 1167 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1191:28 [INFO] [stdout] | [INFO] [stdout] 1191 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1208:28 [INFO] [stdout] | [INFO] [stdout] 1208 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1223:28 [INFO] [stdout] | [INFO] [stdout] 1223 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/contexts.rs:1447:9 [INFO] [stdout] | [INFO] [stdout] 1447 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1452 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1452 | ) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/contexts.rs:1491:9 [INFO] [stdout] | [INFO] [stdout] 1491 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1496 | ) -> Framebuffer { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1496 | ) -> Framebuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/contexts.rs:1500:37 [INFO] [stdout] | [INFO] [stdout] 1500 | let data = unsafe { &mut FALLBACK_FRAMEBUFFER }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1500 | let data = unsafe { &raw mut FALLBACK_FRAMEBUFFER }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/environment.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if (callback as *const c_void).is_null() { [INFO] [stdout] | ^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(u32, *mut std::ffi::c_void) -> bool` [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/environment.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if (callback as *const c_void).is_null() { [INFO] [stdout] | ^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(u32, *mut std::ffi::c_void) -> bool` [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.36s [INFO] running `Command { std: "docker" "inspect" "a44dc4dcf2e1d446fb620a4af86de8620b99d4360207695a22cd34f4e4f6d22e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a44dc4dcf2e1d446fb620a4af86de8620b99d4360207695a22cd34f4e4f6d22e", kill_on_drop: false }` [INFO] [stdout] a44dc4dcf2e1d446fb620a4af86de8620b99d4360207695a22cd34f4e4f6d22e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d10cdc7fc01da3382a6eb2de099f6ccb18b1b5c1bc9cf822ad759eb14d063c15 [INFO] running `Command { std: "docker" "start" "-a" "d10cdc7fc01da3382a6eb2de099f6ccb18b1b5c1bc9cf822ad759eb14d063c15", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rayon-core v1.10.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling dasp_ring_buffer v0.11.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling bindgen v0.63.0 [INFO] [stderr] Compiling spin v0.9.5 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling simd-adler32 v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling bytemuck v1.13.0 [INFO] [stderr] Compiling zune-inflate v0.2.50 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling cmake v0.1.49 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling dasp_rms v0.11.0 [INFO] [stderr] Compiling dasp_peak v0.11.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling dasp_envelope v0.11.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling dasp_interpolate v0.11.0 [INFO] [stderr] Compiling dasp_window v0.11.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling byterepr v0.1.0 [INFO] [stderr] Compiling dasp_signal v0.11.0 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling shaderc-sys v0.7.4 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.5.3 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling rust-libretro-sys v0.3.2 [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling image v0.24.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling rust-libretro-proc v0.3.2 [INFO] [stderr] Compiling rust-libretro v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use macros::*; [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 variable: `err` [INFO] [stdout] --> src/environment.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/environment.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/environment.rs:1631:13 [INFO] [stdout] | [INFO] [stdout] 1631 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(mut wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | if RETRO_INSTANCE.is_some() { [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)]` (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/lib.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let core = &RETRO_INSTANCE.as_ref().unwrap().core; [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | RETRO_INSTANCE.replace(CoreWrapper::new(core)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 184 | / forward!( [INFO] [stdout] 185 | | #[doc = "Notifies the [`Core`] when all cheats should be unapplied."], [INFO] [stdout] 186 | | wrapper, [INFO] [stdout] 187 | | retro_cheat_reset, [INFO] [stdout] 188 | | on_cheat_reset, [INFO] [stdout] 189 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 190 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 191 | / forward!( [INFO] [stdout] 192 | | #[doc = "Notifies the [`Core`] when it is being closed and its resources should be freed."], [INFO] [stdout] 193 | | wrapper, [INFO] [stdout] 194 | | retro_deinit, [INFO] [stdout] 195 | | on_deinit, [INFO] [stdout] 196 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 197 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 198 | / forward!( [INFO] [stdout] 199 | | #[doc = "Called when the frontend needs region information from the [`Core`]."], [INFO] [stdout] 200 | | #[doc = ""], [INFO] [stdout] 201 | | #[doc = "## Note about RetroArch:"], [INFO] [stdout] ... | [INFO] [stdout] 206 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 207 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 208 | / forward!( [INFO] [stdout] 209 | | #[doc = "Notifies the [`Core`] when the current game should be reset."], [INFO] [stdout] 210 | | wrapper, [INFO] [stdout] 211 | | retro_reset, [INFO] [stdout] 212 | | on_reset, [INFO] [stdout] 213 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 214 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 215 | / forward!( [INFO] [stdout] 216 | | #[doc = "Called when the frontend needs to know how large a buffer to allocate for save states."], [INFO] [stdout] 217 | | #[doc = ""], [INFO] [stdout] 218 | | #[doc = "See also [`rust_libretro_sys::retro_serialize_size`]."], [INFO] [stdout] ... | [INFO] [stdout] 222 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 223 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some($wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 224 | / forward!( [INFO] [stdout] 225 | | #[doc = "Notifies the [`Core`] when the currently loaded game should be unloaded. Called before [`retro_deinit`]."], [INFO] [stdout] 226 | | wrapper, [INFO] [stdout] 227 | | retro_unload_game, [INFO] [stdout] 228 | | on_unload_game, [INFO] [stdout] 229 | | GenericContext::new(&wrapper.environment_callback, Arc::clone(&wrapper.interfaces)) [INFO] [stdout] 230 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `forward` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 232 | / callback!( [INFO] [stdout] 233 | | #[doc = "Provides the audio sample callback to the [`Core`]."], [INFO] [stdout] 234 | | #[doc = ""], [INFO] [stdout] 235 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 238 | | on_set_audio_sample [INFO] [stdout] 239 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if (arg1.unwrap() as *const c_void).is_null() { [INFO] [stdout] | ^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(i16, i16)` [INFO] [stdout] ... [INFO] [stdout] 232 | / callback!( [INFO] [stdout] 233 | | #[doc = "Provides the audio sample callback to the [`Core`]."], [INFO] [stdout] 234 | | #[doc = ""], [INFO] [stdout] 235 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 238 | | on_set_audio_sample [INFO] [stdout] 239 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] = note: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 240 | / callback!( [INFO] [stdout] 241 | | #[doc = "Provides the batched audio sample callback to the [`Core`]."], [INFO] [stdout] 242 | | #[doc = ""], [INFO] [stdout] 243 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 246 | | on_set_audio_sample_batch [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if (arg1.unwrap() as *const c_void).is_null() { [INFO] [stdout] | ^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(*const i16, usize) -> usize` [INFO] [stdout] ... [INFO] [stdout] 240 | / callback!( [INFO] [stdout] 241 | | #[doc = "Provides the batched audio sample callback to the [`Core`]."], [INFO] [stdout] 242 | | #[doc = ""], [INFO] [stdout] 243 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 246 | | on_set_audio_sample_batch [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 248 | / callback!( [INFO] [stdout] 249 | | #[doc = "Provides the input polling callback to the [`Core`]."], [INFO] [stdout] 250 | | #[doc = ""], [INFO] [stdout] 251 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 254 | | on_set_input_poll [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if (arg1.unwrap() as *const c_void).is_null() { [INFO] [stdout] | ^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn()` [INFO] [stdout] ... [INFO] [stdout] 248 | / callback!( [INFO] [stdout] 249 | | #[doc = "Provides the input polling callback to the [`Core`]."], [INFO] [stdout] 250 | | #[doc = ""], [INFO] [stdout] 251 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 254 | | on_set_input_poll [INFO] [stdout] 255 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 256 | / callback!( [INFO] [stdout] 257 | | #[doc = "Provides the input state request callback to the [`Core`]."], [INFO] [stdout] 258 | | #[doc = ""], [INFO] [stdout] 259 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 262 | | on_set_input_state [INFO] [stdout] 263 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if (arg1.unwrap() as *const c_void).is_null() { [INFO] [stdout] | ^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(u32, u32, u32, u32) -> i16` [INFO] [stdout] ... [INFO] [stdout] 256 | / callback!( [INFO] [stdout] 257 | | #[doc = "Provides the input state request callback to the [`Core`]."], [INFO] [stdout] 258 | | #[doc = ""], [INFO] [stdout] 259 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 262 | | on_set_input_state [INFO] [stdout] 263 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 264 | / callback!( [INFO] [stdout] 265 | | #[doc = "Provides the frame drawing callback to the [`Core`]."], [INFO] [stdout] 266 | | #[doc = ""], [INFO] [stdout] 267 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 270 | | on_set_video_refresh [INFO] [stdout] 271 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if (arg1.unwrap() as *const c_void).is_null() { [INFO] [stdout] | ^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(*const std::ffi::c_void, u32, u32, usize)` [INFO] [stdout] ... [INFO] [stdout] 264 | / callback!( [INFO] [stdout] 265 | | #[doc = "Provides the frame drawing callback to the [`Core`]."], [INFO] [stdout] 266 | | #[doc = ""], [INFO] [stdout] 267 | | #[doc = "Guaranteed to have been called before the first call to [`retro_run`] is made."], [INFO] [stdout] ... | [INFO] [stdout] 270 | | on_set_video_refresh [INFO] [stdout] 271 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] = note: this warning originates in the macro `callback` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:290:32 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(mut wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | if SYS_INFO.is_none() { [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:333:36 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:395:28 [INFO] [stdout] | [INFO] [stdout] 395 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:446:28 [INFO] [stdout] | [INFO] [stdout] 446 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:468:28 [INFO] [stdout] | [INFO] [stdout] 468 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:523:28 [INFO] [stdout] | [INFO] [stdout] 523 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:554:28 [INFO] [stdout] | [INFO] [stdout] 554 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:589:28 [INFO] [stdout] | [INFO] [stdout] 589 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:617:28 [INFO] [stdout] | [INFO] [stdout] 617 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:674:28 [INFO] [stdout] | [INFO] [stdout] 674 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:721:28 [INFO] [stdout] | [INFO] [stdout] 721 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:742:28 [INFO] [stdout] | [INFO] [stdout] 742 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:775:28 [INFO] [stdout] | [INFO] [stdout] 775 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:801:28 [INFO] [stdout] | [INFO] [stdout] 801 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:819:28 [INFO] [stdout] | [INFO] [stdout] 819 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:837:28 [INFO] [stdout] | [INFO] [stdout] 837 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:850:28 [INFO] [stdout] | [INFO] [stdout] 850 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:863:28 [INFO] [stdout] | [INFO] [stdout] 863 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:876:28 [INFO] [stdout] | [INFO] [stdout] 876 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:889:28 [INFO] [stdout] | [INFO] [stdout] 889 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:905:28 [INFO] [stdout] | [INFO] [stdout] 905 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:918:28 [INFO] [stdout] | [INFO] [stdout] 918 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:934:28 [INFO] [stdout] | [INFO] [stdout] 934 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:953:28 [INFO] [stdout] | [INFO] [stdout] 953 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:980:28 [INFO] [stdout] | [INFO] [stdout] 980 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1003:28 [INFO] [stdout] | [INFO] [stdout] 1003 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1018:28 [INFO] [stdout] | [INFO] [stdout] 1018 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1049:28 [INFO] [stdout] | [INFO] [stdout] 1049 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1070:28 [INFO] [stdout] | [INFO] [stdout] 1070 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1089:28 [INFO] [stdout] | [INFO] [stdout] 1089 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1109:28 [INFO] [stdout] | [INFO] [stdout] 1109 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1127:28 [INFO] [stdout] | [INFO] [stdout] 1127 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1145:28 [INFO] [stdout] | [INFO] [stdout] 1145 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1167:28 [INFO] [stdout] | [INFO] [stdout] 1167 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1191:28 [INFO] [stdout] | [INFO] [stdout] 1191 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1208:28 [INFO] [stdout] | [INFO] [stdout] 1208 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1223:28 [INFO] [stdout] | [INFO] [stdout] 1223 | if let Some(wrapper) = RETRO_INSTANCE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/contexts.rs:1447:9 [INFO] [stdout] | [INFO] [stdout] 1447 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1452 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1452 | ) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/contexts.rs:1491:9 [INFO] [stdout] | [INFO] [stdout] 1491 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1496 | ) -> Framebuffer { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1496 | ) -> Framebuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/contexts.rs:1500:37 [INFO] [stdout] | [INFO] [stdout] 1500 | let data = unsafe { &mut FALLBACK_FRAMEBUFFER }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1500 | let data = unsafe { &raw mut FALLBACK_FRAMEBUFFER }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/environment.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if (callback as *const c_void).is_null() { [INFO] [stdout] | ^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(u32, *mut std::ffi::c_void) -> bool` [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointers are not nullable, so checking them for null will always return false [INFO] [stdout] --> src/environment.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if (callback as *const c_void).is_null() { [INFO] [stdout] | ^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expression has type `unsafe extern "C" fn(u32, *mut std::ffi::c_void) -> bool` [INFO] [stdout] | [INFO] [stdout] = help: wrap the function pointer inside an `Option` and use `Option::is_none` to check for null pointer value [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: shaderc-sys@0.7.4: shaderc: searching for native shaderc libraries on system; use '--features build-from-source' to force building from source code [INFO] [stderr] warning: shaderc-sys@0.7.4: shaderc: cannot find native shaderc library on system; falling back to build from source [INFO] [stderr] error: failed to run custom build command for `shaderc-sys v0.7.4` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/shaderc-sys-0afcfec8e5e492fa/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:warning=shaderc: searching for native shaderc libraries on system; use '--features build-from-source' to force building from source code [INFO] [stderr] cargo:warning=shaderc: cannot find native shaderc library on system; falling back to build from source [INFO] [stderr] CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_TOOLCHAIN_FILE = None [INFO] [stderr] CMAKE_TOOLCHAIN_FILE = None [INFO] [stderr] CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_PREFIX_PATH = None [INFO] [stderr] CMAKE_PREFIX_PATH = None [INFO] [stderr] CMAKE_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE = None [INFO] [stderr] CMAKE = None [INFO] [stderr] running: cd "/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build" "-G" "Ninja" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" "-DENABLE_SPVREMAPPER=OFF" "-DENABLE_GLSLANG_BINARIES=OFF" "-DSHADERC_SKIP_TESTS=ON" "-DSPIRV_SKIP_EXECUTABLES=ON" "-DSPIRV_WERROR=OFF" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Release" [INFO] [stderr] -- The C compiler identification is GNU 13.3.0 [INFO] [stderr] -- The CXX compiler identification is GNU 13.3.0 [INFO] [stderr] -- Detecting C compiler ABI info [INFO] [stderr] -- Detecting C compiler ABI info - done [INFO] [stderr] -- Check for working C compiler: /usr/bin/cc - skipped [INFO] [stderr] -- Detecting C compile features [INFO] [stderr] -- Detecting C compile features - done [INFO] [stderr] -- Detecting CXX compiler ABI info [INFO] [stderr] -- Detecting CXX compiler ABI info - done [INFO] [stderr] -- Check for working CXX compiler: /usr/bin/c++ - skipped [INFO] [stderr] -- Detecting CXX compile features [INFO] [stderr] -- Detecting CXX compile features - done [INFO] [stderr] -- Building SPIRV-Header examples [INFO] [stderr] -- Installing SPIRV-Header [INFO] [stderr] -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.12.3", minimum required is "3") [INFO] [stderr] -- Google Mock was not found - tests based on that will not build [INFO] [stderr] -- optimizer enabled [INFO] [stderr] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [INFO] [stderr] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success [INFO] [stderr] -- Found Threads: TRUE [INFO] [stderr] -- Shaderc: build type is "Release". [INFO] [stderr] -- Configuring Shaderc to avoid building tests. [INFO] [stderr] -- Configuring Shaderc to build examples. [INFO] [stderr] -- Configuring Shaderc to check copyrights. [INFO] [stderr] -- asciidoctor was not found - no documentation will be generated [INFO] [stderr] -- Performing Test COMPILER_SUPPORTS_FALLTHROUGH_WARNING [INFO] [stderr] -- Performing Test COMPILER_SUPPORTS_FALLTHROUGH_WARNING - Success [INFO] [stderr] -- Performing Test COMPILER_SUPPORTS_EXTRA_SEMI_WARNING [INFO] [stderr] -- Performing Test COMPILER_SUPPORTS_EXTRA_SEMI_WARNING - Success [INFO] [stderr] -- Performing Test COMPILER_SUPPORTS_PIC [INFO] [stderr] -- Performing Test COMPILER_SUPPORTS_PIC - Success [INFO] [stderr] -- Configuring done (4.8s) [INFO] [stderr] -- Generating done (0.3s) [INFO] [stderr] -- Build files have been written to: /opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build [INFO] [stderr] running: cd "/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build" && "cmake" "--build" "." "--target" "install" "--config" "Release" "--parallel" "16" [INFO] [stderr] [1/391] cd /opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/spirv-tools && /usr/bin/cmake -DCHANGES_FILE=/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/spirv-tools/CHANGES -DTEMPLATE_FILE=/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/spirv-tools/cmake/SPIRV-Tools.pc.in -DOUT_FILE=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/spirv-tools/SPIRV-Tools.pc -DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_INCLUDEDIR=include -DSPIRV_LIBRARIES=-lSPIRV-Tools-opt\ -lSPIRV-Tools\ -lSPIRV-Tools-link -P /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/spirv-tools/cmake/write_pkg_config.cmake [INFO] [stderr] [2/391] cd /opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/spirv-tools && /usr/bin/cmake -DCHANGES_FILE=/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/spirv-tools/CHANGES -DTEMPLATE_FILE=/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/spirv-tools/cmake/SPIRV-Tools-shared.pc.in -DOUT_FILE=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/spirv-tools/SPIRV-Tools-shared.pc -DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_INCLUDEDIR=include -DSPIRV_SHARED_LIBRARIES=-lSPIRV-Tools-shared -P /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/spirv-tools/cmake/write_pkg_config.cmake [INFO] [stderr] [3/391] Generate extended instruction tables for spv-amd-gcn-shader. [INFO] [stderr] [4/391] Building CXX object spirv-headers/example/CMakeFiles/SPIRV-Headers-example.dir/example.cpp.o [INFO] [stderr] [5/391] Generate extended instruction tables for spv-amd-shader-trinary-minmax. [INFO] [stderr] [6/391] Generate extended instruction tables for opencl.debuginfo.100. [INFO] [stderr] [7/391] Generate extended instruction tables for nonsemantic.shader.debuginfo.100. [INFO] [stderr] [8/391] Generate language specific header for OpenCLDebugInfo100. [INFO] [stderr] [9/391] Generate extended instruction tables for debuginfo. [INFO] [stderr] [10/391] Generate language specific header for NonSemanticShaderDebugInfo100. [INFO] [stderr] [11/391] Building CXX object glslang/hlsl/CMakeFiles/HLSL.dir/stub.cpp.o [INFO] [stderr] [12/391] Generate extended instruction tables for spv-amd-shader-ballot. [INFO] [stderr] [13/391] Update build-version.inc in the SPIRV-Tools build directory (if necessary). [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/spirv-tools/utils/update_build_version.py:122: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). [INFO] [stderr] formatted = datetime.datetime.utcfromtimestamp(timestamp).isoformat() [INFO] [stderr] [14/391] Generate language specific header for DebugInfo. [INFO] [stderr] [15/391] Generate info tables for SPIR-V vunified1 core instructions and operands. [INFO] [stderr] [16/391] Generate tables based on the SPIR-V XML registry. [INFO] [stderr] [17/391] cd /opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/shaderc && /usr/bin/cmake -DCHANGES_FILE=/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/shaderc/CHANGES -DTEMPLATE_FILE=/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/shaderc/cmake/shaderc_combined.pc.in -DOUT_FILE=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/shaderc/shaderc_combined.pc -DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_INCLUDEDIR=include -DLIBS=-lshaderc_combined -P /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/shaderc/cmake/write_pkg_config.cmake [INFO] [stderr] [18/391] cd /opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/shaderc && /usr/bin/cmake -DCHANGES_FILE=/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/shaderc/CHANGES -DTEMPLATE_FILE=/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/shaderc/cmake/shaderc.pc.in -DOUT_FILE=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/shaderc/shaderc.pc -DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_INCLUDEDIR=include -DLIBS=-lshaderc_shared -P /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/shaderc/cmake/write_pkg_config.cmake [INFO] [stderr] [19/391] cd /opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/shaderc && /usr/bin/cmake -DCHANGES_FILE=/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/shaderc/CHANGES -DTEMPLATE_FILE=/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/shaderc/cmake/shaderc_static.pc.in -DOUT_FILE=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/shaderc/shaderc_static.pc -DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_INCLUDEDIR=include -DLIBS=-lshaderc\ \ -lshaderc_util -P /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/shaderc-sys-0.7.4/build/shaderc/cmake/write_pkg_config.cmake [INFO] [stderr] [20/391] Generate extended instruction tables for spv-amd-shader-explicit-vertex-parameter. [INFO] [stderr] [21/391] Check copyright [INFO] [stderr] [22/391] Building CXX object glslang/glslang/OSDependent/Unix/CMakeFiles/OSDependent.dir/ossource.cpp.o [INFO] [stderr] [23/391] Generate extended instruction tables for nonsemantic.clspvreflection. [INFO] [stderr] [24/391] Update build-version.inc in the Shaderc build directory (if necessary). [INFO] [stderr] [25/391] Generate enum-string mapping for SPIR-V vunified1. [INFO] [stderr] [26/391] Linking CXX static library spirv-headers/example/libSPIRV-Headers-example.a [INFO] [stderr] [27/391] Generate info tables for GLSL extended instructions and operands vunified1. [INFO] [stderr] [28/391] Generate info tables for OpenCL extended instructions and operands vunified1. [INFO] [stderr] [29/391] Linking CXX static library glslang/glslang/OSDependent/Unix/libOSDependent.a [INFO] [stderr] [30/391] Linking CXX static library glslang/hlsl/libHLSL.a [INFO] [stderr] [31/391] Building CXX object glslang/OGLCompilersDLL/CMakeFiles/OGLCompiler.dir/InitializeDll.cpp.o [INFO] [stderr] [32/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/ext_inst.cpp.o [INFO] [stderr] [33/391] Building CXX object glslang/glslang/CMakeFiles/GenericCodeGen.dir/GenericCodeGen/CodeGen.cpp.o [INFO] [stderr] [34/391] Building CXX object glslang/glslang/CMakeFiles/GenericCodeGen.dir/GenericCodeGen/Link.cpp.o [INFO] [stderr] [35/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/enum_string_mapping.cpp.o [INFO] [stderr] [36/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/util/bit_vector.cpp.o [INFO] [stderr] [37/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/util/string_utils.cpp.o [INFO] [stderr] [38/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/spirv_endian.cpp.o [INFO] [stderr] [39/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/software_version.cpp.o [INFO] [stderr] [40/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/spirv_optimizer_options.cpp.o [INFO] [stderr] [41/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/assembly_grammar.cpp.o [INFO] [stderr] [42/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/extensions.cpp.o [INFO] [stderr] [43/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/print.cpp.o [INFO] [stderr] [44/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/spirv_validator_options.cpp.o [INFO] [stderr] [45/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/opcode.cpp.o [INFO] [stderr] [46/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/diagnostic.cpp.o [INFO] [stderr] [47/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/spirv_fuzzer_options.cpp.o [INFO] [stderr] [48/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/spirv_reducer_options.cpp.o [INFO] [stderr] [49/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/table.cpp.o [INFO] [stderr] [50/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/libspirv.cpp.o [INFO] [stderr] [51/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/spirv_target_env.cpp.o [INFO] [stderr] [52/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/disassemble.cpp.o [INFO] [stderr] [53/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/parsed_operand.cpp.o [INFO] [stderr] [54/391] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/CInterface/glslang_c_interface.cpp.o [INFO] [stderr] [55/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/name_mapper.cpp.o [INFO] [stderr] [56/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/operand.cpp.o [INFO] [stderr] [57/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/util/parse_number.cpp.o [INFO] [stderr] [58/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_barriers.cpp.o [INFO] [stderr] [59/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_adjacency.cpp.o [INFO] [stderr] [60/391] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx.gch [INFO] [stderr] FAILED: glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx.gch [INFO] [stderr] /usr/bin/c++ -DENABLE_HLSL -DENABLE_OPT=1 -DGLSLANG_OSINCLUDE_UNIX -I/opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/include -ffunction-sections -fdata-sections -fPIC -m64 -O3 -DNDEBUG -std=c++11 -fPIC -Wall -Wmaybe-uninitialized -Wuninitialized -Wunused -Wunused-local-typedefs -Wunused-parameter -Wunused-value -Wunused-variable -Wunused-but-set-parameter -Wunused-but-set-variable -fno-exceptions -Wno-reorder -fno-rtti -Werror=deprecated-copy -Winvalid-pch -x c++-header -include /opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx -MD -MT glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx.gch -MF glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx.gch.d -o glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx.gch -c /opt/rustwide/target/debug/build/shaderc-sys-277ee5f0dad21747/out/build/glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx.cxx [INFO] [stderr] c++: fatal error: Killed signal terminated program cc1plus [INFO] [stderr] compilation terminated. [INFO] [stderr] [61/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/binary.cpp.o [INFO] [stderr] [62/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/text.cpp.o [INFO] [stderr] [63/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_bitwise.cpp.o [INFO] [stderr] [64/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/text_handler.cpp.o [INFO] [stderr] [65/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_arithmetics.cpp.o [INFO] [stderr] [66/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_atomics.cpp.o [INFO] [stderr] [67/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_capability.cpp.o [INFO] [stderr] [68/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_constants.cpp.o [INFO] [stderr] [69/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_debug.cpp.o [INFO] [stderr] [70/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_annotation.cpp.o [INFO] [stderr] [71/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_conversion.cpp.o [INFO] [stderr] [72/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_composites.cpp.o [INFO] [stderr] [73/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate.cpp.o [INFO] [stderr] [74/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_cfg.cpp.o [INFO] [stderr] [75/391] Building CXX object spirv-tools/source/CMakeFiles/SPIRV-Tools-shared.dir/val/validate_builtins.cpp.o [INFO] [stderr] ninja: build stopped: subcommand failed. [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] CMake Deprecation Warning at CMakeLists.txt:6 (cmake_minimum_required): [INFO] [stderr] Compatibility with CMake < 3.5 will be removed from a future version of [INFO] [stderr] CMake. [INFO] [stderr] [INFO] [stderr] Update the VERSION argument value or use a ... suffix to tell [INFO] [stderr] CMake that the project does not need compatibility with older versions. [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] CMake Deprecation Warning at spirv-headers/CMakeLists.txt:31 (cmake_minimum_required): [INFO] [stderr] Compatibility with CMake < 3.5 will be removed from a future version of [INFO] [stderr] CMake. [INFO] [stderr] [INFO] [stderr] Update the VERSION argument value or use a ... suffix to tell [INFO] [stderr] CMake that the project does not need compatibility with older versions. [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] CMake Deprecation Warning at spirv-tools/CMakeLists.txt:15 (cmake_minimum_required): [INFO] [stderr] Compatibility with CMake < 3.5 will be removed from a future version of [INFO] [stderr] CMake. [INFO] [stderr] [INFO] [stderr] Update the VERSION argument value or use a ... suffix to tell [INFO] [stderr] CMake that the project does not need compatibility with older versions. [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] CMake Warning (dev) at spirv-tools/CMakeLists.txt:236 (find_package): [INFO] [stderr] Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules [INFO] [stderr] are removed. Run "cmake --help-policy CMP0148" for policy details. Use [INFO] [stderr] the cmake_policy command to set the policy and suppress this warning. [INFO] [stderr] [INFO] [stderr] Call Stack (most recent call first): [INFO] [stderr] spirv-tools/CMakeLists.txt:246 (find_host_package) [INFO] [stderr] This warning is for project developers. Use -Wno-dev to suppress it. [INFO] [stderr] [INFO] [stderr] CMake Deprecation Warning at glslang/CMakeLists.txt:36 (cmake_minimum_required): [INFO] [stderr] Compatibility with CMake < 3.5 will be removed from a future version of [INFO] [stderr] CMake. [INFO] [stderr] [INFO] [stderr] Update the VERSION argument value or use a ... suffix to tell [INFO] [stderr] CMake that the project does not need compatibility with older versions. [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] CMake Warning (dev) at spirv-tools/CMakeLists.txt:236 (find_package): [INFO] [stderr] Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules [INFO] [stderr] are removed. Run "cmake --help-policy CMP0148" for policy details. Use [INFO] [stderr] the cmake_policy command to set the policy and suppress this warning. [INFO] [stderr] [INFO] [stderr] Call Stack (most recent call first): [INFO] [stderr] glslang/CMakeLists.txt:304 (find_host_package) [INFO] [stderr] This warning is for project developers. Use -Wno-dev to suppress it. [INFO] [stderr] [INFO] [stderr] CMake Deprecation Warning at shaderc/CMakeLists.txt:15 (cmake_minimum_required): [INFO] [stderr] Compatibility with CMake < 3.5 will be removed from a future version of [INFO] [stderr] CMake. [INFO] [stderr] [INFO] [stderr] Update the VERSION argument value or use a ... suffix to tell [INFO] [stderr] CMake that the project does not need compatibility with older versions. [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] CMake Warning (dev) at shaderc/cmake/setup_build.cmake:52 (find_package): [INFO] [stderr] Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules [INFO] [stderr] are removed. Run "cmake --help-policy CMP0148" for policy details. Use [INFO] [stderr] the cmake_policy command to set the policy and suppress this warning. [INFO] [stderr] [INFO] [stderr] Call Stack (most recent call first): [INFO] [stderr] shaderc/CMakeLists.txt:68 (include) [INFO] [stderr] This warning is for project developers. Use -Wno-dev to suppress it. [INFO] [stderr] [INFO] [stderr] CMake Warning (dev) at spirv-tools/CMakeLists.txt:236 (find_package): [INFO] [stderr] Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules [INFO] [stderr] are removed. Run "cmake --help-policy CMP0148" for policy details. Use [INFO] [stderr] the cmake_policy command to set the policy and suppress this warning. [INFO] [stderr] [INFO] [stderr] Call Stack (most recent call first): [INFO] [stderr] shaderc/CMakeLists.txt:93 (find_host_package) [INFO] [stderr] This warning is for project developers. Use -Wno-dev to suppress it. [INFO] [stderr] [INFO] [stderr] CMake Warning: [INFO] [stderr] Manually-specified variables were not used by the project: [INFO] [stderr] [INFO] [stderr] CMAKE_ASM_COMPILER [INFO] [stderr] CMAKE_ASM_FLAGS [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] thread 'main' (997) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.49/src/lib.rs:1104:5: [INFO] [stderr] [INFO] [stderr] command did not execute successfully, got: exit status: 1 [INFO] [stderr] [INFO] [stderr] build script failed, must exit now [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x64c48548ee02 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x64c48548ee02 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x64c48548ee02 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x64c48548ee02 - ::fmt::h67edf0e4d33c343c [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x64c48549f25f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x64c48549f25f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x64c48545de01 - std::io::default_write_fmt::h1ecb8c7cfa7da481 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x64c48545de01 - std::io::Write::write_fmt::h051fe4a9e4fdbf48 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x64c485469072 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x64c48546c22f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x64c48546c089 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x64c48546c8b5 - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x64c48546c74a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x64c4854691a9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x64c48545204d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x64c4854a2ed0 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x64c48540964b - cmake::fail::hdf3ad87f56b96385 [INFO] [stderr] 17: 0x64c48540930a - cmake::run::h96ab4226fd82367b [INFO] [stderr] 18: 0x64c48540f495 - cmake::Config::build::ha2208c3d3c728eba [INFO] [stderr] 19: 0x64c4853f4ff9 - build_script_build::build_shaderc_unix::h1c3e0cf359ee5843 [INFO] [stderr] 20: 0x64c4853f80fe - build_script_build::main::h8432ce3465f3e00a [INFO] [stderr] 21: 0x64c4853f9143 - core::ops::function::FnOnce::call_once::hbe12ec5142398cfd [INFO] [stderr] 22: 0x64c4853f8c76 - std::sys::backtrace::__rust_begin_short_backtrace::h50e028d4778cd7dd [INFO] [stderr] 23: 0x64c4853f8bf9 - std::rt::lang_start::{{closure}}::hce710d739a201934 [INFO] [stderr] 24: 0x64c48545f810 - core::ops::function::impls:: for &F>::call_once::h4967fb77e0dfb65c [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 25: 0x64c48545f810 - std::panicking::catch_unwind::do_call::hf7e87675c3e14c23 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stderr] 26: 0x64c48545f810 - std::panicking::catch_unwind::h26f0e342004b5114 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stderr] 27: 0x64c48545f810 - std::panic::catch_unwind::h9ee33ca17775d897 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stderr] 28: 0x64c48545f810 - std::rt::lang_start_internal::{{closure}}::h243ba3495fa13cf8 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:175:24 [INFO] [stderr] 29: 0x64c48545f810 - std::panicking::catch_unwind::do_call::h819db0a7788e7259 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stderr] 30: 0x64c48545f810 - std::panicking::catch_unwind::h23e08fb4a7b9f405 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stderr] 31: 0x64c48545f810 - std::panic::catch_unwind::h7ca3d9eabb6135ff [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stderr] 32: 0x64c48545f810 - std::rt::lang_start_internal::h06ad7395f4fda8d7 [INFO] [stderr] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:171:5 [INFO] [stderr] 33: 0x64c4853f8be1 - std::rt::lang_start::he6a65f44d8704038 [INFO] [stderr] 34: 0x64c4853fbdd5 - main [INFO] [stderr] 35: 0x721ef88191ca - [INFO] [stderr] 36: 0x721ef881928b - __libc_start_main [INFO] [stderr] 37: 0x64c4853f3215 - _start [INFO] [stderr] 38: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d10cdc7fc01da3382a6eb2de099f6ccb18b1b5c1bc9cf822ad759eb14d063c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10cdc7fc01da3382a6eb2de099f6ccb18b1b5c1bc9cf822ad759eb14d063c15", kill_on_drop: false }` [INFO] [stdout] d10cdc7fc01da3382a6eb2de099f6ccb18b1b5c1bc9cf822ad759eb14d063c15