[INFO] fetching crate osqp-rust-sys 0.6.2... [INFO] building osqp-rust-sys-0.6.2 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate osqp-rust-sys 0.6.2 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate osqp-rust-sys 0.6.2 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d8c5ca606c011b2e720a97320d333d6a0456f4dea912e0a1ff776a274dba879 [INFO] running `Command { std: "docker" "start" "-a" "6d8c5ca606c011b2e720a97320d333d6a0456f4dea912e0a1ff776a274dba879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d8c5ca606c011b2e720a97320d333d6a0456f4dea912e0a1ff776a274dba879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8c5ca606c011b2e720a97320d333d6a0456f4dea912e0a1ff776a274dba879", kill_on_drop: false }` [INFO] [stdout] 6d8c5ca606c011b2e720a97320d333d6a0456f4dea912e0a1ff776a274dba879 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 2a3406f81a178f1ecaf1182fa4d8d356036e19d72be5c33da9e25eb44125dd65 [INFO] running `Command { std: "docker" "start" "-a" "2a3406f81a178f1ecaf1182fa4d8d356036e19d72be5c33da9e25eb44125dd65", 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] --> src32/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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src32/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] --> src32/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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src32/lin_sys/direct/pardiso/pardiso_loader.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | 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] --> src32/lin_sys/direct/pardiso/pardiso_loader.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | 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] --> src32/lin_sys/direct/pardiso/pardiso_loader.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | 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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/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] --> src32/src/util.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | *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] --> src32/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] ::: src32/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, i32, i32, i32)` [INFO] [stdout] found `unsafe extern "C" fn(*mut polish::OSQPWorkspace, i32, i32, i32)` [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] --> src32/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] ::: src32/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, i32) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*mut *mut polish::linsys_solver, *const polish::csc, *const polish::csc, f64, *const f64, u32, i32) -> i32` [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src64/examples/osqp_demo.rs:200:5 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src64/examples/osqp_demo.rs:201:5 [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: 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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: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] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "--export" "LINSYS_SOLVER_NAME" "--export" "OSQP_ERROR_MESSAGE" "--export" "QDLDL_Lsolve" "--export" "QDLDL_Ltsolve" "--export" "QDLDL_etree" "--export" "QDLDL_factor" "--export" "QDLDL_solve" "--export" "SuiteSparse_config" "--export" "SuiteSparse_divcomplex" "--export" "SuiteSparse_free" "--export" "SuiteSparse_hypot" "--export" "SuiteSparse_malloc" "--export" "SuiteSparse_realloc" "--export" "SuiteSparse_tic" "--export" "SuiteSparse_time" "--export" "SuiteSparse_toc" "--export" "SuiteSparse_version" "--export" "_osqp_error" "--export" "adapt_rho" "--export" "amd_1" "--export" "amd_2" "--export" "amd_aat" "--export" "amd_control" "--export" "amd_defaults" "--export" "amd_info" "--export" "amd_order" "--export" "amd_post_tree" "--export" "amd_postorder" "--export" "amd_preprocess" "--export" "amd_valid" "--export" "c_strcpy" "--export" "check_termination" "--export" "cold_start" "--export" "compute_dua_res" "--export" "compute_dua_tol" "--export" "compute_inf_norm_cols_KKT" "--export" "compute_obj_val" "--export" "compute_pri_res" "--export" "compute_pri_tol" "--export" "compute_rho_estimate" "--export" "copy_csc_mat" "--export" "copy_settings" "--export" "csc_cumsum" "--export" "csc_done" "--export" "csc_matrix" "--export" "csc_pinv" "--export" "csc_spalloc" "--export" "csc_spfree" "--export" "csc_symperm" "--export" "csc_to_triu" "--export" "form_KKT" "--export" "free_linsys_solver_pardiso" "--export" "free_linsys_solver_qdldl" "--export" "has_solution" "--export" "init_linsys_solver" "--export" "init_linsys_solver_pardiso" "--export" "init_linsys_solver_qdldl" "--export" "int_vec_set_scalar" "--export" "is_dual_infeasible" "--export" "is_primal_infeasible" "--export" "lh_load_lib" "--export" "lh_load_pardiso" "--export" "lh_load_sym" "--export" "lh_unload_lib" "--export" "lh_unload_pardiso" "--export" "limit_scaling" "--export" "load_linsys_solver" "--export" "mat_inf_norm_cols" "--export" "mat_inf_norm_cols_sym_triu" "--export" "mat_inf_norm_rows" "--export" "mat_mult_scalar" "--export" "mat_postmult_diag" "--export" "mat_premult_diag" "--export" "mat_tpose_vec" "--export" "mat_vec" "--export" "mkl_get_max_threads" "--export" "mkl_set_interface_layer" "--export" "osqp_cleanup" "--export" "osqp_set_default_settings" "--export" "osqp_setup" "--export" "osqp_solve" "--export" "osqp_tic" "--export" "osqp_toc" "--export" "osqp_update_A" "--export" "osqp_update_P" "--export" "osqp_update_P_A" "--export" "osqp_update_alpha" "--export" "osqp_update_bounds" "--export" "osqp_update_check_termination" "--export" "osqp_update_delta" "--export" "osqp_update_eps_abs" "--export" "osqp_update_eps_dual_inf" "--export" "osqp_update_eps_prim_inf" "--export" "osqp_update_eps_rel" "--export" "osqp_update_lin_cost" "--export" "osqp_update_lower_bound" "--export" "osqp_update_max_iter" "--export" "osqp_update_polish" "--export" "osqp_update_polish_refine_iter" "--export" "osqp_update_rho" "--export" "osqp_update_scaled_termination" "--export" "osqp_update_time_limit" "--export" "osqp_update_upper_bound" "--export" "osqp_update_verbose" "--export" "osqp_update_warm_start" "--export" "osqp_version" "--export" "osqp_warm_start" "--export" "osqp_warm_start_x" "--export" "osqp_warm_start_y" "--export" "pardiso" "--export" "permute_x" "--export" "permutet_x" "--export" "polish" "--export" "prea_copy_csc_mat" "--export" "prea_int_vec_copy" "--export" "prea_vec_copy" "--export" "print_footer" "--export" "print_header" "--export" "print_polish" "--export" "print_setup_header" "--export" "print_summary" "--export" "project" "--export" "project_normalcone" "--export" "quad_form" "--export" "reset_info" "--export" "scale_data" "--export" "set_rho_vec" "--export" "solve_linsys_pardiso" "--export" "solve_linsys_qdldl" "--export" "store_solution" "--export" "swap_vectors" "--export" "tolower" "--export" "toupper" "--export" "triplet_to_csc" "--export" "triplet_to_csr" "--export" "unload_linsys_solver" "--export" "unscale_data" "--export" "unscale_solution" "--export" "update_KKT_A" "--export" "update_KKT_P" "--export" "update_KKT_param2" "--export" "update_info" "--export" "update_linsys_solver_matrices_pardiso" "--export" "update_linsys_solver_matrices_qdldl" "--export" "update_linsys_solver_rho_vec_pardiso" "--export" "update_linsys_solver_rho_vec_qdldl" "--export" "update_rho_vec" "--export" "update_status" "--export" "update_x" "--export" "update_xz_tilde" "--export" "update_y" "--export" "update_z" "--export" "validate_data" "--export" "validate_linsys_solver" "--export" "validate_settings" "--export" "vec_add_scalar" "--export" "vec_add_scaled" "--export" "vec_copy" "--export" "vec_ew_max" "--export" "vec_ew_max_vec" "--export" "vec_ew_min" "--export" "vec_ew_min_vec" "--export" "vec_ew_prod" "--export" "vec_ew_recipr" "--export" "vec_ew_sqrt" "--export" "vec_mean" "--export" "vec_mult_scalar" "--export" "vec_norm_inf" "--export" "vec_norm_inf_diff" "--export" "vec_prod" "--export" "vec_scaled_norm_inf" "--export" "vec_set_scalar" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libpanic_abort-*,libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/osqp_demo-4b72d36334305646.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: function signature mismatch: osqp_setup [INFO] [stdout] >>> defined as (i32, i32, i32) -> i64 in /opt/rustwide/target/wasm32-wasip1/debug/deps/osqp_demo-4b72d36334305646.osqp_demo.9667e2121264a593-cgu.0.rcgu.o [INFO] [stdout] >>> defined as (i32, i32, i32) -> i32 in /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.00.rcgu.o) [INFO] [stdout] [INFO] [stdout] rust-lld: warning: function signature mismatch: osqp_solve [INFO] [stdout] >>> defined as (i32) -> i64 in /opt/rustwide/target/wasm32-wasip1/debug/deps/osqp_demo-4b72d36334305646.osqp_demo.9667e2121264a593-cgu.0.rcgu.o [INFO] [stdout] >>> defined as (i32) -> i32 in /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.00.rcgu.o) [INFO] [stdout] [INFO] [stdout] rust-lld: warning: function signature mismatch: csc_matrix [INFO] [stdout] >>> defined as (i64, i64, i64, i32, i32, i32) -> i32 in /opt/rustwide/target/wasm32-wasip1/debug/deps/osqp_demo-4b72d36334305646.osqp_demo.9667e2121264a593-cgu.0.rcgu.o [INFO] [stdout] >>> defined as (i32, i32, i32, i32, i32, i32) -> i32 in /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.07.rcgu.o) [INFO] [stdout] [INFO] [stdout] rust-lld: warning: function signature mismatch: osqp_cleanup [INFO] [stdout] >>> defined as (i32) -> i64 in /opt/rustwide/target/wasm32-wasip1/debug/deps/osqp_demo-4b72d36334305646.osqp_demo.9667e2121264a593-cgu.0.rcgu.o [INFO] [stdout] >>> defined as (i32) -> i32 in /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.00.rcgu.o) [INFO] [stdout] [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.10.rcgu.o): undefined symbol: mach_absolute_time [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.10.rcgu.o): undefined symbol: mach_absolute_time [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.10.rcgu.o): undefined symbol: mach_timebase_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: dlopen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: dlerror [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: dlsym [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: dlerror [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: __tolower [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: __toupper [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: dlclose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "Ai" "--export" "An" "--export" "Ap" "--export" "Ax" "--export" "__main_void" "--export" "b" "--export" "print_arrayf" "--export" "print_arrayi" "--export" "print_line" "--export" "LINSYS_SOLVER_NAME" "--export" "OSQP_ERROR_MESSAGE" "--export" "QDLDL_Lsolve" "--export" "QDLDL_Ltsolve" "--export" "QDLDL_etree" "--export" "QDLDL_factor" "--export" "QDLDL_solve" "--export" "SuiteSparse_config" "--export" "SuiteSparse_divcomplex" "--export" "SuiteSparse_free" "--export" "SuiteSparse_hypot" "--export" "SuiteSparse_malloc" "--export" "SuiteSparse_realloc" "--export" "SuiteSparse_tic" "--export" "SuiteSparse_time" "--export" "SuiteSparse_toc" "--export" "SuiteSparse_version" "--export" "_osqp_error" "--export" "adapt_rho" "--export" "amd_1" "--export" "amd_2" "--export" "amd_aat" "--export" "amd_control" "--export" "amd_defaults" "--export" "amd_info" "--export" "amd_order" "--export" "amd_post_tree" "--export" "amd_postorder" "--export" "amd_preprocess" "--export" "amd_valid" "--export" "c_strcpy" "--export" "check_termination" "--export" "cold_start" "--export" "compute_dua_res" "--export" "compute_dua_tol" "--export" "compute_inf_norm_cols_KKT" "--export" "compute_obj_val" "--export" "compute_pri_res" "--export" "compute_pri_tol" "--export" "compute_rho_estimate" "--export" "copy_csc_mat" "--export" "copy_settings" "--export" "csc_cumsum" "--export" "csc_done" "--export" "csc_matrix" "--export" "csc_pinv" "--export" "csc_spalloc" "--export" "csc_spfree" "--export" "csc_symperm" "--export" "csc_to_triu" "--export" "form_KKT" "--export" "free_linsys_solver_pardiso" "--export" "free_linsys_solver_qdldl" "--export" "has_solution" "--export" "init_linsys_solver" "--export" "init_linsys_solver_pardiso" "--export" "init_linsys_solver_qdldl" "--export" "int_vec_set_scalar" "--export" "is_dual_infeasible" "--export" "is_primal_infeasible" "--export" "lh_load_lib" "--export" "lh_load_pardiso" "--export" "lh_load_sym" "--export" "lh_unload_lib" "--export" "lh_unload_pardiso" "--export" "limit_scaling" "--export" "load_linsys_solver" "--export" "mat_inf_norm_cols" "--export" "mat_inf_norm_cols_sym_triu" "--export" "mat_inf_norm_rows" "--export" "mat_mult_scalar" "--export" "mat_postmult_diag" "--export" "mat_premult_diag" "--export" "mat_tpose_vec" "--export" "mat_vec" "--export" "mkl_get_max_threads" "--export" "mkl_set_interface_layer" "--export" "osqp_cleanup" "--export" "osqp_set_default_settings" "--export" "osqp_setup" "--export" "osqp_solve" "--export" "osqp_tic" "--export" "osqp_toc" "--export" "osqp_update_A" "--export" "osqp_update_P" "--export" "osqp_update_P_A" "--export" "osqp_update_alpha" "--export" "osqp_update_bounds" "--export" "osqp_update_check_termination" "--export" "osqp_update_delta" "--export" "osqp_update_eps_abs" "--export" "osqp_update_eps_dual_inf" "--export" "osqp_update_eps_prim_inf" "--export" "osqp_update_eps_rel" "--export" "osqp_update_lin_cost" "--export" "osqp_update_lower_bound" "--export" "osqp_update_max_iter" "--export" "osqp_update_polish" "--export" "osqp_update_polish_refine_iter" "--export" "osqp_update_rho" "--export" "osqp_update_scaled_termination" "--export" "osqp_update_time_limit" "--export" "osqp_update_upper_bound" "--export" "osqp_update_verbose" "--export" "osqp_update_warm_start" "--export" "osqp_version" "--export" "osqp_warm_start" "--export" "osqp_warm_start_x" "--export" "osqp_warm_start_y" "--export" "pardiso" "--export" "permute_x" "--export" "permutet_x" "--export" "polish" "--export" "prea_copy_csc_mat" "--export" "prea_int_vec_copy" "--export" "prea_vec_copy" "--export" "print_footer" "--export" "print_header" "--export" "print_polish" "--export" "print_setup_header" "--export" "print_summary" "--export" "project" "--export" "project_normalcone" "--export" "quad_form" "--export" "reset_info" "--export" "scale_data" "--export" "set_rho_vec" "--export" "solve_linsys_pardiso" "--export" "solve_linsys_qdldl" "--export" "store_solution" "--export" "swap_vectors" "--export" "tolower" "--export" "toupper" "--export" "triplet_to_csc" "--export" "triplet_to_csr" "--export" "unload_linsys_solver" "--export" "unscale_data" "--export" "unscale_solution" "--export" "update_KKT_A" "--export" "update_KKT_P" "--export" "update_KKT_param2" "--export" "update_info" "--export" "update_linsys_solver_matrices_pardiso" "--export" "update_linsys_solver_matrices_qdldl" "--export" "update_linsys_solver_rho_vec_pardiso" "--export" "update_linsys_solver_rho_vec_qdldl" "--export" "update_rho_vec" "--export" "update_status" "--export" "update_x" "--export" "update_xz_tilde" "--export" "update_y" "--export" "update_z" "--export" "validate_data" "--export" "validate_linsys_solver" "--export" "validate_settings" "--export" "vec_add_scalar" "--export" "vec_add_scaled" "--export" "vec_copy" "--export" "vec_ew_max" "--export" "vec_ew_max_vec" "--export" "vec_ew_min" "--export" "vec_ew_min_vec" "--export" "vec_ew_prod" "--export" "vec_ew_recipr" "--export" "vec_ew_sqrt" "--export" "vec_mean" "--export" "vec_mult_scalar" "--export" "vec_norm_inf" "--export" "vec_norm_inf_diff" "--export" "vec_prod" "--export" "vec_scaled_norm_inf" "--export" "vec_set_scalar" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libpanic_abort-*,libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/example-17d4e0eb577019a5.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: function signature mismatch: QDLDL_solve [INFO] [stdout] >>> defined as (i64, i32, i32, i32, i32, i32) -> void in /opt/rustwide/target/wasm32-wasip1/debug/deps/example-17d4e0eb577019a5.example.ea7db95dbadcb08e-cgu.0.rcgu.o [INFO] [stdout] >>> defined as (i32, i32, i32, i32, i32, i32) -> void in /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.15.rcgu.o) [INFO] [stdout] [INFO] [stdout] rust-lld: warning: function signature mismatch: QDLDL_factor [INFO] [stdout] >>> defined as (i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i64 in /opt/rustwide/target/wasm32-wasip1/debug/deps/example-17d4e0eb577019a5.example.ea7db95dbadcb08e-cgu.0.rcgu.o [INFO] [stdout] >>> defined as (i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 in /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.15.rcgu.o) [INFO] [stdout] [INFO] [stdout] rust-lld: warning: function signature mismatch: QDLDL_etree [INFO] [stdout] >>> defined as (i64, i32, i32, i32, i32, i32) -> i64 in /opt/rustwide/target/wasm32-wasip1/debug/deps/example-17d4e0eb577019a5.example.ea7db95dbadcb08e-cgu.0.rcgu.o [INFO] [stdout] >>> defined as (i32, i32, i32, i32, i32, i32) -> i32 in /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.15.rcgu.o) [INFO] [stdout] [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.10.rcgu.o): undefined symbol: mach_absolute_time [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.10.rcgu.o): undefined symbol: mach_absolute_time [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.10.rcgu.o): undefined symbol: mach_timebase_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: dlopen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: dlerror [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: dlsym [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: dlerror [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: __tolower [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: __toupper [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libosqp_rust_sys-f77e4930abef982f.rlib(osqp_rust_sys-f77e4930abef982f.osqp_rust_sys.8b92d8387c40244-cgu.13.rcgu.o): undefined symbol: dlclose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `osqp-rust-sys` (bin "osqp_demo") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `osqp-rust-sys` (bin "example") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a3406f81a178f1ecaf1182fa4d8d356036e19d72be5c33da9e25eb44125dd65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3406f81a178f1ecaf1182fa4d8d356036e19d72be5c33da9e25eb44125dd65", kill_on_drop: false }` [INFO] [stdout] 2a3406f81a178f1ecaf1182fa4d8d356036e19d72be5c33da9e25eb44125dd65