[INFO] cloning repository https://github.com/SegaraRai/upsclr-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SegaraRai/upsclr-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSegaraRai%2Fupsclr-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSegaraRai%2Fupsclr-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5b3c031c736ab3715f8be8d9defc895d8f93ff1 [INFO] checking SegaraRai/upsclr-server against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSegaraRai%2Fupsclr-server" "/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/SegaraRai/upsclr-server on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SegaraRai/upsclr-server [INFO] finished tweaking git repo https://github.com/SegaraRai/upsclr-server [INFO] tweaked toml for git repo https://github.com/SegaraRai/upsclr-server written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SegaraRai/upsclr-server 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded ravif v0.11.12 [INFO] [stderr] Downloaded headers-core v0.3.0 [INFO] [stderr] Downloaded avif-serialize v0.8.3 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded built v0.7.7 [INFO] [stderr] Downloaded multer v3.1.0 [INFO] [stderr] Downloaded matchit v0.8.4 [INFO] [stderr] Downloaded axum-extra v0.10.1 [INFO] [stderr] Downloaded half v2.6.0 [INFO] [stderr] Downloaded headers v0.4.0 [INFO] [stderr] Downloaded tower-http v0.6.4 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.9 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded winnow v0.7.10 [INFO] [stderr] Downloaded image v0.25.6 [INFO] [stderr] Downloaded axum v0.8.4 [INFO] [stderr] Downloaded image-webp v0.2.1 [INFO] [stderr] Downloaded bytemuck v1.23.0 [INFO] [stderr] Downloaded axum-core v0.5.2 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a22976813f76db9286cab321ef7c07d0075edd88f61cd20ed0eeab5fcbeed98 [INFO] running `Command { std: "docker" "start" "-a" "7a22976813f76db9286cab321ef7c07d0075edd88f61cd20ed0eeab5fcbeed98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a22976813f76db9286cab321ef7c07d0075edd88f61cd20ed0eeab5fcbeed98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a22976813f76db9286cab321ef7c07d0075edd88f61cd20ed0eeab5fcbeed98", kill_on_drop: false }` [INFO] [stdout] 7a22976813f76db9286cab321ef7c07d0075edd88f61cd20ed0eeab5fcbeed98 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23d6ee5818c268217a951bac960583c43c4a7a360a8db55a99aae9843e75b64e [INFO] running `Command { std: "docker" "start" "-a" "23d6ee5818c268217a951bac960583c43c4a7a360a8db55a99aae9843e75b64e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking avif-serialize v0.8.3 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking libloading v0.8.7 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tower-http v0.6.4 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking ravif v0.11.12 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking axum-extra v0.10.1 [INFO] [stderr] Checking upsclr-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::load_plugin_from_path` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | match Self::load_plugin_from_path(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/plugin_manager.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub unsafe fn new(plugins_dir_path_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::load_plugin_from_path` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | match Self::load_plugin_from_path(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/plugin_manager.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub unsafe fn new(plugins_dir_path_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | let lib = Library::new(path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/plugin_manager.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe fn load_plugin_from_path(path: &Path) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 235 | get_symbol!(lib, b"upsclr_plugin_initialize\0")?; [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 237 | get_symbol!(lib, b"upsclr_plugin_shutdown\0")?; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 239 | get_symbol!(lib, b"upsclr_plugin_get_info\0")?; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 241 | get_symbol!(lib, b"upsclr_plugin_count_engines\0")?; [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 244 | > = get_symbol!(lib, b"upsclr_plugin_get_engine_info\0")?; [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 252 | > = get_symbol!(lib, b"upsclr_plugin_validate_engine_config\0")?; [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 255 | > = get_symbol!(lib, b"upsclr_plugin_free_validation_result\0")?; [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 262 | > = get_symbol!(lib, b"upsclr_plugin_create_engine_instance\0")?; [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 265 | > = get_symbol!(lib, b"upsclr_plugin_destroy_engine_instance\0")?; [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 271 | > = get_symbol!(lib, b"upsclr_plugin_preload_upscale\0")?; [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 286 | > = get_symbol!(lib, b"upsclr_plugin_upscale\0")?; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let init_result = initialize_fn(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:298:33 [INFO] [stdout] | [INFO] [stdout] 298 | let c_plugin_info_ptr = get_info_fn(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:305:30 [INFO] [stdout] | [INFO] [stdout] 305 | let c_plugin_info = &*c_plugin_info_ptr; // Unsafe dereference. Valid if plugin API is correct. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | name: Self::c_str_to_rust_string(c_plugin_info.name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | version: Self::c_str_to_rust_string(c_plugin_info.version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 319 | description: Self::c_str_to_rust_string(c_plugin_info.description) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | let num_engines = count_engines_fn(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:327:37 [INFO] [stdout] | [INFO] [stdout] 327 | let c_engine_info_ptr = get_engine_info_fn(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:334:34 [INFO] [stdout] | [INFO] [stdout] 334 | let c_engine_info = &*c_engine_info_ptr; // Unsafe dereference. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | name: Self::c_str_to_rust_string(c_engine_info.name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:339:30 [INFO] [stdout] | [INFO] [stdout] 339 | description: Self::c_str_to_rust_string(c_engine_info.description).map_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:347:26 [INFO] [stdout] | [INFO] [stdout] 347 | version: Self::c_str_to_rust_string(c_engine_info.version).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:351:22 [INFO] [stdout] | [INFO] [stdout] 351 | &Self::c_str_to_rust_string(c_engine_info.config_json_schema).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | let lib = Library::new(path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/plugin_manager.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe fn load_plugin_from_path(path: &Path) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 235 | get_symbol!(lib, b"upsclr_plugin_initialize\0")?; [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 237 | get_symbol!(lib, b"upsclr_plugin_shutdown\0")?; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 239 | get_symbol!(lib, b"upsclr_plugin_get_info\0")?; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 241 | get_symbol!(lib, b"upsclr_plugin_count_engines\0")?; [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 244 | > = get_symbol!(lib, b"upsclr_plugin_get_engine_info\0")?; [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 252 | > = get_symbol!(lib, b"upsclr_plugin_validate_engine_config\0")?; [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 255 | > = get_symbol!(lib, b"upsclr_plugin_free_validation_result\0")?; [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 262 | > = get_symbol!(lib, b"upsclr_plugin_create_engine_instance\0")?; [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 265 | > = get_symbol!(lib, b"upsclr_plugin_destroy_engine_instance\0")?; [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 271 | > = get_symbol!(lib, b"upsclr_plugin_preload_upscale\0")?; [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | $lib.get($name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 286 | > = get_symbol!(lib, b"upsclr_plugin_upscale\0")?; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let init_result = initialize_fn(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:298:33 [INFO] [stdout] | [INFO] [stdout] 298 | let c_plugin_info_ptr = get_info_fn(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:305:30 [INFO] [stdout] | [INFO] [stdout] 305 | let c_plugin_info = &*c_plugin_info_ptr; // Unsafe dereference. Valid if plugin API is correct. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | name: Self::c_str_to_rust_string(c_plugin_info.name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | version: Self::c_str_to_rust_string(c_plugin_info.version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 319 | description: Self::c_str_to_rust_string(c_plugin_info.description) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | let num_engines = count_engines_fn(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:327:37 [INFO] [stdout] | [INFO] [stdout] 327 | let c_engine_info_ptr = get_engine_info_fn(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:334:34 [INFO] [stdout] | [INFO] [stdout] 334 | let c_engine_info = &*c_engine_info_ptr; // Unsafe dereference. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | name: Self::c_str_to_rust_string(c_engine_info.name).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:339:30 [INFO] [stdout] | [INFO] [stdout] 339 | description: Self::c_str_to_rust_string(c_engine_info.description).map_err( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:347:26 [INFO] [stdout] | [INFO] [stdout] 347 | version: Self::c_str_to_rust_string(c_engine_info.version).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:351:22 [INFO] [stdout] | [INFO] [stdout] 351 | &Self::c_str_to_rust_string(c_engine_info.config_json_schema).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | CStr::from_ptr(c_str_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/plugin_manager.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | / pub(crate) unsafe fn c_str_to_rust_string( [INFO] [stdout] 404 | | c_str_ptr: *const plugin_ffi::c_char8_t, [INFO] [stdout] 405 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | CStr::from_ptr(c_str_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/plugin_manager.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | / pub(crate) unsafe fn c_str_to_rust_string( [INFO] [stdout] 404 | | c_str_ptr: *const plugin_ffi::c_char8_t, [INFO] [stdout] 405 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::load_plugin_from_path` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:515:19 [INFO] [stdout] | [INFO] [stdout] 515 | match Self::load_plugin_from_path(&plugin_state.path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/plugin_manager.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 478 | / pub unsafe fn import_state( [INFO] [stdout] 479 | | &mut self, [INFO] [stdout] 480 | | state: PluginManagerState, [INFO] [stdout] 481 | | ) -> Result, AppError> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::load_plugin_from_path` is unsafe and requires unsafe block [INFO] [stdout] --> src/plugin_manager.rs:515:19 [INFO] [stdout] | [INFO] [stdout] 515 | match Self::load_plugin_from_path(&plugin_state.path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/plugin_manager.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 478 | / pub unsafe fn import_state( [INFO] [stdout] 479 | | &mut self, [INFO] [stdout] 480 | | state: PluginManagerState, [INFO] [stdout] 481 | | ) -> Result, AppError> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/plugin_ffi.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum UpsclrErrorCode { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 47 | Success = 0, // UPSCLR_SUCCESS [INFO] [stdout] 48 | PluginNotInitialized = 1, // UPSCLR_ERROR_PLUGIN_NOT_INITIALIZED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | PluginAlreadyInitialized = 2, // UPSCLR_ERROR_PLUGIN_ALREADY_INITIALIZED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | PluginAlreadyDestroyed = 3, // UPSCLR_ERROR_PLUGIN_ALREADY_DESTROYED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | InvalidArgument = 4, // UPSCLR_ERROR_INVALID_ARGUMENT [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | EngineNotFound = 5, // UPSCLR_ERROR_ENGINE_NOT_FOUND [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 53 | PreloadFailed = 6, // UPSCLR_ERROR_PRELOAD_FAILED [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 54 | UpscaleFailed = 7, // UPSCLR_ERROR_UPSCALE_FAILED [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | Other = 9999, // UPSCLR_ERROR_OTHER [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpsclrErrorCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `upsclr_plugin_get_info`, `upsclr_plugin_count_engines`, and `upsclr_plugin_get_engine_info` are never read [INFO] [stdout] --> src/plugin_manager.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct LoadedPlugin { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub upsclr_plugin_get_info: unsafe extern "C" fn() -> *const plugin_ffi::UpsclrPluginInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub upsclr_plugin_count_engines: unsafe extern "C" fn() -> usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub upsclr_plugin_get_engine_info: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadedPlugin` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/plugin_ffi.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum UpsclrErrorCode { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 47 | Success = 0, // UPSCLR_SUCCESS [INFO] [stdout] 48 | PluginNotInitialized = 1, // UPSCLR_ERROR_PLUGIN_NOT_INITIALIZED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | PluginAlreadyInitialized = 2, // UPSCLR_ERROR_PLUGIN_ALREADY_INITIALIZED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | PluginAlreadyDestroyed = 3, // UPSCLR_ERROR_PLUGIN_ALREADY_DESTROYED [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | InvalidArgument = 4, // UPSCLR_ERROR_INVALID_ARGUMENT [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | EngineNotFound = 5, // UPSCLR_ERROR_ENGINE_NOT_FOUND [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 53 | PreloadFailed = 6, // UPSCLR_ERROR_PRELOAD_FAILED [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 54 | UpscaleFailed = 7, // UPSCLR_ERROR_UPSCALE_FAILED [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | Other = 9999, // UPSCLR_ERROR_OTHER [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpsclrErrorCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `upsclr_plugin_get_info`, `upsclr_plugin_count_engines`, and `upsclr_plugin_get_engine_info` are never read [INFO] [stdout] --> src/plugin_manager.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct LoadedPlugin { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub upsclr_plugin_get_info: unsafe extern "C" fn() -> *const plugin_ffi::UpsclrPluginInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub upsclr_plugin_count_engines: unsafe extern "C" fn() -> usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub upsclr_plugin_get_engine_info: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadedPlugin` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.08s [INFO] running `Command { std: "docker" "inspect" "23d6ee5818c268217a951bac960583c43c4a7a360a8db55a99aae9843e75b64e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d6ee5818c268217a951bac960583c43c4a7a360a8db55a99aae9843e75b64e", kill_on_drop: false }` [INFO] [stdout] 23d6ee5818c268217a951bac960583c43c4a7a360a8db55a99aae9843e75b64e