[INFO] fetching crate hnsw_rs 0.3.0... [INFO] checking hnsw_rs-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate hnsw_rs 0.3.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate hnsw_rs 0.3.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hnsw_rs 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate hnsw_rs 0.3.0 [INFO] tweaked toml for crates.io crate hnsw_rs 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate hnsw_rs 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2fa6af5071a09cc278b2ea46181f850312b869064d6e48036f6ebccb574eb86 [INFO] running `Command { std: "docker" "start" "-a" "e2fa6af5071a09cc278b2ea46181f850312b869064d6e48036f6ebccb574eb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2fa6af5071a09cc278b2ea46181f850312b869064d6e48036f6ebccb574eb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2fa6af5071a09cc278b2ea46181f850312b869064d6e48036f6ebccb574eb86", kill_on_drop: false }` [INFO] [stdout] e2fa6af5071a09cc278b2ea46181f850312b869064d6e48036f6ebccb574eb86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6aee28ae7ed1fe7adc247804195efaec97a4238577cec4d444c27aafa9291fb [INFO] running `Command { std: "docker" "start" "-a" "f6aee28ae7ed1fe7adc247804195efaec97a4238577cec4d444c27aafa9291fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling hdf5-types v0.8.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling hdf5 v0.8.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking cpu-time v1.0.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking skiplist v0.5.1 [INFO] [stderr] Compiling hdf5-derive v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking anndists v0.1.2 [INFO] [stderr] Checking sysctl v0.5.5 [INFO] [stderr] Checking mmap-rs v0.6.1 [INFO] [stderr] Compiling hdf5-sys v0.8.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking hnsw_rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_loadhnsw!( [INFO] [stdout] 281 | | load_hnswdump_f32_DistL1, [INFO] [stdout] 282 | | HnswApif32, [INFO] [stdout] 283 | | f32, [INFO] [stdout] 284 | | anndists::dist::distances::DistL1 [INFO] [stdout] 285 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_loadhnsw!( [INFO] [stdout] 281 | | load_hnswdump_f32_DistL1, [INFO] [stdout] 282 | | HnswApif32, [INFO] [stdout] 283 | | f32, [INFO] [stdout] 284 | | anndists::dist::distances::DistL1 [INFO] [stdout] 285 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 286 | / generate_loadhnsw!( [INFO] [stdout] 287 | | load_hnswdump_f32_DistL2, [INFO] [stdout] 288 | | HnswApif32, [INFO] [stdout] 289 | | f32, [INFO] [stdout] 290 | | anndists::dist::distances::DistL2 [INFO] [stdout] 291 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 286 | / generate_loadhnsw!( [INFO] [stdout] 287 | | load_hnswdump_f32_DistL2, [INFO] [stdout] 288 | | HnswApif32, [INFO] [stdout] 289 | | f32, [INFO] [stdout] 290 | | anndists::dist::distances::DistL2 [INFO] [stdout] 291 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 292 | / generate_loadhnsw!( [INFO] [stdout] 293 | | load_hnswdump_f32_DistCosine, [INFO] [stdout] 294 | | HnswApif32, [INFO] [stdout] 295 | | f32, [INFO] [stdout] 296 | | anndists::dist::distances::DistCosine [INFO] [stdout] 297 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 292 | / generate_loadhnsw!( [INFO] [stdout] 293 | | load_hnswdump_f32_DistCosine, [INFO] [stdout] 294 | | HnswApif32, [INFO] [stdout] 295 | | f32, [INFO] [stdout] 296 | | anndists::dist::distances::DistCosine [INFO] [stdout] 297 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_loadhnsw!( [INFO] [stdout] 299 | | load_hnswdump_f32_DistDot, [INFO] [stdout] 300 | | HnswApif32, [INFO] [stdout] 301 | | f32, [INFO] [stdout] 302 | | anndists::dist::distances::DistDot [INFO] [stdout] 303 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_loadhnsw!( [INFO] [stdout] 299 | | load_hnswdump_f32_DistDot, [INFO] [stdout] 300 | | HnswApif32, [INFO] [stdout] 301 | | f32, [INFO] [stdout] 302 | | anndists::dist::distances::DistDot [INFO] [stdout] 303 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 304 | / generate_loadhnsw!( [INFO] [stdout] 305 | | load_hnswdump_f32_DistJensenShannon, [INFO] [stdout] 306 | | HnswApif32, [INFO] [stdout] 307 | | f32, [INFO] [stdout] 308 | | anndists::dist::distances::DistJensenShannon [INFO] [stdout] 309 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 304 | / generate_loadhnsw!( [INFO] [stdout] 305 | | load_hnswdump_f32_DistJensenShannon, [INFO] [stdout] 306 | | HnswApif32, [INFO] [stdout] 307 | | f32, [INFO] [stdout] 308 | | anndists::dist::distances::DistJensenShannon [INFO] [stdout] 309 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | / generate_loadhnsw!( [INFO] [stdout] 311 | | load_hnswdump_f32_DistJeffreys, [INFO] [stdout] 312 | | HnswApif32, [INFO] [stdout] 313 | | f32, [INFO] [stdout] 314 | | anndists::dist::distances::DistJeffreys [INFO] [stdout] 315 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | / generate_loadhnsw!( [INFO] [stdout] 311 | | load_hnswdump_f32_DistJeffreys, [INFO] [stdout] 312 | | HnswApif32, [INFO] [stdout] 313 | | f32, [INFO] [stdout] 314 | | anndists::dist::distances::DistJeffreys [INFO] [stdout] 315 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | / generate_loadhnsw!( [INFO] [stdout] 319 | | load_hnswdump_i32_DistL1, [INFO] [stdout] 320 | | HnswApii32, [INFO] [stdout] 321 | | i32, [INFO] [stdout] 322 | | anndists::dist::distances::DistL1 [INFO] [stdout] 323 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | / generate_loadhnsw!( [INFO] [stdout] 319 | | load_hnswdump_i32_DistL1, [INFO] [stdout] 320 | | HnswApii32, [INFO] [stdout] 321 | | i32, [INFO] [stdout] 322 | | anndists::dist::distances::DistL1 [INFO] [stdout] 323 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 324 | / generate_loadhnsw!( [INFO] [stdout] 325 | | load_hnswdump_i32_DistL2, [INFO] [stdout] 326 | | HnswApii32, [INFO] [stdout] 327 | | i32, [INFO] [stdout] 328 | | anndists::dist::distances::DistL2 [INFO] [stdout] 329 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 324 | / generate_loadhnsw!( [INFO] [stdout] 325 | | load_hnswdump_i32_DistL2, [INFO] [stdout] 326 | | HnswApii32, [INFO] [stdout] 327 | | i32, [INFO] [stdout] 328 | | anndists::dist::distances::DistL2 [INFO] [stdout] 329 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 330 | / generate_loadhnsw!( [INFO] [stdout] 331 | | load_hnswdump_i32_DistHamming, [INFO] [stdout] 332 | | HnswApii32, [INFO] [stdout] 333 | | i32, [INFO] [stdout] 334 | | anndists::dist::distances::DistHamming [INFO] [stdout] 335 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 330 | / generate_loadhnsw!( [INFO] [stdout] 331 | | load_hnswdump_i32_DistHamming, [INFO] [stdout] 332 | | HnswApii32, [INFO] [stdout] 333 | | i32, [INFO] [stdout] 334 | | anndists::dist::distances::DistHamming [INFO] [stdout] 335 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 338 | / generate_loadhnsw!( [INFO] [stdout] 339 | | load_hnswdump_u32_DistL1, [INFO] [stdout] 340 | | HnswApiu32, [INFO] [stdout] 341 | | u32, [INFO] [stdout] 342 | | anndists::dist::distances::DistL1 [INFO] [stdout] 343 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 338 | / generate_loadhnsw!( [INFO] [stdout] 339 | | load_hnswdump_u32_DistL1, [INFO] [stdout] 340 | | HnswApiu32, [INFO] [stdout] 341 | | u32, [INFO] [stdout] 342 | | anndists::dist::distances::DistL1 [INFO] [stdout] 343 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 344 | / generate_loadhnsw!( [INFO] [stdout] 345 | | load_hnswdump_u32_DistL2, [INFO] [stdout] 346 | | HnswApiu32, [INFO] [stdout] 347 | | u32, [INFO] [stdout] 348 | | anndists::dist::distances::DistL2 [INFO] [stdout] 349 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 344 | / generate_loadhnsw!( [INFO] [stdout] 345 | | load_hnswdump_u32_DistL2, [INFO] [stdout] 346 | | HnswApiu32, [INFO] [stdout] 347 | | u32, [INFO] [stdout] 348 | | anndists::dist::distances::DistL2 [INFO] [stdout] 349 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 350 | / generate_loadhnsw!( [INFO] [stdout] 351 | | load_hnswdump_u32_DistHamming, [INFO] [stdout] 352 | | HnswApiu32, [INFO] [stdout] 353 | | u32, [INFO] [stdout] 354 | | anndists::dist::distances::DistHamming [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 350 | / generate_loadhnsw!( [INFO] [stdout] 351 | | load_hnswdump_u32_DistHamming, [INFO] [stdout] 352 | | HnswApiu32, [INFO] [stdout] 353 | | u32, [INFO] [stdout] 354 | | anndists::dist::distances::DistHamming [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 356 | / generate_loadhnsw!( [INFO] [stdout] 357 | | load_hnswdump_u32_DistJaccard, [INFO] [stdout] 358 | | HnswApiu32, [INFO] [stdout] 359 | | u32, [INFO] [stdout] 360 | | anndists::dist::distances::DistJaccard [INFO] [stdout] 361 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 356 | / generate_loadhnsw!( [INFO] [stdout] 357 | | load_hnswdump_u32_DistJaccard, [INFO] [stdout] 358 | | HnswApiu32, [INFO] [stdout] 359 | | u32, [INFO] [stdout] 360 | | anndists::dist::distances::DistJaccard [INFO] [stdout] 361 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 364 | / generate_loadhnsw!( [INFO] [stdout] 365 | | load_hnswdump_u16_DistL1, [INFO] [stdout] 366 | | HnswApiu16, [INFO] [stdout] 367 | | u16, [INFO] [stdout] 368 | | anndists::dist::distances::DistL1 [INFO] [stdout] 369 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 364 | / generate_loadhnsw!( [INFO] [stdout] 365 | | load_hnswdump_u16_DistL1, [INFO] [stdout] 366 | | HnswApiu16, [INFO] [stdout] 367 | | u16, [INFO] [stdout] 368 | | anndists::dist::distances::DistL1 [INFO] [stdout] 369 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 370 | / generate_loadhnsw!( [INFO] [stdout] 371 | | load_hnswdump_u16_DistL2, [INFO] [stdout] 372 | | HnswApiu16, [INFO] [stdout] 373 | | u16, [INFO] [stdout] 374 | | anndists::dist::distances::DistL2 [INFO] [stdout] 375 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 370 | / generate_loadhnsw!( [INFO] [stdout] 371 | | load_hnswdump_u16_DistL2, [INFO] [stdout] 372 | | HnswApiu16, [INFO] [stdout] 373 | | u16, [INFO] [stdout] 374 | | anndists::dist::distances::DistL2 [INFO] [stdout] 375 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 376 | / generate_loadhnsw!( [INFO] [stdout] 377 | | load_hnswdump_u16_DistHamming, [INFO] [stdout] 378 | | HnswApiu16, [INFO] [stdout] 379 | | u16, [INFO] [stdout] 380 | | anndists::dist::distances::DistHamming [INFO] [stdout] 381 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 376 | / generate_loadhnsw!( [INFO] [stdout] 377 | | load_hnswdump_u16_DistHamming, [INFO] [stdout] 378 | | HnswApiu16, [INFO] [stdout] 379 | | u16, [INFO] [stdout] 380 | | anndists::dist::distances::DistHamming [INFO] [stdout] 381 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 382 | / generate_loadhnsw!( [INFO] [stdout] 383 | | load_hnswdump_u16_DistLevenshtein, [INFO] [stdout] 384 | | HnswApiu16, [INFO] [stdout] 385 | | u16, [INFO] [stdout] 386 | | anndists::dist::distances::DistLevenshtein [INFO] [stdout] 387 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 382 | / generate_loadhnsw!( [INFO] [stdout] 383 | | load_hnswdump_u16_DistLevenshtein, [INFO] [stdout] 384 | | HnswApiu16, [INFO] [stdout] 385 | | u16, [INFO] [stdout] 386 | | anndists::dist::distances::DistLevenshtein [INFO] [stdout] 387 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 390 | / generate_loadhnsw!( [INFO] [stdout] 391 | | load_hnswdump_u8_DistL1, [INFO] [stdout] 392 | | HnswApiu8, [INFO] [stdout] 393 | | u8, [INFO] [stdout] 394 | | anndists::dist::distances::DistL1 [INFO] [stdout] 395 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 390 | / generate_loadhnsw!( [INFO] [stdout] 391 | | load_hnswdump_u8_DistL1, [INFO] [stdout] 392 | | HnswApiu8, [INFO] [stdout] 393 | | u8, [INFO] [stdout] 394 | | anndists::dist::distances::DistL1 [INFO] [stdout] 395 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 396 | / generate_loadhnsw!( [INFO] [stdout] 397 | | load_hnswdump_u8_DistL2, [INFO] [stdout] 398 | | HnswApiu8, [INFO] [stdout] 399 | | u8, [INFO] [stdout] 400 | | anndists::dist::distances::DistL2 [INFO] [stdout] 401 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 396 | / generate_loadhnsw!( [INFO] [stdout] 397 | | load_hnswdump_u8_DistL2, [INFO] [stdout] 398 | | HnswApiu8, [INFO] [stdout] 399 | | u8, [INFO] [stdout] 400 | | anndists::dist::distances::DistL2 [INFO] [stdout] 401 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 402 | / generate_loadhnsw!( [INFO] [stdout] 403 | | load_hnswdump_u8_DistHamming, [INFO] [stdout] 404 | | HnswApiu8, [INFO] [stdout] 405 | | u8, [INFO] [stdout] 406 | | anndists::dist::distances::DistHamming [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 402 | / generate_loadhnsw!( [INFO] [stdout] 403 | | load_hnswdump_u8_DistHamming, [INFO] [stdout] 404 | | HnswApiu8, [INFO] [stdout] 405 | | u8, [INFO] [stdout] 406 | | anndists::dist::distances::DistHamming [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 408 | / generate_loadhnsw!( [INFO] [stdout] 409 | | load_hnswdump_u8_DistJaccard, [INFO] [stdout] 410 | | HnswApiu8, [INFO] [stdout] 411 | | u8, [INFO] [stdout] 412 | | anndists::dist::distances::DistJaccard [INFO] [stdout] 413 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 408 | / generate_loadhnsw!( [INFO] [stdout] 409 | | load_hnswdump_u8_DistJaccard, [INFO] [stdout] 410 | | HnswApiu8, [INFO] [stdout] 411 | | u8, [INFO] [stdout] 412 | | anndists::dist::distances::DistJaccard [INFO] [stdout] 413 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 416 | / generate_loadhnsw!( [INFO] [stdout] 417 | | load_hnswdump_NoData_DistNoDist, [INFO] [stdout] 418 | | HnswApiNodata, [INFO] [stdout] 419 | | NoData, [INFO] [stdout] 420 | | anndists::dist::NoDist [INFO] [stdout] 421 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 416 | / generate_loadhnsw!( [INFO] [stdout] 417 | | load_hnswdump_NoData_DistNoDist, [INFO] [stdout] 418 | | HnswApiNodata, [INFO] [stdout] 419 | | NoData, [INFO] [stdout] 420 | | anndists::dist::NoDist [INFO] [stdout] 421 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_loadhnsw!( [INFO] [stdout] 281 | | load_hnswdump_f32_DistL1, [INFO] [stdout] 282 | | HnswApif32, [INFO] [stdout] 283 | | f32, [INFO] [stdout] 284 | | anndists::dist::distances::DistL1 [INFO] [stdout] 285 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 280 | / generate_loadhnsw!( [INFO] [stdout] 281 | | load_hnswdump_f32_DistL1, [INFO] [stdout] 282 | | HnswApif32, [INFO] [stdout] 283 | | f32, [INFO] [stdout] 284 | | anndists::dist::distances::DistL1 [INFO] [stdout] 285 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 286 | / generate_loadhnsw!( [INFO] [stdout] 287 | | load_hnswdump_f32_DistL2, [INFO] [stdout] 288 | | HnswApif32, [INFO] [stdout] 289 | | f32, [INFO] [stdout] 290 | | anndists::dist::distances::DistL2 [INFO] [stdout] 291 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 286 | / generate_loadhnsw!( [INFO] [stdout] 287 | | load_hnswdump_f32_DistL2, [INFO] [stdout] 288 | | HnswApif32, [INFO] [stdout] 289 | | f32, [INFO] [stdout] 290 | | anndists::dist::distances::DistL2 [INFO] [stdout] 291 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 292 | / generate_loadhnsw!( [INFO] [stdout] 293 | | load_hnswdump_f32_DistCosine, [INFO] [stdout] 294 | | HnswApif32, [INFO] [stdout] 295 | | f32, [INFO] [stdout] 296 | | anndists::dist::distances::DistCosine [INFO] [stdout] 297 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 292 | / generate_loadhnsw!( [INFO] [stdout] 293 | | load_hnswdump_f32_DistCosine, [INFO] [stdout] 294 | | HnswApif32, [INFO] [stdout] 295 | | f32, [INFO] [stdout] 296 | | anndists::dist::distances::DistCosine [INFO] [stdout] 297 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_loadhnsw!( [INFO] [stdout] 299 | | load_hnswdump_f32_DistDot, [INFO] [stdout] 300 | | HnswApif32, [INFO] [stdout] 301 | | f32, [INFO] [stdout] 302 | | anndists::dist::distances::DistDot [INFO] [stdout] 303 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / generate_loadhnsw!( [INFO] [stdout] 299 | | load_hnswdump_f32_DistDot, [INFO] [stdout] 300 | | HnswApif32, [INFO] [stdout] 301 | | f32, [INFO] [stdout] 302 | | anndists::dist::distances::DistDot [INFO] [stdout] 303 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 304 | / generate_loadhnsw!( [INFO] [stdout] 305 | | load_hnswdump_f32_DistJensenShannon, [INFO] [stdout] 306 | | HnswApif32, [INFO] [stdout] 307 | | f32, [INFO] [stdout] 308 | | anndists::dist::distances::DistJensenShannon [INFO] [stdout] 309 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 304 | / generate_loadhnsw!( [INFO] [stdout] 305 | | load_hnswdump_f32_DistJensenShannon, [INFO] [stdout] 306 | | HnswApif32, [INFO] [stdout] 307 | | f32, [INFO] [stdout] 308 | | anndists::dist::distances::DistJensenShannon [INFO] [stdout] 309 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | / generate_loadhnsw!( [INFO] [stdout] 311 | | load_hnswdump_f32_DistJeffreys, [INFO] [stdout] 312 | | HnswApif32, [INFO] [stdout] 313 | | f32, [INFO] [stdout] 314 | | anndists::dist::distances::DistJeffreys [INFO] [stdout] 315 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | / generate_loadhnsw!( [INFO] [stdout] 311 | | load_hnswdump_f32_DistJeffreys, [INFO] [stdout] 312 | | HnswApif32, [INFO] [stdout] 313 | | f32, [INFO] [stdout] 314 | | anndists::dist::distances::DistJeffreys [INFO] [stdout] 315 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | / generate_loadhnsw!( [INFO] [stdout] 319 | | load_hnswdump_i32_DistL1, [INFO] [stdout] 320 | | HnswApii32, [INFO] [stdout] 321 | | i32, [INFO] [stdout] 322 | | anndists::dist::distances::DistL1 [INFO] [stdout] 323 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | / generate_loadhnsw!( [INFO] [stdout] 319 | | load_hnswdump_i32_DistL1, [INFO] [stdout] 320 | | HnswApii32, [INFO] [stdout] 321 | | i32, [INFO] [stdout] 322 | | anndists::dist::distances::DistL1 [INFO] [stdout] 323 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 324 | / generate_loadhnsw!( [INFO] [stdout] 325 | | load_hnswdump_i32_DistL2, [INFO] [stdout] 326 | | HnswApii32, [INFO] [stdout] 327 | | i32, [INFO] [stdout] 328 | | anndists::dist::distances::DistL2 [INFO] [stdout] 329 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 324 | / generate_loadhnsw!( [INFO] [stdout] 325 | | load_hnswdump_i32_DistL2, [INFO] [stdout] 326 | | HnswApii32, [INFO] [stdout] 327 | | i32, [INFO] [stdout] 328 | | anndists::dist::distances::DistL2 [INFO] [stdout] 329 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 330 | / generate_loadhnsw!( [INFO] [stdout] 331 | | load_hnswdump_i32_DistHamming, [INFO] [stdout] 332 | | HnswApii32, [INFO] [stdout] 333 | | i32, [INFO] [stdout] 334 | | anndists::dist::distances::DistHamming [INFO] [stdout] 335 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 330 | / generate_loadhnsw!( [INFO] [stdout] 331 | | load_hnswdump_i32_DistHamming, [INFO] [stdout] 332 | | HnswApii32, [INFO] [stdout] 333 | | i32, [INFO] [stdout] 334 | | anndists::dist::distances::DistHamming [INFO] [stdout] 335 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 338 | / generate_loadhnsw!( [INFO] [stdout] 339 | | load_hnswdump_u32_DistL1, [INFO] [stdout] 340 | | HnswApiu32, [INFO] [stdout] 341 | | u32, [INFO] [stdout] 342 | | anndists::dist::distances::DistL1 [INFO] [stdout] 343 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 338 | / generate_loadhnsw!( [INFO] [stdout] 339 | | load_hnswdump_u32_DistL1, [INFO] [stdout] 340 | | HnswApiu32, [INFO] [stdout] 341 | | u32, [INFO] [stdout] 342 | | anndists::dist::distances::DistL1 [INFO] [stdout] 343 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 344 | / generate_loadhnsw!( [INFO] [stdout] 345 | | load_hnswdump_u32_DistL2, [INFO] [stdout] 346 | | HnswApiu32, [INFO] [stdout] 347 | | u32, [INFO] [stdout] 348 | | anndists::dist::distances::DistL2 [INFO] [stdout] 349 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 344 | / generate_loadhnsw!( [INFO] [stdout] 345 | | load_hnswdump_u32_DistL2, [INFO] [stdout] 346 | | HnswApiu32, [INFO] [stdout] 347 | | u32, [INFO] [stdout] 348 | | anndists::dist::distances::DistL2 [INFO] [stdout] 349 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 350 | / generate_loadhnsw!( [INFO] [stdout] 351 | | load_hnswdump_u32_DistHamming, [INFO] [stdout] 352 | | HnswApiu32, [INFO] [stdout] 353 | | u32, [INFO] [stdout] 354 | | anndists::dist::distances::DistHamming [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 350 | / generate_loadhnsw!( [INFO] [stdout] 351 | | load_hnswdump_u32_DistHamming, [INFO] [stdout] 352 | | HnswApiu32, [INFO] [stdout] 353 | | u32, [INFO] [stdout] 354 | | anndists::dist::distances::DistHamming [INFO] [stdout] 355 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 356 | / generate_loadhnsw!( [INFO] [stdout] 357 | | load_hnswdump_u32_DistJaccard, [INFO] [stdout] 358 | | HnswApiu32, [INFO] [stdout] 359 | | u32, [INFO] [stdout] 360 | | anndists::dist::distances::DistJaccard [INFO] [stdout] 361 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 356 | / generate_loadhnsw!( [INFO] [stdout] 357 | | load_hnswdump_u32_DistJaccard, [INFO] [stdout] 358 | | HnswApiu32, [INFO] [stdout] 359 | | u32, [INFO] [stdout] 360 | | anndists::dist::distances::DistJaccard [INFO] [stdout] 361 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 364 | / generate_loadhnsw!( [INFO] [stdout] 365 | | load_hnswdump_u16_DistL1, [INFO] [stdout] 366 | | HnswApiu16, [INFO] [stdout] 367 | | u16, [INFO] [stdout] 368 | | anndists::dist::distances::DistL1 [INFO] [stdout] 369 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 364 | / generate_loadhnsw!( [INFO] [stdout] 365 | | load_hnswdump_u16_DistL1, [INFO] [stdout] 366 | | HnswApiu16, [INFO] [stdout] 367 | | u16, [INFO] [stdout] 368 | | anndists::dist::distances::DistL1 [INFO] [stdout] 369 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 370 | / generate_loadhnsw!( [INFO] [stdout] 371 | | load_hnswdump_u16_DistL2, [INFO] [stdout] 372 | | HnswApiu16, [INFO] [stdout] 373 | | u16, [INFO] [stdout] 374 | | anndists::dist::distances::DistL2 [INFO] [stdout] 375 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 370 | / generate_loadhnsw!( [INFO] [stdout] 371 | | load_hnswdump_u16_DistL2, [INFO] [stdout] 372 | | HnswApiu16, [INFO] [stdout] 373 | | u16, [INFO] [stdout] 374 | | anndists::dist::distances::DistL2 [INFO] [stdout] 375 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 376 | / generate_loadhnsw!( [INFO] [stdout] 377 | | load_hnswdump_u16_DistHamming, [INFO] [stdout] 378 | | HnswApiu16, [INFO] [stdout] 379 | | u16, [INFO] [stdout] 380 | | anndists::dist::distances::DistHamming [INFO] [stdout] 381 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 376 | / generate_loadhnsw!( [INFO] [stdout] 377 | | load_hnswdump_u16_DistHamming, [INFO] [stdout] 378 | | HnswApiu16, [INFO] [stdout] 379 | | u16, [INFO] [stdout] 380 | | anndists::dist::distances::DistHamming [INFO] [stdout] 381 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 382 | / generate_loadhnsw!( [INFO] [stdout] 383 | | load_hnswdump_u16_DistLevenshtein, [INFO] [stdout] 384 | | HnswApiu16, [INFO] [stdout] 385 | | u16, [INFO] [stdout] 386 | | anndists::dist::distances::DistLevenshtein [INFO] [stdout] 387 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 382 | / generate_loadhnsw!( [INFO] [stdout] 383 | | load_hnswdump_u16_DistLevenshtein, [INFO] [stdout] 384 | | HnswApiu16, [INFO] [stdout] 385 | | u16, [INFO] [stdout] 386 | | anndists::dist::distances::DistLevenshtein [INFO] [stdout] 387 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 390 | / generate_loadhnsw!( [INFO] [stdout] 391 | | load_hnswdump_u8_DistL1, [INFO] [stdout] 392 | | HnswApiu8, [INFO] [stdout] 393 | | u8, [INFO] [stdout] 394 | | anndists::dist::distances::DistL1 [INFO] [stdout] 395 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 390 | / generate_loadhnsw!( [INFO] [stdout] 391 | | load_hnswdump_u8_DistL1, [INFO] [stdout] 392 | | HnswApiu8, [INFO] [stdout] 393 | | u8, [INFO] [stdout] 394 | | anndists::dist::distances::DistL1 [INFO] [stdout] 395 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 396 | / generate_loadhnsw!( [INFO] [stdout] 397 | | load_hnswdump_u8_DistL2, [INFO] [stdout] 398 | | HnswApiu8, [INFO] [stdout] 399 | | u8, [INFO] [stdout] 400 | | anndists::dist::distances::DistL2 [INFO] [stdout] 401 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 396 | / generate_loadhnsw!( [INFO] [stdout] 397 | | load_hnswdump_u8_DistL2, [INFO] [stdout] 398 | | HnswApiu8, [INFO] [stdout] 399 | | u8, [INFO] [stdout] 400 | | anndists::dist::distances::DistL2 [INFO] [stdout] 401 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 402 | / generate_loadhnsw!( [INFO] [stdout] 403 | | load_hnswdump_u8_DistHamming, [INFO] [stdout] 404 | | HnswApiu8, [INFO] [stdout] 405 | | u8, [INFO] [stdout] 406 | | anndists::dist::distances::DistHamming [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 402 | / generate_loadhnsw!( [INFO] [stdout] 403 | | load_hnswdump_u8_DistHamming, [INFO] [stdout] 404 | | HnswApiu8, [INFO] [stdout] 405 | | u8, [INFO] [stdout] 406 | | anndists::dist::distances::DistHamming [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 408 | / generate_loadhnsw!( [INFO] [stdout] 409 | | load_hnswdump_u8_DistJaccard, [INFO] [stdout] 410 | | HnswApiu8, [INFO] [stdout] 411 | | u8, [INFO] [stdout] 412 | | anndists::dist::distances::DistJaccard [INFO] [stdout] 413 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 408 | / generate_loadhnsw!( [INFO] [stdout] 409 | | load_hnswdump_u8_DistJaccard, [INFO] [stdout] 410 | | HnswApiu8, [INFO] [stdout] 411 | | u8, [INFO] [stdout] 412 | | anndists::dist::distances::DistJaccard [INFO] [stdout] 413 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if RELOADER_OPT.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 416 | / generate_loadhnsw!( [INFO] [stdout] 417 | | load_hnswdump_NoData_DistNoDist, [INFO] [stdout] 418 | | HnswApiNodata, [INFO] [stdout] 419 | | NoData, [INFO] [stdout] 420 | | anndists::dist::NoDist [INFO] [stdout] 421 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/libext.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let hnsw_loaded_res = RELOADER_OPT.as_mut().unwrap().load_hnsw::<$type_val, $type_dist>(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 416 | / generate_loadhnsw!( [INFO] [stdout] 417 | | load_hnswdump_NoData_DistNoDist, [INFO] [stdout] 418 | | HnswApiNodata, [INFO] [stdout] 419 | | NoData, [INFO] [stdout] 420 | | anndists::dist::NoDist [INFO] [stdout] 421 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `generate_loadhnsw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.34s [INFO] running `Command { std: "docker" "inspect" "f6aee28ae7ed1fe7adc247804195efaec97a4238577cec4d444c27aafa9291fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6aee28ae7ed1fe7adc247804195efaec97a4238577cec4d444c27aafa9291fb", kill_on_drop: false }` [INFO] [stdout] f6aee28ae7ed1fe7adc247804195efaec97a4238577cec4d444c27aafa9291fb