[INFO] fetching crate bridgestan 2.5.0... [INFO] checking bridgestan-2.5.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate bridgestan 2.5.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate bridgestan 2.5.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bridgestan 2.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bridgestan 2.5.0 [INFO] tweaked toml for crates.io crate bridgestan 2.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate bridgestan 2.5.0 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2d88d7f052a0735467e7c29bdc8661c931feffae7f1550f46ad9a0cc0b79a70 [INFO] running `Command { std: "docker" "start" "-a" "f2d88d7f052a0735467e7c29bdc8661c931feffae7f1550f46ad9a0cc0b79a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2d88d7f052a0735467e7c29bdc8661c931feffae7f1550f46ad9a0cc0b79a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d88d7f052a0735467e7c29bdc8661c931feffae7f1550f46ad9a0cc0b79a70", kill_on_drop: false }` [INFO] [stdout] f2d88d7f052a0735467e7c29bdc8661c931feffae7f1550f46ad9a0cc0b79a70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56a7a55261cda0e84649840ca9876e3af483a2b2206227afd89bba5570edde2e [INFO] running `Command { std: "docker" "start" "-a" "56a7a55261cda0e84649840ca9876e3af483a2b2206227afd89bba5570edde2e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Compiling bridgestan v2.5.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs (24 fixes) [INFO] [stderr] Migrating examples/example.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/example.rs (1 fix) [INFO] [stderr] Migrating tests/loading.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/common.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/model.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/model.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.17s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling bridgestan v2.5.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:1686 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Version information for the BridgeStan library.\n @note These are *not* the version of the wrapped Stan library.\n @note These were not available pre-2.0.0, so their absence\n implies the library is in the 1.0.x series"] pub static mut bs_major_version : :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:1998 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: os :: raw :: c_int ; } extern "C" { pub static mut bs_minor_version : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:2078 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: os :: raw :: c_int ; } extern "C" { pub static mut bs_patch_version : :: std :: os :: raw :: c_int ; } extern crate libloading ; p... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:1686 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Version information for the BridgeStan library.\n @note These are *not* the version of the wrapped Stan library.\n @note These were not available pre-2.0.0, so their absence\n implies the library is in the 1.0.x series"] pub static mut bs_major_version : :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:1998 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: os :: raw :: c_int ; } extern "C" { pub static mut bs_minor_version : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:2078 [INFO] [stdout] | [INFO] [stdout] 3 | ... :: os :: raw :: c_int ; } extern "C" { pub static mut bs_patch_version : :: std :: os :: raw :: c_int ; } extern crate libloading ; p... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::new` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:5657 [INFO] [stdout] | [INFO] [stdout] 3 | ...d :: ffi :: OsStr > { let library = :: libloading :: Library :: new (path) ? ; Self :: from_library (library) } pub unsafe fn from_lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:5519 [INFO] [stdout] | [INFO] [stdout] 3 | ...tan { pub unsafe fn new < P > (path : P) -> Result < Self , :: libloading :: Error > where P : AsRef < :: std :: ffi :: OsStr > { let ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::new` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:5657 [INFO] [stdout] | [INFO] [stdout] 3 | ...d :: ffi :: OsStr > { let library = :: libloading :: Library :: new (path) ? ; Self :: from_library (library) } pub unsafe fn from_lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:5519 [INFO] [stdout] | [INFO] [stdout] 3 | ...tan { pub unsafe fn new < P > (path : P) -> Result < Self , :: libloading :: Error > where P : AsRef < :: std :: ffi :: OsStr > { let ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::BridgeStan::from_library` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:5700 [INFO] [stdout] | [INFO] [stdout] 3 | ...libloading :: Library :: new (path) ? ; Self :: from_library (library) } pub unsafe fn from_library < L > (library : L) -> Result < Se... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::BridgeStan::from_library` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:5700 [INFO] [stdout] | [INFO] [stdout] 3 | ...libloading :: Library :: new (path) ? ; Self :: from_library (library) } pub unsafe fn from_library < L > (library : L) -> Result < Se... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:5931 [INFO] [stdout] | [INFO] [stdout] 3 | ...nto () ; let bs_model_construct = __library . get (b"bs_model_construct\0") . map (| sym | * sym) ? ; let bs_model_destruct = __librar... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:5733 [INFO] [stdout] | [INFO] [stdout] 3 | ... } pub unsafe fn from_library < L > (library : L) -> Result < Self , :: libloading :: Error > where L : Into < :: libloading :: Library > { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6023 [INFO] [stdout] | [INFO] [stdout] 3 | ...* sym) ? ; let bs_model_destruct = __library . get (b"bs_model_destruct\0") . map (| sym | * sym) ? ; let bs_free_error_msg = __librar... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6114 [INFO] [stdout] | [INFO] [stdout] 3 | ...* sym) ? ; let bs_free_error_msg = __library . get (b"bs_free_error_msg\0") . map (| sym | * sym) ? ; let bs_name = __library . get (b... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6195 [INFO] [stdout] | [INFO] [stdout] 3 | .... map (| sym | * sym) ? ; let bs_name = __library . get (b"bs_name\0") . map (| sym | * sym) ? ; let bs_model_info = __library . get (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6272 [INFO] [stdout] | [INFO] [stdout] 3 | ...sym | * sym) ? ; let bs_model_info = __library . get (b"bs_model_info\0") . map (| sym | * sym) ? ; let bs_param_names = __library . g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6356 [INFO] [stdout] | [INFO] [stdout] 3 | ...m | * sym) ? ; let bs_param_names = __library . get (b"bs_param_names\0") . map (| sym | * sym) ? ; let bs_param_unc_names = __library... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:5931 [INFO] [stdout] | [INFO] [stdout] 3 | ...nto () ; let bs_model_construct = __library . get (b"bs_model_construct\0") . map (| sym | * sym) ? ; let bs_model_destruct = __librar... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:5733 [INFO] [stdout] | [INFO] [stdout] 3 | ... } pub unsafe fn from_library < L > (library : L) -> Result < Self , :: libloading :: Error > where L : Into < :: libloading :: Library > { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6023 [INFO] [stdout] | [INFO] [stdout] 3 | ...* sym) ? ; let bs_model_destruct = __library . get (b"bs_model_destruct\0") . map (| sym | * sym) ? ; let bs_free_error_msg = __librar... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6114 [INFO] [stdout] | [INFO] [stdout] 3 | ...* sym) ? ; let bs_free_error_msg = __library . get (b"bs_free_error_msg\0") . map (| sym | * sym) ? ; let bs_name = __library . get (b... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6445 [INFO] [stdout] | [INFO] [stdout] 3 | ...sym) ? ; let bs_param_unc_names = __library . get (b"bs_param_unc_names\0") . map (| sym | * sym) ? ; let bs_param_num = __library . g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6532 [INFO] [stdout] | [INFO] [stdout] 3 | ... sym | * sym) ? ; let bs_param_num = __library . get (b"bs_param_num\0") . map (| sym | * sym) ? ; let bs_param_unc_num = __library . ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6195 [INFO] [stdout] | [INFO] [stdout] 3 | .... map (| sym | * sym) ? ; let bs_name = __library . get (b"bs_name\0") . map (| sym | * sym) ? ; let bs_model_info = __library . get (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6617 [INFO] [stdout] | [INFO] [stdout] 3 | ... * sym) ? ; let bs_param_unc_num = __library . get (b"bs_param_unc_num\0") . map (| sym | * sym) ? ; let bs_param_constrain = __librar... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6708 [INFO] [stdout] | [INFO] [stdout] 3 | ...sym) ? ; let bs_param_constrain = __library . get (b"bs_param_constrain\0") . map (| sym | * sym) ? ; let bs_param_unconstrain = __lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6272 [INFO] [stdout] | [INFO] [stdout] 3 | ...sym | * sym) ? ; let bs_model_info = __library . get (b"bs_model_info\0") . map (| sym | * sym) ? ; let bs_param_names = __library . g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6356 [INFO] [stdout] | [INFO] [stdout] 3 | ...m | * sym) ? ; let bs_param_names = __library . get (b"bs_param_names\0") . map (| sym | * sym) ? ; let bs_param_unc_names = __library... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6803 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ? ; let bs_param_unconstrain = __library . get (b"bs_param_unconstrain\0") . map (| sym | * sym) ? ; let bs_param_unconstrain_json =... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6445 [INFO] [stdout] | [INFO] [stdout] 3 | ...sym) ? ; let bs_param_unc_names = __library . get (b"bs_param_unc_names\0") . map (| sym | * sym) ? ; let bs_param_num = __library . g... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6905 [INFO] [stdout] | [INFO] [stdout] 3 | ...et bs_param_unconstrain_json = __library . get (b"bs_param_unconstrain_json\0") . map (| sym | * sym) ? ; let bs_log_density = __libra... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6532 [INFO] [stdout] | [INFO] [stdout] 3 | ... sym | * sym) ? ; let bs_param_num = __library . get (b"bs_param_num\0") . map (| sym | * sym) ? ; let bs_param_unc_num = __library . ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7001 [INFO] [stdout] | [INFO] [stdout] 3 | ...m | * sym) ? ; let bs_log_density = __library . get (b"bs_log_density\0") . map (| sym | * sym) ? ; let bs_log_density_gradient = __li... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7095 [INFO] [stdout] | [INFO] [stdout] 3 | ...; let bs_log_density_gradient = __library . get (b"bs_log_density_gradient\0") . map (| sym | * sym) ? ; let bs_log_density_hessian = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7197 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; let bs_log_density_hessian = __library . get (b"bs_log_density_hessian\0") . map (| sym | * sym) ? ; let bs_log_density_hessian_vec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6617 [INFO] [stdout] | [INFO] [stdout] 3 | ... * sym) ? ; let bs_param_unc_num = __library . get (b"bs_param_unc_num\0") . map (| sym | * sym) ? ; let bs_param_constrain = __librar... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7313 [INFO] [stdout] | [INFO] [stdout] 3 | ...hessian_vector_product = __library . get (b"bs_log_density_hessian_vector_product\0") . map (| sym | * sym) ? ; let bs_rng_construct =... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6708 [INFO] [stdout] | [INFO] [stdout] 3 | ...sym) ? ; let bs_param_constrain = __library . get (b"bs_param_constrain\0") . map (| sym | * sym) ? ; let bs_param_unconstrain = __lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7423 [INFO] [stdout] | [INFO] [stdout] 3 | ... * sym) ? ; let bs_rng_construct = __library . get (b"bs_rng_construct\0") . map (| sym | * sym) ? ; let bs_rng_destruct = __library .... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6803 [INFO] [stdout] | [INFO] [stdout] 3 | ...) ? ; let bs_param_unconstrain = __library . get (b"bs_param_unconstrain\0") . map (| sym | * sym) ? ; let bs_param_unconstrain_json =... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:6905 [INFO] [stdout] | [INFO] [stdout] 3 | ...et bs_param_unconstrain_json = __library . get (b"bs_param_unconstrain_json\0") . map (| sym | * sym) ? ; let bs_log_density = __libra... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7511 [INFO] [stdout] | [INFO] [stdout] 3 | ... | * sym) ? ; let bs_rng_destruct = __library . get (b"bs_rng_destruct\0") . map (| sym | * sym) ? ; let bs_set_print_callback = __lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7001 [INFO] [stdout] | [INFO] [stdout] 3 | ...m | * sym) ? ; let bs_log_density = __library . get (b"bs_log_density\0") . map (| sym | * sym) ? ; let bs_log_density_gradient = __li... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7604 [INFO] [stdout] | [INFO] [stdout] 3 | ... ? ; let bs_set_print_callback = __library . get (b"bs_set_print_callback\0") . map (| sym | * sym) ? ; Ok (BridgeStan { __library , b... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7095 [INFO] [stdout] | [INFO] [stdout] 3 | ...; let bs_log_density_gradient = __library . get (b"bs_log_density_gradient\0") . map (| sym | * sym) ? ; let bs_log_density_hessian = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7197 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; let bs_log_density_hessian = __library . get (b"bs_log_density_hessian\0") . map (| sym | * sym) ? ; let bs_log_density_hessian_vec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7313 [INFO] [stdout] | [INFO] [stdout] 3 | ...hessian_vector_product = __library . get (b"bs_log_density_hessian_vector_product\0") . map (| sym | * sym) ? ; let bs_rng_construct =... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7423 [INFO] [stdout] | [INFO] [stdout] 3 | ... * sym) ? ; let bs_rng_construct = __library . get (b"bs_rng_construct\0") . map (| sym | * sym) ? ; let bs_rng_destruct = __library .... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7511 [INFO] [stdout] | [INFO] [stdout] 3 | ... | * sym) ? ; let bs_rng_destruct = __library . get (b"bs_rng_destruct\0") . map (| sym | * sym) ? ; let bs_set_print_callback = __lib... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi::libloading::Library::get` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:7604 [INFO] [stdout] | [INFO] [stdout] 3 | ... ? ; let bs_set_print_callback = __library . get (b"bs_set_print_callback\0") . map (| sym | * sym) ? ; Ok (BridgeStan { __library , b... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9060 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_char) -> * mut bs_model { (self . bs_model_construct) (data , seed , error_msg) } # [doc = " Destroy the model.\n\n @param[in] m poi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:8856 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_model_construct (& self , data : * const :: std :: os :: raw :: c_char , seed : :: std :: os :: raw :: c_uint , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> * mut bs_model { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9256 [INFO] [stdout] | [INFO] [stdout] 3 | ...estruct (& self , m : * mut bs_model) { (self . bs_model_destruct) (m) } # [doc = " Free the error messages created by other methods.\... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9192 [INFO] [stdout] | [INFO] [stdout] 3 | ...[in] m pointer to model structure"] pub unsafe fn bs_model_destruct (& self , m : * mut bs_model) { (self . bs_model_destruct) (m) } #... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9495 [INFO] [stdout] | [INFO] [stdout] 3 | ...ut :: std :: os :: raw :: c_char) { (self . bs_free_error_msg) (error_msg) } # [doc = " Return the name of the specified model as a C-... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9402 [INFO] [stdout] | [INFO] [stdout] 3 | ...er to error message"] pub unsafe fn bs_free_error_msg (& self , error_msg : * mut :: std :: os :: raw :: c_char) { (self . bs_free_err... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9060 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_char) -> * mut bs_model { (self . bs_model_construct) (data , seed , error_msg) } # [doc = " Destroy the model.\n\n @param[in] m poi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:8856 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_model_construct (& self , data : * const :: std :: os :: raw :: c_char , seed : :: std :: os :: raw :: c_uint , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> * mut bs_model { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9881 [INFO] [stdout] | [INFO] [stdout] 3 | ...) -> * const :: std :: os :: raw :: c_char { (self . bs_name) (m) } # [doc = " Return information about the compiled model as a C-styl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9784 [INFO] [stdout] | [INFO] [stdout] 3 | ...urn name of model"] pub unsafe fn bs_name (& self , m : * const bs_model) -> * const :: std :: os :: raw :: c_char { (self . bs_name) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9256 [INFO] [stdout] | [INFO] [stdout] 3 | ...estruct (& self , m : * mut bs_model) { (self . bs_model_destruct) (m) } # [doc = " Free the error messages created by other methods.\... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9192 [INFO] [stdout] | [INFO] [stdout] 3 | ...[in] m pointer to model structure"] pub unsafe fn bs_model_destruct (& self , m : * mut bs_model) { (self . bs_model_destruct) (m) } #... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:10326 [INFO] [stdout] | [INFO] [stdout] 3 | ...> * const :: std :: os :: raw :: c_char { (self . bs_model_info) (m) } # [doc = " Return a comma-separated sequence of indexed paramet... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:10223 [INFO] [stdout] | [INFO] [stdout] 3 | ...ompiler flags."] pub unsafe fn bs_model_info (& self , m : * const bs_model) -> * const :: std :: os :: raw :: c_char { (self . bs_mod... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9495 [INFO] [stdout] | [INFO] [stdout] 3 | ...ut :: std :: os :: raw :: c_char) { (self . bs_free_error_msg) (error_msg) } # [doc = " Return the name of the specified model as a C-... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9402 [INFO] [stdout] | [INFO] [stdout] 3 | ...er to error message"] pub unsafe fn bs_free_error_msg (& self , error_msg : * mut :: std :: os :: raw :: c_char) { (self . bs_free_err... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:11303 [INFO] [stdout] | [INFO] [stdout] 3 | ...td :: os :: raw :: c_char { (self . bs_param_names) (m , include_tp , include_gq) } # [doc = " Return a comma-separated sequence of un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:11159 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_param_names (& self , m : * const bs_model , include_tp : bool , include_gq : bool) -> * const :: std :: os :: raw :: c_char { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9881 [INFO] [stdout] | [INFO] [stdout] 3 | ...) -> * const :: std :: os :: raw :: c_char { (self . bs_name) (m) } # [doc = " Return information about the compiled model as a C-styl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:9784 [INFO] [stdout] | [INFO] [stdout] 3 | ...urn name of model"] pub unsafe fn bs_name (& self , m : * const bs_model) -> * const :: std :: os :: raw :: c_char { (self . bs_name) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:12192 [INFO] [stdout] | [INFO] [stdout] 3 | ... const :: std :: os :: raw :: c_char { (self . bs_param_unc_names) (m) } # [doc = " Return the number of scalar parameters, optionally... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:12084 [INFO] [stdout] | [INFO] [stdout] 3 | ...meter names"] pub unsafe fn bs_param_unc_names (& self , m : * const bs_model) -> * const :: std :: os :: raw :: c_char { (self . bs_p... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:10326 [INFO] [stdout] | [INFO] [stdout] 3 | ...> * const :: std :: os :: raw :: c_char { (self . bs_model_info) (m) } # [doc = " Return a comma-separated sequence of indexed paramet... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:10223 [INFO] [stdout] | [INFO] [stdout] 3 | ...ompiler flags."] pub unsafe fn bs_model_info (& self , m : * const bs_model) -> * const :: std :: os :: raw :: c_char { (self . bs_mod... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:12765 [INFO] [stdout] | [INFO] [stdout] 3 | ... std :: os :: raw :: c_int { (self . bs_param_num) (m , include_tp , include_gq) } # [doc = " Return the number of unconstrained param... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:12632 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_param_num (& self , m : * const bs_model , include_tp : bool , include_gq : bool) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:11303 [INFO] [stdout] | [INFO] [stdout] 3 | ...td :: os :: raw :: c_char { (self . bs_param_names) (m , include_tp , include_gq) } # [doc = " Return a comma-separated sequence of un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:11159 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_param_names (& self , m : * const bs_model , include_tp : bool , include_gq : bool) -> * const :: std :: os :: raw :: c_char { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:13274 [INFO] [stdout] | [INFO] [stdout] 3 | ...odel) -> :: std :: os :: raw :: c_int { (self . bs_param_unc_num) (m) } # [doc = " Set the sequence of constrained parameters based on... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:13177 [INFO] [stdout] | [INFO] [stdout] 3 | ...rained parameters"] pub unsafe fn bs_param_unc_num (& self , m : * const bs_model) -> :: std :: os :: raw :: c_int { (self . bs_param_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:12192 [INFO] [stdout] | [INFO] [stdout] 3 | ... const :: std :: os :: raw :: c_char { (self . bs_param_unc_names) (m) } # [doc = " Return the number of scalar parameters, optionally... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:12084 [INFO] [stdout] | [INFO] [stdout] 3 | ...meter names"] pub unsafe fn bs_param_unc_names (& self , m : * const bs_model) -> * const :: std :: os :: raw :: c_char { (self . bs_p... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:14651 [INFO] [stdout] | [INFO] [stdout] 3 | ..._int { (self . bs_param_constrain) (m , include_tp , include_gq , theta_unc , theta , rng , error_msg) } # [doc = " Set the sequence o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:14389 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_param_constrain (& self , m : * const bs_model , include_tp : bool , include_gq : bool , theta_unc : * const f64 , theta : * mut f64 , rng : * mut bs_rng , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:12765 [INFO] [stdout] | [INFO] [stdout] 3 | ... std :: os :: raw :: c_int { (self . bs_param_num) (m , include_tp , include_gq) } # [doc = " Return the number of unconstrained param... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:12632 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_param_num (& self , m : * const bs_model , include_tp : bool , include_gq : bool) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:15649 [INFO] [stdout] | [INFO] [stdout] 3 | ... os :: raw :: c_int { (self . bs_param_unconstrain) (m , theta , theta_unc , error_msg) } # [doc = " Set the sequence of unconstrained... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:15446 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_param_unconstrain (& self , m : * const bs_model , theta : * const f64 , theta_unc : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:13274 [INFO] [stdout] | [INFO] [stdout] 3 | ...odel) -> :: std :: os :: raw :: c_int { (self . bs_param_unc_num) (m) } # [doc = " Set the sequence of constrained parameters based on... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:13177 [INFO] [stdout] | [INFO] [stdout] 3 | ...rained parameters"] pub unsafe fn bs_param_unc_num (& self , m : * const bs_model) -> :: std :: os :: raw :: c_int { (self . bs_param_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:16622 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_int { (self . bs_param_unconstrain_json) (m , json , theta_unc , error_msg) } # [doc = " Set the log density of the spec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:16389 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_param_unconstrain_json (& self , m : * const bs_model , json : * const :: std :: os :: raw :: c_char , theta_unc : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:14651 [INFO] [stdout] | [INFO] [stdout] 3 | ..._int { (self . bs_param_constrain) (m , include_tp , include_gq , theta_unc , theta , rng , error_msg) } # [doc = " Set the sequence o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:14389 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_param_constrain (& self , m : * const bs_model , include_tp : bool , include_gq : bool , theta_unc : * const f64 , theta : * mut f64 , rng : * mut bs_rng , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:17730 [INFO] [stdout] | [INFO] [stdout] 3 | ...: raw :: c_int { (self . bs_log_density) (m , propto , jacobian , theta_unc , lp , error_msg) } # [doc = " Set the log density and gra... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:17502 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_log_density (& self , m : * const bs_model , propto : bool , jacobian : bool , theta_unc : * const f64 , lp : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:15649 [INFO] [stdout] | [INFO] [stdout] 3 | ... os :: raw :: c_int { (self . bs_param_unconstrain) (m , theta , theta_unc , error_msg) } # [doc = " Set the sequence of unconstrained... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:15446 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_param_unconstrain (& self , m : * const bs_model , theta : * const f64 , theta_unc : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:19048 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_int { (self . bs_log_density_gradient) (m , propto , jacobian , theta_unc , val , grad , error_msg) } # [doc = " Set the log density... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:18791 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_log_density_gradient (& self , m : * const bs_model , propto : bool , jacobian : bool , theta_unc : * const f64 , val : * mut f64 , grad : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:16622 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_int { (self . bs_param_unconstrain_json) (m , json , theta_unc , error_msg) } # [doc = " Set the log density of the spec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:16389 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_param_unconstrain_json (& self , m : * const bs_model , json : * const :: std :: os :: raw :: c_char , theta_unc : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:20742 [INFO] [stdout] | [INFO] [stdout] 3 | ...t { (self . bs_log_density_hessian) (m , propto , jacobian , theta_unc , val , grad , hessian , error_msg) } # [doc = " Calculate the ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:20464 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_log_density_hessian (& self , m : * const bs_model , propto : bool , jacobian : bool , theta_unc : * const f64 , val : * mut f64 , grad : * mut f64 , hessian : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:17730 [INFO] [stdout] | [INFO] [stdout] 3 | ...: raw :: c_int { (self . bs_log_density) (m , propto , jacobian , theta_unc , lp , error_msg) } # [doc = " Set the log density and gra... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:17502 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_log_density (& self , m : * const bs_model , propto : bool , jacobian : bool , theta_unc : * const f64 , lp : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:22661 [INFO] [stdout] | [INFO] [stdout] 3 | ..._int { (self . bs_log_density_hessian_vector_product) (m , propto , jacobian , theta_unc , vector , val , hvp , error_msg) } # [doc = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:22368 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_log_density_hessian_vector_product (& self , m : * const bs_model , propto : bool , jacobian : bool , theta_unc : * const f64 , vector : * const f64 , val : * mut f64 , hvp : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:19048 [INFO] [stdout] | [INFO] [stdout] 3 | ...c_int { (self . bs_log_density_gradient) (m , propto , jacobian , theta_unc , val , grad , error_msg) } # [doc = " Set the log density... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:18791 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_log_density_gradient (& self , m : * const bs_model , propto : bool , jacobian : bool , theta_unc : * const f64 , val : * mut f64 , grad : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:23286 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_char) -> * mut bs_rng { (self . bs_rng_construct) (seed , error_msg) } # [doc = " Destruct an RNG object.\n\n @param[in] rng ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:23133 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_rng_construct (& self , seed : :: std :: os :: raw :: c_uint , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> * mut bs_rng { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:20742 [INFO] [stdout] | [INFO] [stdout] 3 | ...t { (self . bs_log_density_hessian) (m , propto , jacobian , theta_unc , val , grad , hessian , error_msg) } # [doc = " Calculate the ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:20464 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_log_density_hessian (& self , m : * const bs_model , propto : bool , jacobian : bool , theta_unc : * const f64 , val : * mut f64 , grad : * mut f64 , hessian : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:23473 [INFO] [stdout] | [INFO] [stdout] 3 | ...estruct (& self , rng : * mut bs_rng) { (self . bs_rng_destruct) (rng) } # [doc = " Provide a function for printing. This will be call... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:23411 [INFO] [stdout] | [INFO] [stdout] 3 | ...aram[in] rng pointer to RNG object"] pub unsafe fn bs_rng_destruct (& self , rng : * mut bs_rng) { (self . bs_rng_destruct) (rng) } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:22661 [INFO] [stdout] | [INFO] [stdout] 3 | ..._int { (self . bs_log_density_hessian_vector_product) (m , propto , jacobian , theta_unc , vector , val , hvp , error_msg) } # [doc = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:22368 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_log_density_hessian_vector_product (& self , m : * const bs_model , propto : bool , jacobian : bool , theta_unc : * const f64 , vector : * const f64 , val : * mut f64 , hvp : * mut f64 , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:24264 [INFO] [stdout] | [INFO] [stdout] 3 | ...std :: os :: raw :: c_int { (self . bs_set_print_callback) (callback , error_msg) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:24100 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_set_print_callback (& self , callback : STREAM_CALLBACK , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:23286 [INFO] [stdout] | [INFO] [stdout] 3 | ...raw :: c_char) -> * mut bs_rng { (self . bs_rng_construct) (seed , error_msg) } # [doc = " Destruct an RNG object.\n\n @param[in] rng ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:23133 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_rng_construct (& self , seed : :: std :: os :: raw :: c_uint , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> * mut bs_rng { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:23473 [INFO] [stdout] | [INFO] [stdout] 3 | ...estruct (& self , rng : * mut bs_rng) { (self . bs_rng_destruct) (rng) } # [doc = " Provide a function for printing. This will be call... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:23411 [INFO] [stdout] | [INFO] [stdout] 3 | ...aram[in] rng pointer to RNG object"] pub unsafe fn bs_rng_destruct (& self , rng : * mut bs_rng) { (self . bs_rng_destruct) (rng) } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:24264 [INFO] [stdout] | [INFO] [stdout] 3 | ...std :: os :: raw :: c_int { (self . bs_set_print_callback) (callback , error_msg) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/bridgestan-bd9ba19df100ee49/out/bindings.rs:3:24100 [INFO] [stdout] | [INFO] [stdout] 3 | ..."] pub unsafe fn bs_set_print_callback (& self , callback : STREAM_CALLBACK , error_msg : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bridgestan` (lib test) due to 4 previous errors; 40 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bridgestan` (lib) due to 4 previous errors; 40 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "56a7a55261cda0e84649840ca9876e3af483a2b2206227afd89bba5570edde2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a7a55261cda0e84649840ca9876e3af483a2b2206227afd89bba5570edde2e", kill_on_drop: false }` [INFO] [stdout] 56a7a55261cda0e84649840ca9876e3af483a2b2206227afd89bba5570edde2e