[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] testing SegaraRai/upsclr-server against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSegaraRai%2Fupsclr-server" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SegaraRai/upsclr-server on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-extra v0.10.1 [INFO] [stderr] Downloaded tower-http v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a93ab228a2f109e7e137b6b54ed938f6f84056253601397656be80dbf3d71d54 [INFO] running `Command { std: "docker" "start" "-a" "a93ab228a2f109e7e137b6b54ed938f6f84056253601397656be80dbf3d71d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a93ab228a2f109e7e137b6b54ed938f6f84056253601397656be80dbf3d71d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a93ab228a2f109e7e137b6b54ed938f6f84056253601397656be80dbf3d71d54", kill_on_drop: false }` [INFO] [stdout] a93ab228a2f109e7e137b6b54ed938f6f84056253601397656be80dbf3d71d54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8bc894c11a83bb30ff70460d4eee4ce2c3b81dffc6302807512848b7e635ed8 [INFO] running `Command { std: "docker" "start" "-a" "a8bc894c11a83bb30ff70460d4eee4ce2c3b81dffc6302807512848b7e635ed8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling axum-extra v0.10.1 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 `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: 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "a8bc894c11a83bb30ff70460d4eee4ce2c3b81dffc6302807512848b7e635ed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8bc894c11a83bb30ff70460d4eee4ce2c3b81dffc6302807512848b7e635ed8", kill_on_drop: false }` [INFO] [stdout] a8bc894c11a83bb30ff70460d4eee4ce2c3b81dffc6302807512848b7e635ed8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ed90d30c963933ec0cffa32062f5c2149a6f7b6e4db1f1bc60efbd185821c40 [INFO] running `Command { std: "docker" "start" "-a" "6ed90d30c963933ec0cffa32062f5c2149a6f7b6e4db1f1bc60efbd185821c40", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling axum-extra v0.10.1 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 `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: 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.21s [INFO] running `Command { std: "docker" "inspect" "6ed90d30c963933ec0cffa32062f5c2149a6f7b6e4db1f1bc60efbd185821c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed90d30c963933ec0cffa32062f5c2149a6f7b6e4db1f1bc60efbd185821c40", kill_on_drop: false }` [INFO] [stdout] 6ed90d30c963933ec0cffa32062f5c2149a6f7b6e4db1f1bc60efbd185821c40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e94a3c1e8b7d3aec84b858d2a31cbd14246a8e8406883405bebc6e261e142e86 [INFO] running `Command { std: "docker" "start" "-a" "e94a3c1e8b7d3aec84b858d2a31cbd14246a8e8406883405bebc6e261e142e86", kill_on_drop: false }` [INFO] [stderr] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::load_plugin_from_path` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:179:19 [INFO] [stderr] | [INFO] [stderr] 179 | match Self::load_plugin_from_path(&path) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/plugin_manager.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | pub unsafe fn new(plugins_dir_path_str: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::new` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:216:19 [INFO] [stderr] | [INFO] [stderr] 216 | let lib = Library::new(path) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/plugin_manager.rs:214:5 [INFO] [stderr] | [INFO] [stderr] 214 | unsafe fn load_plugin_from_path(path: &Path) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 235 | get_symbol!(lib, b"upsclr_plugin_initialize\0")?; [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 237 | get_symbol!(lib, b"upsclr_plugin_shutdown\0")?; [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 239 | get_symbol!(lib, b"upsclr_plugin_get_info\0")?; [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 241 | get_symbol!(lib, b"upsclr_plugin_count_engines\0")?; [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 244 | > = get_symbol!(lib, b"upsclr_plugin_get_engine_info\0")?; [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 252 | > = get_symbol!(lib, b"upsclr_plugin_validate_engine_config\0")?; [INFO] [stderr] | ----------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 255 | > = get_symbol!(lib, b"upsclr_plugin_free_validation_result\0")?; [INFO] [stderr] | ----------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 262 | > = get_symbol!(lib, b"upsclr_plugin_create_engine_instance\0")?; [INFO] [stderr] | ----------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 265 | > = get_symbol!(lib, b"upsclr_plugin_destroy_engine_instance\0")?; [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 271 | > = get_symbol!(lib, b"upsclr_plugin_preload_upscale\0")?; [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `libloading::Library::get` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | $lib.get($name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] ... [INFO] [stderr] 286 | > = get_symbol!(lib, b"upsclr_plugin_upscale\0")?; [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: this warning originates in the macro `get_symbol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:289:27 [INFO] [stderr] | [INFO] [stderr] 289 | let init_result = initialize_fn(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:298:33 [INFO] [stderr] | [INFO] [stderr] 298 | let c_plugin_info_ptr = get_info_fn(); [INFO] [stderr] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:305:30 [INFO] [stderr] | [INFO] [stderr] 305 | let c_plugin_info = &*c_plugin_info_ptr; // Unsafe dereference. Valid if plugin API is correct. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:315:19 [INFO] [stderr] | [INFO] [stderr] 315 | name: Self::c_str_to_rust_string(c_plugin_info.name) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:317:22 [INFO] [stderr] | [INFO] [stderr] 317 | version: Self::c_str_to_rust_string(c_plugin_info.version) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:319:26 [INFO] [stderr] | [INFO] [stderr] 319 | description: Self::c_str_to_rust_string(c_plugin_info.description) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:325:27 [INFO] [stderr] | [INFO] [stderr] 325 | let num_engines = count_engines_fn(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:327:37 [INFO] [stderr] | [INFO] [stderr] 327 | let c_engine_info_ptr = get_engine_info_fn(i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:334:34 [INFO] [stderr] | [INFO] [stderr] 334 | let c_engine_info = &*c_engine_info_ptr; // Unsafe dereference. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:336:23 [INFO] [stderr] | [INFO] [stderr] 336 | name: Self::c_str_to_rust_string(c_engine_info.name).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:339:30 [INFO] [stderr] | [INFO] [stderr] 339 | description: Self::c_str_to_rust_string(c_engine_info.description).map_err( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:347:26 [INFO] [stderr] | [INFO] [stderr] 347 | version: Self::c_str_to_rust_string(c_engine_info.version).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::c_str_to_rust_string` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:351:22 [INFO] [stderr] | [INFO] [stderr] 351 | &Self::c_str_to_rust_string(c_engine_info.config_json_schema).map_err(|e| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:411:9 [INFO] [stderr] | [INFO] [stderr] 411 | CStr::from_ptr(c_str_ptr) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/plugin_manager.rs:403:5 [INFO] [stderr] | [INFO] [stderr] 403 | / pub(crate) unsafe fn c_str_to_rust_string( [INFO] [stderr] 404 | | c_str_ptr: *const plugin_ffi::c_char8_t, [INFO] [stderr] 405 | | ) -> Result { [INFO] [stderr] | |_______________________________^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `plugin_manager::PluginManager::load_plugin_from_path` is unsafe and requires unsafe block [INFO] [stderr] --> src/plugin_manager.rs:515:19 [INFO] [stderr] | [INFO] [stderr] 515 | match Self::load_plugin_from_path(&plugin_state.path) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/plugin_manager.rs:478:5 [INFO] [stderr] | [INFO] [stderr] 478 | / pub unsafe fn import_state( [INFO] [stderr] 479 | | &mut self, [INFO] [stderr] 480 | | state: PluginManagerState, [INFO] [stderr] 481 | | ) -> Result, AppError> { [INFO] [stderr] | |______________________________________^ [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/plugin_ffi.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 46 | pub enum UpsclrErrorCode { [INFO] [stderr] | --------------- variants in this enum [INFO] [stderr] 47 | Success = 0, // UPSCLR_SUCCESS [INFO] [stderr] 48 | PluginNotInitialized = 1, // UPSCLR_ERROR_PLUGIN_NOT_INITIALIZED [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 49 | PluginAlreadyInitialized = 2, // UPSCLR_ERROR_PLUGIN_ALREADY_INITIALIZED [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 50 | PluginAlreadyDestroyed = 3, // UPSCLR_ERROR_PLUGIN_ALREADY_DESTROYED [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 51 | InvalidArgument = 4, // UPSCLR_ERROR_INVALID_ARGUMENT [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 52 | EngineNotFound = 5, // UPSCLR_ERROR_ENGINE_NOT_FOUND [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 53 | PreloadFailed = 6, // UPSCLR_ERROR_PRELOAD_FAILED [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 54 | UpscaleFailed = 7, // UPSCLR_ERROR_UPSCALE_FAILED [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 55 | Other = 9999, // UPSCLR_ERROR_OTHER [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpsclrErrorCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `upsclr_plugin_get_info`, `upsclr_plugin_count_engines`, and `upsclr_plugin_get_engine_info` are never read [INFO] [stderr] --> src/plugin_manager.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct LoadedPlugin { [INFO] [stderr] | ------------ fields in this struct [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] running 41 tests [INFO] [stderr] 46 | pub upsclr_plugin_get_info: unsafe extern "C" fn() -> *const plugin_ffi::UpsclrPluginInfo, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 47 | pub upsclr_plugin_count_engines: unsafe extern "C" fn() -> usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 48 | pub upsclr_plugin_get_engine_info: [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LoadedPlugin` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `upsclr-server` (bin "upsclr-server" test) generated 30 warnings (run `cargo fix --bin "upsclr-server" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/upsclr_server-a880db86be88bb06) [INFO] [stdout] test error::tests::test_from_image_error ... ok [INFO] [stdout] test error::tests::test_from_cstring_error ... ok [INFO] [stdout] test error::tests::test_from_io_error ... ok [INFO] [stdout] test handlers::tests::test_both_validations_success ... ok [INFO] [stdout] test error::tests::test_unsupported_media_type_error_response ... ok [INFO] [stdout] test handlers::tests::test_upsclr_request_validation_missing_header ... ok [INFO] [stdout] test error::tests::test_instance_not_found_error_response ... ok [INFO] [stdout] test handlers::tests::test_user_agent_validation_failure ... ok [INFO] [stdout] test handlers::tests::test_upsclr_request_validation_success ... ok [INFO] [stdout] test handlers::tests::test_config_debug_format ... ok [INFO] [stdout] test error::tests::test_plugin_operation_failed_error_response ... ok [INFO] [stdout] test handlers::tests::test_no_validation_configured ... ok [INFO] [stdout] test error::tests::test_plugin_not_found_error_response ... ok [INFO] [stdout] test handlers::tests::test_upsclr_request_validation_failure_empty ... ok [INFO] [stdout] test handlers::tests::test_invalid_user_agent_header_format ... ok [INFO] [stdout] test handlers::tests::test_both_validations_upsclr_request_fails ... ok [INFO] [stdout] test handlers::tests::test_both_validations_user_agent_fails ... ok [INFO] [stdout] test handlers::tests::test_user_agent_validation_missing_header ... ok [INFO] [stdout] test error::tests::test_bad_request_error_response ... ok [INFO] [stdout] test handlers::tests::test_user_agent_validation_success_upsclr_dash ... ok [INFO] [stdout] test headers::tests::test_accept_header_empty ... ok [INFO] [stdout] test headers::tests::test_accept_header_empty_segments ... ok [INFO] [stdout] test headers::tests::test_accept_header_invalid_mime ... ok [INFO] [stdout] test headers::tests::test_accept_header_multiple_mimes ... ok [INFO] [stdout] test headers::tests::test_accept_header_name ... ok [INFO] [stdout] test headers::tests::test_accept_header_round_trip ... ok [INFO] [stdout] test headers::tests::test_accept_header_single_mime ... ok [INFO] [stdout] test headers::tests::test_accept_header_with_whitespace ... ok [INFO] [stdout] test handlers::tests::test_user_agent_validation_success_upsclr_slash ... ok [INFO] [stdout] test models::tests::test_create_instance_query_dry_run_parsing ... ok [INFO] [stdout] test models::tests::test_create_instance_response_serialization ... ok [INFO] [stdout] test models::tests::test_deserialize_bool_from_int_optional_query ... ok [INFO] [stdout] test models::tests::test_create_instance_request_deserialization ... ok [INFO] [stdout] test headers::tests::test_accept_header_encode_single ... ok [INFO] [stdout] test models::tests::test_validation_result_desc_serialization ... ok [INFO] [stdout] test models::tests::test_instance_info_for_list_serialization ... ok [INFO] [stdout] test models::tests::test_scale_query_param_deserialization ... ok [INFO] [stdout] test handlers::tests::test_invalid_upsclr_request_header_format ... ok [INFO] [stdout] test handlers::tests::test_security_config_clone ... ok [INFO] [stdout] test headers::tests::test_accept_header_encode_multiple ... ok [INFO] [stdout] test handlers::tests::test_user_agent_validation_case_sensitive ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e94a3c1e8b7d3aec84b858d2a31cbd14246a8e8406883405bebc6e261e142e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e94a3c1e8b7d3aec84b858d2a31cbd14246a8e8406883405bebc6e261e142e86", kill_on_drop: false }` [INFO] [stdout] e94a3c1e8b7d3aec84b858d2a31cbd14246a8e8406883405bebc6e261e142e86