[INFO] fetching crate osqp-rust-sys 0.6.2... [INFO] checking osqp-rust-sys-0.6.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate osqp-rust-sys 0.6.2 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate osqp-rust-sys 0.6.2 [INFO] finished tweaking crates.io crate osqp-rust-sys 0.6.2 [INFO] tweaked toml for crates.io crate osqp-rust-sys 0.6.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate osqp-rust-sys 0.6.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate osqp-rust-sys 0.6.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2443b7cc9743dff1b6bbbd06d12be1e9afe94ad5cb0f12fd3c5259f900c0585e [INFO] running `Command { std: "docker" "start" "-a" "2443b7cc9743dff1b6bbbd06d12be1e9afe94ad5cb0f12fd3c5259f900c0585e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2443b7cc9743dff1b6bbbd06d12be1e9afe94ad5cb0f12fd3c5259f900c0585e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2443b7cc9743dff1b6bbbd06d12be1e9afe94ad5cb0f12fd3c5259f900c0585e", kill_on_drop: false }` [INFO] [stdout] 2443b7cc9743dff1b6bbbd06d12be1e9afe94ad5cb0f12fd3c5259f900c0585e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cb6fb805076dd4c33aac77ebd8534b39bd7393bd89d13dd151159ba837694e2 [INFO] running `Command { std: "docker" "start" "-a" "8cb6fb805076dd4c33aac77ebd8534b39bd7393bd89d13dd151159ba837694e2", kill_on_drop: false }` [INFO] [stderr] Compiling osqp-rust-sys v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src64/lin_sys/lib_handler.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src64/lin_sys/lib_handler.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src64/lin_sys/lib_handler.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src64/lin_sys/lib_handler.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/pardiso/pardiso_loader.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | if func_pardiso.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/pardiso/pardiso_loader.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | if func_pardiso.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/pardiso/pardiso_loader.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | if func_mkl_set_interface_layer.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/pardiso/pardiso_loader.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | if func_mkl_get_max_threads.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | } else if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | } else if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | } else if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 259 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src64/src/util.rs:259:10 [INFO] [stdout] | [INFO] [stdout] 259 | *LINSYS_SOLVER_NAME.as_mut_ptr().offset((*settings).linsys_solver as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `update_info` redeclared with a different signature [INFO] [stdout] --> src64/src/polish.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / fn update_info( [INFO] [stdout] 19 | | work: *mut OSQPWorkspace, [INFO] [stdout] 20 | | iter: c_int, [INFO] [stdout] 21 | | compute_objective: c_int, [INFO] [stdout] 22 | | polish_0: c_int, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |______^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src64/src/osqp.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn update_info( [INFO] [stdout] 35 | | work: *mut OSQPWorkspace, [INFO] [stdout] 36 | | iter: c_int, [INFO] [stdout] 37 | | compute_objective: c_int, [INFO] [stdout] 38 | | polish_0: c_int, [INFO] [stdout] 39 | | ); [INFO] [stdout] | |______- `update_info` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut osqp::OSQPWorkspace, i64, i64, i64)` [INFO] [stdout] found `unsafe extern "C" fn(*mut polish::OSQPWorkspace, i64, i64, i64)` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `init_linsys_solver` redeclared with a different signature [INFO] [stdout] --> src64/src/polish.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / fn init_linsys_solver( [INFO] [stdout] 25 | | s: *mut *mut LinSysSolver, [INFO] [stdout] 26 | | P: *const csc, [INFO] [stdout] 27 | | A: *const csc, [INFO] [stdout] ... | [INFO] [stdout] 31 | | polish_0: c_int, [INFO] [stdout] 32 | | ) -> c_int; [INFO] [stdout] | |_______________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src64/src/osqp.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / fn init_linsys_solver( [INFO] [stdout] 55 | | s: *mut *mut LinSysSolver, [INFO] [stdout] 56 | | P: *const csc, [INFO] [stdout] 57 | | A: *const csc, [INFO] [stdout] ... | [INFO] [stdout] 61 | | polish_0: c_int, [INFO] [stdout] 62 | | ) -> c_int; [INFO] [stdout] | |_______________- `init_linsys_solver` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut *mut osqp::linsys_solver, *const osqp::csc, *const osqp::csc, f64, *const f64, u32, i64) -> i64` [INFO] [stdout] found `unsafe extern "C" fn(*mut *mut polish::linsys_solver, *const polish::csc, *const polish::csc, f64, *const f64, u32, i64) -> i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/pardiso/pardiso_loader.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | if func_pardiso.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/pardiso/pardiso_loader.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | if func_pardiso.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/pardiso/pardiso_loader.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | if func_mkl_set_interface_layer.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/pardiso/pardiso_loader.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | if func_mkl_get_max_threads.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | } else if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | } else if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_control.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | } else if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 259 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/amd/src/amd_info.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | if (SuiteSparse_config.printf_func).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src64/src/util.rs:259:10 [INFO] [stdout] | [INFO] [stdout] 259 | *LINSYS_SOLVER_NAME.as_mut_ptr().offset((*settings).linsys_solver as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `update_info` redeclared with a different signature [INFO] [stdout] --> src64/src/polish.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / fn update_info( [INFO] [stdout] 19 | | work: *mut OSQPWorkspace, [INFO] [stdout] 20 | | iter: c_int, [INFO] [stdout] 21 | | compute_objective: c_int, [INFO] [stdout] 22 | | polish_0: c_int, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |______^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src64/src/osqp.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn update_info( [INFO] [stdout] 35 | | work: *mut OSQPWorkspace, [INFO] [stdout] 36 | | iter: c_int, [INFO] [stdout] 37 | | compute_objective: c_int, [INFO] [stdout] 38 | | polish_0: c_int, [INFO] [stdout] 39 | | ); [INFO] [stdout] | |______- `update_info` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut osqp::OSQPWorkspace, i64, i64, i64)` [INFO] [stdout] found `unsafe extern "C" fn(*mut polish::OSQPWorkspace, i64, i64, i64)` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `init_linsys_solver` redeclared with a different signature [INFO] [stdout] --> src64/src/polish.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / fn init_linsys_solver( [INFO] [stdout] 25 | | s: *mut *mut LinSysSolver, [INFO] [stdout] 26 | | P: *const csc, [INFO] [stdout] 27 | | A: *const csc, [INFO] [stdout] ... | [INFO] [stdout] 31 | | polish_0: c_int, [INFO] [stdout] 32 | | ) -> c_int; [INFO] [stdout] | |_______________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src64/src/osqp.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / fn init_linsys_solver( [INFO] [stdout] 55 | | s: *mut *mut LinSysSolver, [INFO] [stdout] 56 | | P: *const csc, [INFO] [stdout] 57 | | A: *const csc, [INFO] [stdout] ... | [INFO] [stdout] 61 | | polish_0: c_int, [INFO] [stdout] 62 | | ) -> c_int; [INFO] [stdout] | |_______________- `init_linsys_solver` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut *mut osqp::linsys_solver, *const osqp::csc, *const osqp::csc, f64, *const f64, u32, i64) -> i64` [INFO] [stdout] found `unsafe extern "C" fn(*mut *mut polish::linsys_solver, *const polish::csc, *const polish::csc, f64, *const f64, u32, i64) -> i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::osqp_rust_sys::*` [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::osqp_rust_sys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::osqp_rust_sys::*` [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::osqp_rust_sys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | sumLnz = QDLDL_etree(An, Ap.as_ptr(), Ai.as_ptr(), iwork, Lnz, etree); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | sumLnz = QDLDL_etree(An, Ap.as_ptr(), Ai.as_ptr(), iwork, Lnz, etree); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | Ap.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | Ai.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Ax.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | Ap.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | Ai.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | sumLnz = QDLDL_etree(An, Ap.as_ptr(), Ai.as_ptr(), iwork, Lnz, etree); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | Ax.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | sumLnz = QDLDL_etree(An, Ap.as_ptr(), Ai.as_ptr(), iwork, Lnz, etree); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | b.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | Ap.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | Ai.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | Ax.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | Ap.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | Ai.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | Ax.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src64/lin_sys/direct/qdldl/qdldl_sources/examples/example.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | b.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::osqp_rust_sys::*` [INFO] [stdout] --> src64/examples/osqp_demo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::osqp_rust_sys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::osqp_rust_sys::*` [INFO] [stdout] --> src64/examples/osqp_demo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::osqp_rust_sys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src64/examples/osqp_demo.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | mut argc: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src64/examples/osqp_demo.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | mut argv: *mut *mut ::std::os::raw::c_char, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src64/examples/osqp_demo.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | mut argc: ::std::os::raw::c_int, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src64/examples/osqp_demo.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | mut argv: *mut *mut ::std::os::raw::c_char, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "8cb6fb805076dd4c33aac77ebd8534b39bd7393bd89d13dd151159ba837694e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb6fb805076dd4c33aac77ebd8534b39bd7393bd89d13dd151159ba837694e2", kill_on_drop: false }` [INFO] [stdout] 8cb6fb805076dd4c33aac77ebd8534b39bd7393bd89d13dd151159ba837694e2