[INFO] cloning repository https://github.com/Xsimple1010/retro_ab [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xsimple1010/retro_ab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXsimple1010%2Fretro_ab", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXsimple1010%2Fretro_ab'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55db60d8d9bf788ab50f55c816dfefe6cf8127fd [INFO] checking Xsimple1010/retro_ab against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXsimple1010%2Fretro_ab" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xsimple1010/retro_ab on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xsimple1010/retro_ab [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Xsimple1010/retro_ab [INFO] tweaked toml for git repo https://github.com/Xsimple1010/retro_ab written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Xsimple1010/retro_ab 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39bd7f5375805891d55f46a47d8b4e43b524c546f750cebed7481b1138e09256 [INFO] running `Command { std: "docker" "start" "-a" "39bd7f5375805891d55f46a47d8b4e43b524c546f750cebed7481b1138e09256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39bd7f5375805891d55f46a47d8b4e43b524c546f750cebed7481b1138e09256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39bd7f5375805891d55f46a47d8b4e43b524c546f750cebed7481b1138e09256", kill_on_drop: false }` [INFO] [stdout] 39bd7f5375805891d55f46a47d8b4e43b524c546f750cebed7481b1138e09256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77e30ddc2125b3f920ca5db0405a97bdb70e8b9e9e66ca9cfaab26ef4d450179 [INFO] running `Command { std: "docker" "start" "-a" "77e30ddc2125b3f920ca5db0405a97bdb70e8b9e9e66ca9cfaab26ef4d450179", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling bindgen v0.69.2 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling retro_ab v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `retro_ab v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_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/retro_ab-1204524081bf3d88/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain 'af4a5a13a15fa0c60e06321077ef452f769b42fd'. [INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stderr] Failed to run rustfmt: Internal rustfmt error (non-fatal, continuing) [INFO] [stderr] thread 'main' panicked at build.rs:14:52: [INFO] [stderr] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x56178f7a9845 - std::backtrace_rs::backtrace::libunwind::trace::hb0d415bcff8c04ff [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stderr] 1: 0x56178f7a9845 - std::backtrace_rs::backtrace::trace_unsynchronized::hd3beb7af6a65b2fb [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x56178f7a9845 - std::sys_common::backtrace::_print_fmt::hb94d89680d7f5d1c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stderr] 3: 0x56178f7a9845 - ::fmt::h42d21e2ba62fd274 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x56178f7d40fb - core::fmt::rt::Argument::fmt::h8932bbbd2b9c37fe [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/rt.rs:142:9 [INFO] [stderr] 5: 0x56178f7d40fb - core::fmt::write::h672f14b769052340 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/mod.rs:1153:17 [INFO] [stderr] 6: 0x56178f7a668f - std::io::Write::write_fmt::h4d626b1d019eca5c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/mod.rs:1843:15 [INFO] [stderr] 7: 0x56178f7a961e - std::sys_common::backtrace::_print::h745e446c2e03c5ca [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 8: 0x56178f7a961e - std::sys_common::backtrace::print::hf0f0fa4fb70dca2c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 9: 0x56178f7aae29 - std::panicking::default_hook::{{closure}}::h607769b198639ae5 [INFO] [stderr] 10: 0x56178f7aab93 - std::panicking::default_hook::h1e5811a5a9298ba1 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:292:9 [INFO] [stderr] 11: 0x56178f7ab2c4 - std::panicking::rust_panic_with_hook::hd0c5dc40875c06ef [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:789:13 [INFO] [stderr] 12: 0x56178f7ab1a6 - std::panicking::begin_panic_handler::{{closure}}::hde3f6d4bced89f43 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:658:13 [INFO] [stderr] 13: 0x56178f7a9d09 - std::sys_common::backtrace::__rust_end_short_backtrace::h88e846e54ebde2e3 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stderr] 14: 0x56178f7aaed7 - rust_begin_unwind [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:646:5 [INFO] [stderr] 15: 0x56178f1c2236 - core::panicking::panic_fmt::h5ffad3fb9ad671e0 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/panicking.rs:72:14 [INFO] [stderr] 16: 0x56178f1c27a6 - core::result::unwrap_failed::hb58638a1c26ab909 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:1654:5 [INFO] [stderr] 17: 0x56178f1c5e8a - build_script_build::configure_files::h8a9a71eac257f1ee [INFO] [stderr] 18: 0x56178f1c6768 - build_script_build::core_bindings::h1319b9aa3ff6edfb [INFO] [stderr] 19: 0x56178f1c6838 - build_script_build::main::h221a2d32e0b4dd51 [INFO] [stderr] 20: 0x56178f1c34d3 - core::ops::function::FnOnce::call_once::h3f974ab3f17dd355 [INFO] [stderr] 21: 0x56178f1c2cf6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hed42e8039696e997 [INFO] [stderr] 22: 0x56178f1c3479 - std::rt::lang_start::{{closure}}::h6646f6747b5bee43 [INFO] [stderr] 23: 0x56178f7a1f71 - core::ops::function::impls:: for &F>::call_once::hf24a18568366726b [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 24: 0x56178f7a1f71 - std::panicking::try::do_call::hfe98fb6a5c700fa1 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:553:40 [INFO] [stderr] 25: 0x56178f7a1f71 - std::panicking::try::h887aaa509ba266ad [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:517:19 [INFO] [stderr] 26: 0x56178f7a1f71 - std::panic::catch_unwind::hdb24f00ea5a307a8 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panic.rs:146:14 [INFO] [stderr] 27: 0x56178f7a1f71 - std::rt::lang_start_internal::{{closure}}::hacbffc0b2f55d28c [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/rt.rs:148:48 [INFO] [stderr] 28: 0x56178f7a1f71 - std::panicking::try::do_call::hc810c59098be8c17 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:553:40 [INFO] [stderr] 29: 0x56178f7a1f71 - std::panicking::try::h0d072b82be5f3f03 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panicking.rs:517:19 [INFO] [stderr] 30: 0x56178f7a1f71 - std::panic::catch_unwind::hb0e7e36556665803 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/panic.rs:146:14 [INFO] [stderr] 31: 0x56178f7a1f71 - std::rt::lang_start_internal::h4207974af80a0725 [INFO] [stderr] at /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/rt.rs:148:20 [INFO] [stderr] 32: 0x56178f1c3457 - std::rt::lang_start::he8f4e1c1904dbe5c [INFO] [stderr] 33: 0x56178f1c68a5 - main [INFO] [stderr] 34: 0x7f9fbffbbd90 - [INFO] [stderr] 35: 0x7f9fbffbbe40 - __libc_start_main [INFO] [stderr] 36: 0x56178f1c2b85 - _start [INFO] [stderr] 37: 0x0 - [INFO] running `Command { std: "docker" "inspect" "77e30ddc2125b3f920ca5db0405a97bdb70e8b9e9e66ca9cfaab26ef4d450179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77e30ddc2125b3f920ca5db0405a97bdb70e8b9e9e66ca9cfaab26ef4d450179", kill_on_drop: false }` [INFO] [stdout] 77e30ddc2125b3f920ca5db0405a97bdb70e8b9e9e66ca9cfaab26ef4d450179 [INFO] checking Xsimple1010/retro_ab against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXsimple1010%2Fretro_ab" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xsimple1010/retro_ab on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xsimple1010/retro_ab [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Xsimple1010/retro_ab [INFO] tweaked toml for git repo https://github.com/Xsimple1010/retro_ab written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Xsimple1010/retro_ab 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd7de1c25d61a50a3cc393419e9be075f873c2161267e0069e92acd13c636413 [INFO] running `Command { std: "docker" "start" "-a" "cd7de1c25d61a50a3cc393419e9be075f873c2161267e0069e92acd13c636413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd7de1c25d61a50a3cc393419e9be075f873c2161267e0069e92acd13c636413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd7de1c25d61a50a3cc393419e9be075f873c2161267e0069e92acd13c636413", kill_on_drop: false }` [INFO] [stdout] cd7de1c25d61a50a3cc393419e9be075f873c2161267e0069e92acd13c636413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc6823ee4a249785072c744f9fd58da92846e04da93a20a67d0a77a6ba9aca00 [INFO] running `Command { std: "docker" "start" "-a" "cc6823ee4a249785072c744f9fd58da92846e04da93a20a67d0a77a6ba9aca00", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bindgen v0.69.2 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling retro_ab v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] warning: retro_ab@0.1.0: src/libretro/log_interface.c: In function 'set_new_value_variable': [INFO] [stderr] warning: retro_ab@0.1.0: src/libretro/log_interface.c:45:19: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [INFO] [stderr] warning: retro_ab@0.1.0: 45 | strcpy(var->value, new_value); [INFO] [stderr] warning: retro_ab@0.1.0: | ~~~^~~~~~~ [INFO] [stderr] warning: retro_ab@0.1.0: In file included from src/libretro/log_interface.c:4: [INFO] [stderr] warning: retro_ab@0.1.0: /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'const char *' [INFO] [stderr] warning: retro_ab@0.1.0: 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) [INFO] [stderr] warning: retro_ab@0.1.0: | ~~~~~~~~~~~~~~~~~^~~~~~ [INFO] [stderr] warning: retro_ab@0.1.0: src/libretro/log_interface.c: In function 'set_directory': [INFO] [stderr] warning: retro_ab@0.1.0: src/libretro/log_interface.c:63:16: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [INFO] [stderr] warning: retro_ab@0.1.0: 63 | strcpy(*dir, new_directory); [INFO] [stderr] warning: retro_ab@0.1.0: | ^~~~ [INFO] [stderr] warning: retro_ab@0.1.0: In file included from src/libretro/log_interface.c:4: [INFO] [stderr] warning: retro_ab@0.1.0: /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'const char *' [INFO] [stderr] warning: retro_ab@0.1.0: 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) [INFO] [stderr] warning: retro_ab@0.1.0: | ~~~~~~~~~~~~~~~~~^~~~~~ [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/environment.rs (7 fixes) [INFO] [stderr] Fixed src/binding/binding_libretro.rs (27 fixes) [INFO] [stderr] Fixed src/retro_perf.rs (7 fixes) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 126 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 145 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 158 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 173 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 202 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 218 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 241 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 258 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 284 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 313 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 356 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:377:19 [INFO] [stdout] | [INFO] [stdout] 377 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 377 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:508:19 [INFO] [stdout] | [INFO] [stdout] 508 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 508 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/retro_context.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | for ctx in &CONTEXTS { [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 108 | for ctx in addr_of!(CONTEXTS) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 126 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 145 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 158 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 173 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 202 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 218 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 241 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 258 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 284 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 313 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 356 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:377:19 [INFO] [stdout] | [INFO] [stdout] 377 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 377 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/core_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating exemple/src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.58s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling retro_ab v0.1.0 (/tmp/fixit) [INFO] [stderr] warning: retro_ab@0.1.0: src/libretro/log_interface.c: In function 'set_new_value_variable': [INFO] [stderr] warning: retro_ab@0.1.0: src/libretro/log_interface.c:45:19: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [INFO] [stderr] warning: retro_ab@0.1.0: 45 | strcpy(var->value, new_value); [INFO] [stderr] warning: retro_ab@0.1.0: | ~~~^~~~~~~ [INFO] [stderr] warning: retro_ab@0.1.0: In file included from src/libretro/log_interface.c:4: [INFO] [stderr] warning: retro_ab@0.1.0: /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'const char *' [INFO] [stderr] warning: retro_ab@0.1.0: 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) [INFO] [stderr] warning: retro_ab@0.1.0: | ~~~~~~~~~~~~~~~~~^~~~~~ [INFO] [stderr] warning: retro_ab@0.1.0: src/libretro/log_interface.c: In function 'set_directory': [INFO] [stderr] warning: retro_ab@0.1.0: src/libretro/log_interface.c:63:16: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [INFO] [stderr] warning: retro_ab@0.1.0: 63 | strcpy(*dir, new_directory); [INFO] [stderr] warning: retro_ab@0.1.0: | ^~~~ [INFO] [stderr] warning: retro_ab@0.1.0: In file included from src/libretro/log_interface.c:4: [INFO] [stderr] warning: retro_ab@0.1.0: /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'const char *' [INFO] [stderr] warning: retro_ab@0.1.0: 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) [INFO] [stderr] warning: retro_ab@0.1.0: | ~~~~~~~~~~~~~~~~~^~~~~~ [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 126 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 145 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 158 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 173 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 202 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 218 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 241 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 258 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 284 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 313 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 356 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:377:19 [INFO] [stdout] | [INFO] [stdout] 377 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 377 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::new` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200497 [INFO] [stdout] | [INFO] [stdout] 5 | ...d :: ffi :: OsStr > { let library = :: libloading :: Library :: new (path) ? ; Self :: from_library (library) } pub unsafe fn from_lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200359 [INFO] [stdout] | [INFO] [stdout] 5 | ...Raw { pub unsafe fn new < P > (path : P) -> Result < Self , :: libloading :: Error > where P : AsRef < :: std :: ffi :: OsStr > { let ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `binding::binding_libretro::LibretroRaw::from_library` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200540 [INFO] [stdout] | [INFO] [stdout] 5 | ...libloading :: Library :: new (path) ? ; Self :: from_library (library) } pub unsafe fn from_library < L > (library : L) -> Result < Se... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200774 [INFO] [stdout] | [INFO] [stdout] 5 | ...() ; let retro_set_environment = __library . get (b"retro_set_environment\0") . map (| sym | * sym) ? ; let retro_set_video_refresh = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200573 [INFO] [stdout] | [INFO] [stdout] 5 | ... } pub unsafe fn from_library < L > (library : L) -> Result < Self , :: libloading :: Error > where L : Into < :: libloading :: Library > { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200875 [INFO] [stdout] | [INFO] [stdout] 5 | ...; let retro_set_video_refresh = __library . get (b"retro_set_video_refresh\0") . map (| sym | * sym) ? ; let retro_set_audio_sample = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200977 [INFO] [stdout] | [INFO] [stdout] 5 | ... ; let retro_set_audio_sample = __library . get (b"retro_set_audio_sample\0") . map (| sym | * sym) ? ; let retro_set_audio_sample_bat... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201084 [INFO] [stdout] | [INFO] [stdout] 5 | ...tro_set_audio_sample_batch = __library . get (b"retro_set_audio_sample_batch\0") . map (| sym | * sym) ? ; let retro_set_input_poll = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201189 [INFO] [stdout] | [INFO] [stdout] 5 | ...) ? ; let retro_set_input_poll = __library . get (b"retro_set_input_poll\0") . map (| sym | * sym) ? ; let retro_set_input_state = __l... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201287 [INFO] [stdout] | [INFO] [stdout] 5 | ... ? ; let retro_set_input_state = __library . get (b"retro_set_input_state\0") . map (| sym | * sym) ? ; let retro_init = __library . g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201375 [INFO] [stdout] | [INFO] [stdout] 5 | ... (| sym | * sym) ? ; let retro_init = __library . get (b"retro_init\0") . map (| sym | * sym) ? ; let retro_deinit = __library . get (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201454 [INFO] [stdout] | [INFO] [stdout] 5 | ... sym | * sym) ? ; let retro_deinit = __library . get (b"retro_deinit\0") . map (| sym | * sym) ? ; let retro_api_version = __library .... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201540 [INFO] [stdout] | [INFO] [stdout] 5 | ...* sym) ? ; let retro_api_version = __library . get (b"retro_api_version\0") . map (| sym | * sym) ? ; let retro_get_system_info = __li... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201635 [INFO] [stdout] | [INFO] [stdout] 5 | ... ? ; let retro_get_system_info = __library . get (b"retro_get_system_info\0") . map (| sym | * sym) ? ; let retro_get_system_av_info =... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201737 [INFO] [stdout] | [INFO] [stdout] 5 | ...let retro_get_system_av_info = __library . get (b"retro_get_system_av_info\0") . map (| sym | * sym) ? ; let retro_set_controller_port... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201850 [INFO] [stdout] | [INFO] [stdout] 5 | ...t_controller_port_device = __library . get (b"retro_set_controller_port_device\0") . map (| sym | * sym) ? ; let retro_reset = __libra... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201950 [INFO] [stdout] | [INFO] [stdout] 5 | ...(| sym | * sym) ? ; let retro_reset = __library . get (b"retro_reset\0") . map (| sym | * sym) ? ; let retro_run = __library . get (b"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(ctx) = &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(ctx) = addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 126 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202027 [INFO] [stdout] | [INFO] [stdout] 5 | ...ap (| sym | * sym) ? ; let retro_run = __library . get (b"retro_run\0") . map (| sym | * sym) ? ; let retro_serialize_size = __library... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202113 [INFO] [stdout] | [INFO] [stdout] 5 | ...) ? ; let retro_serialize_size = __library . get (b"retro_serialize_size\0") . map (| sym | * sym) ? ; let retro_serialize = __library... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202205 [INFO] [stdout] | [INFO] [stdout] 5 | ... | * sym) ? ; let retro_serialize = __library . get (b"retro_serialize\0") . map (| sym | * sym) ? ; let retro_unserialize = __library... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 145 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 158 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 173 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 202 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 218 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 241 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 258 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 271 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 284 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 313 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 356 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:377:19 [INFO] [stdout] | [INFO] [stdout] 377 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 377 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202294 [INFO] [stdout] | [INFO] [stdout] 5 | ...* sym) ? ; let retro_unserialize = __library . get (b"retro_unserialize\0") . map (| sym | * sym) ? ; let retro_cheat_reset = __librar... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/environment.rs:508:19 [INFO] [stdout] | [INFO] [stdout] 508 | match &CONTEXT { [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 508 | match addr_of!(CONTEXT) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202385 [INFO] [stdout] | [INFO] [stdout] 5 | ...* sym) ? ; let retro_cheat_reset = __library . get (b"retro_cheat_reset\0") . map (| sym | * sym) ? ; let retro_cheat_set = __library ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202474 [INFO] [stdout] | [INFO] [stdout] 5 | ... | * sym) ? ; let retro_cheat_set = __library . get (b"retro_cheat_set\0") . map (| sym | * sym) ? ; let retro_load_game = __library .... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202561 [INFO] [stdout] | [INFO] [stdout] 5 | ... | * sym) ? ; let retro_load_game = __library . get (b"retro_load_game\0") . map (| sym | * sym) ? ; let retro_load_game_special = __l... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202656 [INFO] [stdout] | [INFO] [stdout] 5 | ...; let retro_load_game_special = __library . get (b"retro_load_game_special\0") . map (| sym | * sym) ? ; let retro_unload_game = __lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202753 [INFO] [stdout] | [INFO] [stdout] 5 | ...* sym) ? ; let retro_unload_game = __library . get (b"retro_unload_game\0") . map (| sym | * sym) ? ; let retro_get_region = __library... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202843 [INFO] [stdout] | [INFO] [stdout] 5 | ... * sym) ? ; let retro_get_region = __library . get (b"retro_get_region\0") . map (| sym | * sym) ? ; let retro_get_memory_data = __lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/retro_context.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | for ctx in &CONTEXTS { [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 108 | for ctx in addr_of!(CONTEXTS) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202937 [INFO] [stdout] | [INFO] [stdout] 5 | ... ? ; let retro_get_memory_data = __library . get (b"retro_get_memory_data\0") . map (| sym | * sym) ? ; let retro_get_memory_size = __... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:203036 [INFO] [stdout] | [INFO] [stdout] 5 | ... ? ; let retro_get_memory_size = __library . get (b"retro_get_memory_size\0") . map (| sym | * sym) ? ; Ok (LibretroRaw { __library , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:203981 [INFO] [stdout] | [INFO] [stdout] 5 | ...elf , arg1 : retro_environment_t) { (self . retro_set_environment) (arg1) } pub unsafe fn retro_set_video_refresh (& self , arg1 : ret... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:203905 [INFO] [stdout] | [INFO] [stdout] 5 | ...all to retro_run() is made."] pub unsafe fn retro_set_environment (& self , arg1 : retro_environment_t) { (self . retro_set_environmen... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204101 [INFO] [stdout] | [INFO] [stdout] 5 | ... , arg1 : retro_video_refresh_t) { (self . retro_set_video_refresh) (arg1) } pub unsafe fn retro_set_audio_sample (& self , arg1 : ret... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204021 [INFO] [stdout] | [INFO] [stdout] 5 | ...o_set_environment) (arg1) } pub unsafe fn retro_set_video_refresh (& self , arg1 : retro_video_refresh_t) { (self . retro_set_video_re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204221 [INFO] [stdout] | [INFO] [stdout] 5 | ...lf , arg1 : retro_audio_sample_t) { (self . retro_set_audio_sample) (arg1) } pub unsafe fn retro_set_audio_sample_batch (& self , arg1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204143 [INFO] [stdout] | [INFO] [stdout] 5 | ..._set_video_refresh) (arg1) } pub unsafe fn retro_set_audio_sample (& self , arg1 : retro_audio_sample_t) { (self . retro_set_audio_sam... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204352 [INFO] [stdout] | [INFO] [stdout] 5 | ... : retro_audio_sample_batch_t) { (self . retro_set_audio_sample_batch) (arg1) } pub unsafe fn retro_set_input_poll (& self , arg1 : re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204262 [INFO] [stdout] | [INFO] [stdout] 5 | ...audio_sample) (arg1) } pub unsafe fn retro_set_audio_sample_batch (& self , arg1 : retro_audio_sample_batch_t) { (self . retro_set_aud... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204473 [INFO] [stdout] | [INFO] [stdout] 5 | ... self , arg1 : retro_input_poll_t) { (self . retro_set_input_poll) (arg1) } pub unsafe fn retro_set_input_state (& self , arg1 : retro... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204399 [INFO] [stdout] | [INFO] [stdout] 5 | ...t_audio_sample_batch) (arg1) } pub unsafe fn retro_set_input_poll (& self , arg1 : retro_input_poll_t) { (self . retro_set_input_poll)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204588 [INFO] [stdout] | [INFO] [stdout] 5 | ...elf , arg1 : retro_input_state_t) { (self . retro_set_input_state) (arg1) } # [doc = " Library global initialization/deinitialization.... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204512 [INFO] [stdout] | [INFO] [stdout] 5 | ...etro_set_input_poll) (arg1) } pub unsafe fn retro_set_input_state (& self , arg1 : retro_input_state_t) { (self . retro_set_input_stat... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204727 [INFO] [stdout] | [INFO] [stdout] 5 | ...on."] pub unsafe fn retro_init (& self ,) { (self . retro_init) () } pub unsafe fn retro_deinit (& self ,) { (self . retro_deinit) () ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204689 [INFO] [stdout] | [INFO] [stdout] 5 | ...ibrary global initialization/deinitialization."] pub unsafe fn retro_init (& self ,) { (self . retro_init) () } pub unsafe fn retro_de... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204792 [INFO] [stdout] | [INFO] [stdout] 5 | ... } pub unsafe fn retro_deinit (& self ,) { (self . retro_deinit) () } # [doc = " Must return RETRO_API_VERSION. Used to validate ABI c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204752 [INFO] [stdout] | [INFO] [stdout] 5 | ...etro_init (& self ,) { (self . retro_init) () } pub unsafe fn retro_deinit (& self ,) { (self . retro_deinit) () } # [doc = " Must ret... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:205003 [INFO] [stdout] | [INFO] [stdout] 5 | ...f ,) -> :: std :: os :: raw :: c_uint { (self . retro_api_version) () } # [doc = " Gets statically known system info. Pointers provide... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204925 [INFO] [stdout] | [INFO] [stdout] 5 | ...n when the API is revised."] pub unsafe fn retro_api_version (& self ,) -> :: std :: os :: raw :: c_uint { (self . retro_api_version) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::new` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200497 [INFO] [stdout] | [INFO] [stdout] 5 | ...d :: ffi :: OsStr > { let library = :: libloading :: Library :: new (path) ? ; Self :: from_library (library) } pub unsafe fn from_lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200359 [INFO] [stdout] | [INFO] [stdout] 5 | ...Raw { pub unsafe fn new < P > (path : P) -> Result < Self , :: libloading :: Error > where P : AsRef < :: std :: ffi :: OsStr > { let ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:205277 [INFO] [stdout] | [INFO] [stdout] 5 | ..., info : * mut retro_system_info) { (self . retro_get_system_info) (info) } # [doc = " Gets information about system audio/video timin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:205197 [INFO] [stdout] | [INFO] [stdout] 5 | ...even before retro_init()."] pub unsafe fn retro_get_system_info (& self , info : * mut retro_system_info) { (self . retro_get_system_i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `binding::binding_libretro::LibretroRaw::from_library` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200540 [INFO] [stdout] | [INFO] [stdout] 5 | ...libloading :: Library :: new (path) ? ; Self :: from_library (library) } pub unsafe fn from_library < L > (library : L) -> Result < Se... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:205748 [INFO] [stdout] | [INFO] [stdout] 5 | ...fo : * mut retro_system_av_info) { (self . retro_get_system_av_info) (info) } # [doc = " Sets device to be used for player 'port'.\n B... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:205662 [INFO] [stdout] | [INFO] [stdout] 5 | ...rticular aspect ratio."] pub unsafe fn retro_get_system_av_info (& self , info : * mut retro_system_av_info) { (self . retro_get_syste... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200774 [INFO] [stdout] | [INFO] [stdout] 5 | ...() ; let retro_set_environment = __library . get (b"retro_set_environment\0") . map (| sym | * sym) ? ; let retro_set_video_refresh = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200573 [INFO] [stdout] | [INFO] [stdout] 5 | ... } pub unsafe fn from_library < L > (library : L) -> Result < Self , :: libloading :: Error > where L : Into < :: libloading :: Library > { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200875 [INFO] [stdout] | [INFO] [stdout] 5 | ...; let retro_set_video_refresh = __library . get (b"retro_set_video_refresh\0") . map (| sym | * sym) ? ; let retro_set_audio_sample = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:200977 [INFO] [stdout] | [INFO] [stdout] 5 | ... ; let retro_set_audio_sample = __library . get (b"retro_set_audio_sample\0") . map (| sym | * sym) ? ; let retro_set_audio_sample_bat... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201084 [INFO] [stdout] | [INFO] [stdout] 5 | ...tro_set_audio_sample_batch = __library . get (b"retro_set_audio_sample_batch\0") . map (| sym | * sym) ? ; let retro_set_input_poll = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:206678 [INFO] [stdout] | [INFO] [stdout] 5 | ...:: os :: raw :: c_uint) { (self . retro_set_controller_port_device) (port , device) } # [doc = " Resets the current game."] pub unsafe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:206540 [INFO] [stdout] | [INFO] [stdout] 5 | ..."] pub unsafe fn retro_set_controller_port_device (& self , port : :: std :: os :: raw :: c_uint , device : :: std :: os :: raw :: c_uint) { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201189 [INFO] [stdout] | [INFO] [stdout] 5 | ...) ? ; let retro_set_input_poll = __library . get (b"retro_set_input_poll\0") . map (| sym | * sym) ? ; let retro_set_input_state = __l... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201287 [INFO] [stdout] | [INFO] [stdout] 5 | ... ? ; let retro_set_input_state = __library . get (b"retro_set_input_state\0") . map (| sym | * sym) ? ; let retro_init = __library . g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201375 [INFO] [stdout] | [INFO] [stdout] 5 | ... (| sym | * sym) ? ; let retro_init = __library . get (b"retro_init\0") . map (| sym | * sym) ? ; let retro_deinit = __library . get (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201454 [INFO] [stdout] | [INFO] [stdout] 5 | ... sym | * sym) ? ; let retro_deinit = __library . get (b"retro_deinit\0") . map (| sym | * sym) ? ; let retro_api_version = __library .... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201540 [INFO] [stdout] | [INFO] [stdout] 5 | ...* sym) ? ; let retro_api_version = __library . get (b"retro_api_version\0") . map (| sym | * sym) ? ; let retro_get_system_info = __li... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:206815 [INFO] [stdout] | [INFO] [stdout] 5 | ...."] pub unsafe fn retro_reset (& self ,) { (self . retro_reset) () } # [doc = " Runs the game for one video frame.\n During retro_run(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:206776 [INFO] [stdout] | [INFO] [stdout] 5 | ... device) } # [doc = " Resets the current game."] pub unsafe fn retro_reset (& self ,) { (self . retro_reset) () } # [doc = " Runs the ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201635 [INFO] [stdout] | [INFO] [stdout] 5 | ... ? ; let retro_get_system_info = __library . get (b"retro_get_system_info\0") . map (| sym | * sym) ? ; let retro_get_system_av_info =... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201737 [INFO] [stdout] | [INFO] [stdout] 5 | ...let retro_get_system_av_info = __library . get (b"retro_get_system_av_info\0") . map (| sym | * sym) ? ; let retro_set_controller_port... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201850 [INFO] [stdout] | [INFO] [stdout] 5 | ...t_controller_port_device = __library . get (b"retro_set_controller_port_device\0") . map (| sym | * sym) ? ; let retro_reset = __libra... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:201950 [INFO] [stdout] | [INFO] [stdout] 5 | ...(| sym | * sym) ? ; let retro_reset = __library . get (b"retro_reset\0") . map (| sym | * sym) ? ; let retro_run = __library . get (b"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207256 [INFO] [stdout] | [INFO] [stdout] 5 | ...ata."] pub unsafe fn retro_run (& self ,) { (self . retro_run) () } # [doc = " Returns the amount of data the implementation requires ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207219 [INFO] [stdout] | [INFO] [stdout] 5 | ...deo callback can take a NULL argument for data."] pub unsafe fn retro_run (& self ,) { (self . retro_run) () } # [doc = " Returns the ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202027 [INFO] [stdout] | [INFO] [stdout] 5 | ...ap (| sym | * sym) ? ; let retro_run = __library . get (b"retro_run\0") . map (| sym | * sym) ? ; let retro_serialize_size = __library... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202113 [INFO] [stdout] | [INFO] [stdout] 5 | ...) ? ; let retro_serialize_size = __library . get (b"retro_serialize_size\0") . map (| sym | * sym) ? ; let retro_serialize = __library... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202205 [INFO] [stdout] | [INFO] [stdout] 5 | ... | * sym) ? ; let retro_serialize = __library . get (b"retro_serialize\0") . map (| sym | * sym) ? ; let retro_unserialize = __library... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202294 [INFO] [stdout] | [INFO] [stdout] 5 | ...* sym) ? ; let retro_unserialize = __library . get (b"retro_unserialize\0") . map (| sym | * sym) ? ; let retro_cheat_reset = __librar... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207663 [INFO] [stdout] | [INFO] [stdout] 5 | ...o_serialize_size (& self ,) -> usize { (self . retro_serialize_size) () } # [doc = " Serializes internal state. If failed, or size is ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207606 [INFO] [stdout] | [INFO] [stdout] 5 | ...an allocate a save state buffer once."] pub unsafe fn retro_serialize_size (& self ,) -> usize { (self . retro_serialize_size) () } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202385 [INFO] [stdout] | [INFO] [stdout] 5 | ...* sym) ? ; let retro_cheat_reset = __library . get (b"retro_cheat_reset\0") . map (| sym | * sym) ? ; let retro_cheat_set = __library ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202474 [INFO] [stdout] | [INFO] [stdout] 5 | ... | * sym) ? ; let retro_cheat_set = __library . get (b"retro_cheat_set\0") . map (| sym | * sym) ? ; let retro_load_game = __library .... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202561 [INFO] [stdout] | [INFO] [stdout] 5 | ... | * sym) ? ; let retro_load_game = __library . get (b"retro_load_game\0") . map (| sym | * sym) ? ; let retro_load_game_special = __l... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202656 [INFO] [stdout] | [INFO] [stdout] 5 | ...; let retro_load_game_special = __library . get (b"retro_load_game_special\0") . map (| sym | * sym) ? ; let retro_unload_game = __lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207946 [INFO] [stdout] | [INFO] [stdout] 5 | ...:: c_void , size : usize) -> bool { (self . retro_serialize) (data , size) } pub unsafe fn retro_unserialize (& self , data : * const ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207837 [INFO] [stdout] | [INFO] [stdout] 5 | ... otherwise."] pub unsafe fn retro_serialize (& self , data : * mut :: std :: os :: raw :: c_void , size : usize) -> bool { (self . ret... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202753 [INFO] [stdout] | [INFO] [stdout] 5 | ...* sym) ? ; let retro_unload_game = __library . get (b"retro_unload_game\0") . map (| sym | * sym) ? ; let retro_get_region = __library... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202843 [INFO] [stdout] | [INFO] [stdout] 5 | ... * sym) ? ; let retro_get_region = __library . get (b"retro_get_region\0") . map (| sym | * sym) ? ; let retro_get_memory_data = __lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:202937 [INFO] [stdout] | [INFO] [stdout] 5 | ... ? ; let retro_get_memory_data = __library . get (b"retro_get_memory_data\0") . map (| sym | * sym) ? ; let retro_get_memory_size = __... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:203036 [INFO] [stdout] | [INFO] [stdout] 5 | ... ? ; let retro_get_memory_size = __library . get (b"retro_get_memory_size\0") . map (| sym | * sym) ? ; Ok (LibretroRaw { __library , ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208100 [INFO] [stdout] | [INFO] [stdout] 5 | ...: c_void , size : usize) -> bool { (self . retro_unserialize) (data , size) } pub unsafe fn retro_cheat_reset (& self ,) { (self . ret... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207987 [INFO] [stdout] | [INFO] [stdout] 5 | ...a , size) } pub unsafe fn retro_unserialize (& self , data : * const :: std :: os :: raw :: c_void , size : usize) -> bool { (self . r... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208188 [INFO] [stdout] | [INFO] [stdout] 5 | ...nsafe fn retro_cheat_reset (& self ,) { (self . retro_cheat_reset) () } pub unsafe fn retro_cheat_set (& self , index : :: std :: os :... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208143 [INFO] [stdout] | [INFO] [stdout] 5 | ... { (self . retro_unserialize) (data , size) } pub unsafe fn retro_cheat_reset (& self ,) { (self . retro_cheat_reset) () } pub unsafe ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:203981 [INFO] [stdout] | [INFO] [stdout] 5 | ...elf , arg1 : retro_environment_t) { (self . retro_set_environment) (arg1) } pub unsafe fn retro_set_video_refresh (& self , arg1 : ret... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:203905 [INFO] [stdout] | [INFO] [stdout] 5 | ...all to retro_run() is made."] pub unsafe fn retro_set_environment (& self , arg1 : retro_environment_t) { (self . retro_set_environmen... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208365 [INFO] [stdout] | [INFO] [stdout] 5 | ...std :: os :: raw :: c_char) { (self . retro_cheat_set) (index , enabled , code) } # [doc = " Loads a game.\n Return true to indicate s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208220 [INFO] [stdout] | [INFO] [stdout] 5 | ... } pub unsafe fn retro_cheat_set (& self , index : :: std :: os :: raw :: c_uint , enabled : bool , code : * const :: std :: os :: raw :: c_char) { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204101 [INFO] [stdout] | [INFO] [stdout] 5 | ... , arg1 : retro_video_refresh_t) { (self . retro_set_video_refresh) (arg1) } pub unsafe fn retro_set_audio_sample (& self , arg1 : ret... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204021 [INFO] [stdout] | [INFO] [stdout] 5 | ...o_set_environment) (arg1) } pub unsafe fn retro_set_video_refresh (& self , arg1 : retro_video_refresh_t) { (self . retro_set_video_re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208607 [INFO] [stdout] | [INFO] [stdout] 5 | ...e : * const retro_game_info) -> bool { (self . retro_load_game) (game) } # [doc = " Loads a \"special\" kind of game. Should not be us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208525 [INFO] [stdout] | [INFO] [stdout] 5 | ...o indicate load failure."] pub unsafe fn retro_load_game (& self , game : * const retro_game_info) -> bool { (self . retro_load_game) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204221 [INFO] [stdout] | [INFO] [stdout] 5 | ...lf , arg1 : retro_audio_sample_t) { (self . retro_set_audio_sample) (arg1) } pub unsafe fn retro_set_audio_sample_batch (& self , arg1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204143 [INFO] [stdout] | [INFO] [stdout] 5 | ..._set_video_refresh) (arg1) } pub unsafe fn retro_set_audio_sample (& self , arg1 : retro_audio_sample_t) { (self . retro_set_audio_sam... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208888 [INFO] [stdout] | [INFO] [stdout] 5 | ...info : usize) -> bool { (self . retro_load_game_special) (game_type , info , num_info) } # [doc = " Unloads the currently loaded game.... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208735 [INFO] [stdout] | [INFO] [stdout] 5 | ..."] pub unsafe fn retro_load_game_special (& self , game_type : :: std :: os :: raw :: c_uint , info : * const retro_game_info , num_info : usize) -> bool { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204352 [INFO] [stdout] | [INFO] [stdout] 5 | ... : retro_audio_sample_batch_t) { (self . retro_set_audio_sample_batch) (arg1) } pub unsafe fn retro_set_input_poll (& self , arg1 : re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204262 [INFO] [stdout] | [INFO] [stdout] 5 | ...audio_sample) (arg1) } pub unsafe fn retro_set_audio_sample_batch (& self , arg1 : retro_audio_sample_batch_t) { (self . retro_set_aud... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204473 [INFO] [stdout] | [INFO] [stdout] 5 | ... self , arg1 : retro_input_poll_t) { (self . retro_set_input_poll) (arg1) } pub unsafe fn retro_set_input_state (& self , arg1 : retro... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204399 [INFO] [stdout] | [INFO] [stdout] 5 | ...t_audio_sample_batch) (arg1) } pub unsafe fn retro_set_input_poll (& self , arg1 : retro_input_poll_t) { (self . retro_set_input_poll)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209080 [INFO] [stdout] | [INFO] [stdout] 5 | ...nsafe fn retro_unload_game (& self ,) { (self . retro_unload_game) () } # [doc = " Gets region of game."] pub unsafe fn retro_get_regi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209035 [INFO] [stdout] | [INFO] [stdout] 5 | ...ded game. Called before retro_deinit(void)."] pub unsafe fn retro_unload_game (& self ,) { (self . retro_unload_game) () } # [doc = " ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204588 [INFO] [stdout] | [INFO] [stdout] 5 | ...elf , arg1 : retro_input_state_t) { (self . retro_set_input_state) (arg1) } # [doc = " Library global initialization/deinitialization.... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204512 [INFO] [stdout] | [INFO] [stdout] 5 | ...etro_set_input_poll) (arg1) } pub unsafe fn retro_set_input_state (& self , arg1 : retro_input_state_t) { (self . retro_set_input_stat... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209223 [INFO] [stdout] | [INFO] [stdout] 5 | ...lf ,) -> :: std :: os :: raw :: c_uint { (self . retro_get_region) () } # [doc = " Gets region of memory."] pub unsafe fn retro_get_me... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209146 [INFO] [stdout] | [INFO] [stdout] 5 | ...oc = " Gets region of game."] pub unsafe fn retro_get_region (& self ,) -> :: std :: os :: raw :: c_uint { (self . retro_get_region) (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204727 [INFO] [stdout] | [INFO] [stdout] 5 | ...on."] pub unsafe fn retro_init (& self ,) { (self . retro_init) () } pub unsafe fn retro_deinit (& self ,) { (self . retro_deinit) () ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204689 [INFO] [stdout] | [INFO] [stdout] 5 | ...ibrary global initialization/deinitialization."] pub unsafe fn retro_init (& self ,) { (self . retro_init) () } pub unsafe fn retro_de... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209413 [INFO] [stdout] | [INFO] [stdout] 5 | ... mut :: std :: os :: raw :: c_void { (self . retro_get_memory_data) (id) } pub unsafe fn retro_get_memory_size (& self , id : :: std :... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209290 [INFO] [stdout] | [INFO] [stdout] 5 | ...ory."] pub unsafe fn retro_get_memory_data (& self , id : :: std :: os :: raw :: c_uint) -> * mut :: std :: os :: raw :: c_void { (sel... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204792 [INFO] [stdout] | [INFO] [stdout] 5 | ... } pub unsafe fn retro_deinit (& self ,) { (self . retro_deinit) () } # [doc = " Must return RETRO_API_VERSION. Used to validate ABI c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204752 [INFO] [stdout] | [INFO] [stdout] 5 | ...etro_init (& self ,) { (self . retro_init) () } pub unsafe fn retro_deinit (& self ,) { (self . retro_deinit) () } # [doc = " Must ret... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209544 [INFO] [stdout] | [INFO] [stdout] 5 | ...d :: os :: raw :: c_uint) -> usize { (self . retro_get_memory_size) (id) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209451 [INFO] [stdout] | [INFO] [stdout] 5 | ...t_memory_data) (id) } pub unsafe fn retro_get_memory_size (& self , id : :: std :: os :: raw :: c_uint) -> usize { (self . retro_get_m... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:205003 [INFO] [stdout] | [INFO] [stdout] 5 | ...f ,) -> :: std :: os :: raw :: c_uint { (self . retro_api_version) () } # [doc = " Gets statically known system info. Pointers provide... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:204925 [INFO] [stdout] | [INFO] [stdout] 5 | ...n when the API is revised."] pub unsafe fn retro_api_version (& self ,) -> :: std :: os :: raw :: c_uint { (self . retro_api_version) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:205277 [INFO] [stdout] | [INFO] [stdout] 5 | ..., info : * mut retro_system_info) { (self . retro_get_system_info) (info) } # [doc = " Gets information about system audio/video timin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:205197 [INFO] [stdout] | [INFO] [stdout] 5 | ...even before retro_init()."] pub unsafe fn retro_get_system_info (& self , info : * mut retro_system_info) { (self . retro_get_system_i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:205748 [INFO] [stdout] | [INFO] [stdout] 5 | ...fo : * mut retro_system_av_info) { (self . retro_get_system_av_info) (info) } # [doc = " Sets device to be used for player 'port'.\n B... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:205662 [INFO] [stdout] | [INFO] [stdout] 5 | ...rticular aspect ratio."] pub unsafe fn retro_get_system_av_info (& self , info : * mut retro_system_av_info) { (self . retro_get_syste... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:206678 [INFO] [stdout] | [INFO] [stdout] 5 | ...:: os :: raw :: c_uint) { (self . retro_set_controller_port_device) (port , device) } # [doc = " Resets the current game."] pub unsafe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:206540 [INFO] [stdout] | [INFO] [stdout] 5 | ..."] pub unsafe fn retro_set_controller_port_device (& self , port : :: std :: os :: raw :: c_uint , device : :: std :: os :: raw :: c_uint) { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 70 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:206815 [INFO] [stdout] | [INFO] [stdout] 5 | ...."] pub unsafe fn retro_reset (& self ,) { (self . retro_reset) () } # [doc = " Runs the game for one video frame.\n During retro_run(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:206776 [INFO] [stdout] | [INFO] [stdout] 5 | ... device) } # [doc = " Resets the current game."] pub unsafe fn retro_reset (& self ,) { (self . retro_reset) () } # [doc = " Runs the ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207256 [INFO] [stdout] | [INFO] [stdout] 5 | ...ata."] pub unsafe fn retro_run (& self ,) { (self . retro_run) () } # [doc = " Returns the amount of data the implementation requires ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207219 [INFO] [stdout] | [INFO] [stdout] 5 | ...deo callback can take a NULL argument for data."] pub unsafe fn retro_run (& self ,) { (self . retro_run) () } # [doc = " Returns the ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207663 [INFO] [stdout] | [INFO] [stdout] 5 | ...o_serialize_size (& self ,) -> usize { (self . retro_serialize_size) () } # [doc = " Serializes internal state. If failed, or size is ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207606 [INFO] [stdout] | [INFO] [stdout] 5 | ...an allocate a save state buffer once."] pub unsafe fn retro_serialize_size (& self ,) -> usize { (self . retro_serialize_size) () } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207946 [INFO] [stdout] | [INFO] [stdout] 5 | ...:: c_void , size : usize) -> bool { (self . retro_serialize) (data , size) } pub unsafe fn retro_unserialize (& self , data : * const ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207837 [INFO] [stdout] | [INFO] [stdout] 5 | ... otherwise."] pub unsafe fn retro_serialize (& self , data : * mut :: std :: os :: raw :: c_void , size : usize) -> bool { (self . ret... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208100 [INFO] [stdout] | [INFO] [stdout] 5 | ...: c_void , size : usize) -> bool { (self . retro_unserialize) (data , size) } pub unsafe fn retro_cheat_reset (& self ,) { (self . ret... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:207987 [INFO] [stdout] | [INFO] [stdout] 5 | ...a , size) } pub unsafe fn retro_unserialize (& self , data : * const :: std :: os :: raw :: c_void , size : usize) -> bool { (self . r... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208188 [INFO] [stdout] | [INFO] [stdout] 5 | ...nsafe fn retro_cheat_reset (& self ,) { (self . retro_cheat_reset) () } pub unsafe fn retro_cheat_set (& self , index : :: std :: os :... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208143 [INFO] [stdout] | [INFO] [stdout] 5 | ... { (self . retro_unserialize) (data , size) } pub unsafe fn retro_cheat_reset (& self ,) { (self . retro_cheat_reset) () } pub unsafe ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208365 [INFO] [stdout] | [INFO] [stdout] 5 | ...std :: os :: raw :: c_char) { (self . retro_cheat_set) (index , enabled , code) } # [doc = " Loads a game.\n Return true to indicate s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208220 [INFO] [stdout] | [INFO] [stdout] 5 | ... } pub unsafe fn retro_cheat_set (& self , index : :: std :: os :: raw :: c_uint , enabled : bool , code : * const :: std :: os :: raw :: c_char) { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208607 [INFO] [stdout] | [INFO] [stdout] 5 | ...e : * const retro_game_info) -> bool { (self . retro_load_game) (game) } # [doc = " Loads a \"special\" kind of game. Should not be us... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208525 [INFO] [stdout] | [INFO] [stdout] 5 | ...o indicate load failure."] pub unsafe fn retro_load_game (& self , game : * const retro_game_info) -> bool { (self . retro_load_game) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208888 [INFO] [stdout] | [INFO] [stdout] 5 | ...info : usize) -> bool { (self . retro_load_game_special) (game_type , info , num_info) } # [doc = " Unloads the currently loaded game.... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:208735 [INFO] [stdout] | [INFO] [stdout] 5 | ..."] pub unsafe fn retro_load_game_special (& self , game_type : :: std :: os :: raw :: c_uint , info : * const retro_game_info , num_info : usize) -> bool { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209080 [INFO] [stdout] | [INFO] [stdout] 5 | ...nsafe fn retro_unload_game (& self ,) { (self . retro_unload_game) () } # [doc = " Gets region of game."] pub unsafe fn retro_get_regi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209035 [INFO] [stdout] | [INFO] [stdout] 5 | ...ded game. Called before retro_deinit(void)."] pub unsafe fn retro_unload_game (& self ,) { (self . retro_unload_game) () } # [doc = " ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209223 [INFO] [stdout] | [INFO] [stdout] 5 | ...lf ,) -> :: std :: os :: raw :: c_uint { (self . retro_get_region) () } # [doc = " Gets region of memory."] pub unsafe fn retro_get_me... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209146 [INFO] [stdout] | [INFO] [stdout] 5 | ...oc = " Gets region of game."] pub unsafe fn retro_get_region (& self ,) -> :: std :: os :: raw :: c_uint { (self . retro_get_region) (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209413 [INFO] [stdout] | [INFO] [stdout] 5 | ... mut :: std :: os :: raw :: c_void { (self . retro_get_memory_data) (id) } pub unsafe fn retro_get_memory_size (& self , id : :: std :... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209290 [INFO] [stdout] | [INFO] [stdout] 5 | ...ory."] pub unsafe fn retro_get_memory_data (& self , id : :: std :: os :: raw :: c_uint) -> * mut :: std :: os :: raw :: c_void { (sel... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209544 [INFO] [stdout] | [INFO] [stdout] 5 | ...d :: os :: raw :: c_uint) -> usize { (self . retro_get_memory_size) (id) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/binding/binding_libretro.rs:5:209451 [INFO] [stdout] | [INFO] [stdout] 5 | ...t_memory_data) (id) } pub unsafe fn retro_get_memory_size (& self , id : :: std :: os :: raw :: c_uint) -> usize { (self . retro_get_m... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.07s [INFO] running `Command { std: "docker" "inspect" "cc6823ee4a249785072c744f9fd58da92846e04da93a20a67d0a77a6ba9aca00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6823ee4a249785072c744f9fd58da92846e04da93a20a67d0a77a6ba9aca00", kill_on_drop: false }` [INFO] [stdout] cc6823ee4a249785072c744f9fd58da92846e04da93a20a67d0a77a6ba9aca00