[INFO] cloning repository https://github.com/Saghen/blink.cmp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Saghen/blink.cmp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaghen%2Fblink.cmp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaghen%2Fblink.cmp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 949ddadf4f14e1bdd3e52a37d12d028bde42c906 [INFO] checking Saghen/blink.cmp/949ddadf4f14e1bdd3e52a37d12d028bde42c906 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaghen%2Fblink.cmp" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Saghen/blink.cmp on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Saghen/blink.cmp [INFO] finished tweaking git repo https://github.com/Saghen/blink.cmp [INFO] tweaked toml for git repo https://github.com/Saghen/blink.cmp written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Saghen/blink.cmp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdea2cc4d3cbd9dc39ca76b49929904210a4877273d3db54f5efd2d0a3b83ec3 [INFO] running `Command { std: "docker" "start" "-a" "bdea2cc4d3cbd9dc39ca76b49929904210a4877273d3db54f5efd2d0a3b83ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdea2cc4d3cbd9dc39ca76b49929904210a4877273d3db54f5efd2d0a3b83ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdea2cc4d3cbd9dc39ca76b49929904210a4877273d3db54f5efd2d0a3b83ec3", kill_on_drop: false }` [INFO] [stdout] bdea2cc4d3cbd9dc39ca76b49929904210a4877273d3db54f5efd2d0a3b83ec3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e8b21f5c6b2f97773593ece2abbde147a28654e1d0b4fb720b3f6f43978fe63 [INFO] running `Command { std: "docker" "start" "-a" "8e8b21f5c6b2f97773593ece2abbde147a28654e1d0b4fb720b3f6f43978fe63", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking heed-traits v0.20.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking c-marshalling v0.2.0 (https://github.com/distil/rust_lua_ffi#30820cdc) [INFO] [stderr] Checking synchronoise v1.0.1 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling parser v0.2.0 (https://github.com/distil/rust_lua_ffi#30820cdc) [INFO] [stderr] Compiling derive-c-marshalling-library v0.1.0 (https://github.com/distil/rust_lua_ffi#30820cdc) [INFO] [stderr] Checking nucleo-matcher v0.3.1 [INFO] [stderr] Compiling generator v2.0.0 (https://github.com/distil/rust_lua_ffi#30820cdc) [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling blink-cmp-fuzzy v0.1.0 (/tmp/fixit) [INFO] [stderr] Compiling derive-lua-marshalling v0.2.0 (https://github.com/distil/rust_lua_ffi#30820cdc) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling smith_waterman_macro v0.1.0 (https://github.com/saghen/frizbee#8bc2eee0) [INFO] [stderr] Checking lua-marshalling v0.3.0 (https://github.com/distil/rust_lua_ffi#30820cdc) [INFO] [stderr] Checking frizbee v0.1.0 (https://github.com/saghen/frizbee#8bc2eee0) [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking nucleo v0.5.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling doxygen-rs v0.4.2 [INFO] [stderr] Compiling lmdb-master-sys v0.2.2 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking heed-types v0.20.1 [INFO] [stderr] Checking heed v0.20.3 [INFO] [stderr] Migrating lua/blink/cmp/fuzzy/ffi.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> lua/blink/cmp/fuzzy/frecency.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | fs::create_dir_all(db_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = fs::create_dir_all(db_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed lua/blink/cmp/fuzzy/ffi.rs (1 fix) [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs (35 fixes) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> lua/blink/cmp/fuzzy/frecency.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | env.clear_stale_readers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = env.clear_stale_readers(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:102:438 [INFO] [stdout] | [INFO] [stdout] 102 | ... bootstrap != std :: ptr :: null_mut ( ) { std :: ffi :: CString :: from_raw ( bootstrap ) ; } }} } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | "# . to_owned ( ) ] . join ( "\n" ) ) . ok ( ) . map ( std :: ffi :: CString :: into_raw ) . unwrap_or_else ( std :: ptr :: null_mut ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc :: c_char ) { unsafe { if bootstrap != std :: ptr :: null_mut ( ) { let _ = std :: ffi :: CString :: from_raw ( bootstrap ) ; } }} } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> lua/blink/cmp/fuzzy/frecency.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | fs::create_dir_all(db_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = fs::create_dir_all(db_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> lua/blink/cmp/fuzzy/frecency.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | env.clear_stale_readers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = env.clear_stale_readers(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:102:438 [INFO] [stdout] | [INFO] [stdout] 102 | ... bootstrap != std :: ptr :: null_mut ( ) { std :: ffi :: CString :: from_raw ( bootstrap ) ; } }} } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | "# . to_owned ( ) ] . join ( "\n" ) ) . ok ( ) . map ( std :: ffi :: CString :: into_raw ) . unwrap_or_else ( std :: ptr :: null_mut ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc :: c_char ) { unsafe { if bootstrap != std :: ptr :: null_mut ( ) { let _ = std :: ffi :: CString :: from_raw ( bootstrap ) ; } }} } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.15 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling blink-cmp-fuzzy v0.1.0 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:398 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling ::... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:398 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling ::... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1052 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling ... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1052 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling ... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1404 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marsha... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1404 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marsha... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1925 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalli... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2280 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: Pt... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1925 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalli... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2280 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: Pt... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2928 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2928 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:3279 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: Pt... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:3279 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: Pt... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4782 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshal... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4782 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshal... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5146 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: ... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5146 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: ... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5818 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:269 [INFO] [stdout] | [INFO] [stdout] 3 | ...ons :: HashSet ; use std :: sync :: RwLock ; # [ no_mangle ] pub extern "C" fn __lua_bootstrap ( ) -> * mut libc :: c_char { let uniqu... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 3 | # [ doc ( hidden ) ] pub mod lua_bootstrap { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ unsafe(no_mangle) ] pub extern "C" fn __lua_bootstrap ( ) -> * mut libc :: c_char { let unique_types : lua_marshalling :: Dependencies = [ lua_marshalling :: make_dependencies :: < String > ( ) , lua_marshalling :: make_dependencies :: < bool > ( ) , lua_marshalling :: make_dependencies :: < bool > ( ) , lua_marshalling :: make_dependencies :: < LspItem > ( ) , lua_marshalling :: make_dependencies :: < bool > ( ) , lua_marshalling :: make_dependencies :: < String > ( ) , lua_marshalling :: make_dependencies :: < Vec < String > > ( ) , lua_marshalling :: make_dependencies :: < Vec < u32 > > ( ) , lua_marshalling :: make_dependencies :: < Vec < i32 > > ( ) , lua_marshalling :: make_dependencies :: < Vec < String > > ( ) , lua_marshalling :: make_dependencies :: < FuzzyOptions > ( ) , lua_marshalling :: make_dependencies :: < Vec < u32 > > ( ) , lua_marshalling :: make_dependencies :: < String > ( ) , lua_marshalling :: make_dependencies :: < Vec < String > > ( ) , ] . iter ( ) . flat_map ( | value | value . into_iter ( ) . map ( | ( k , v ) | ( k . clone ( ) , v . clone ( ) ) ) ) . collect ( ) ; let sorted_types = lua_marshalling :: dependency_sorted_type_descriptions ( & unique_types ) ; std :: ffi :: CString :: new ( [ r#"-- Code generated by Rust Lua interface. DO NOT EDIT. [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:102:276 [INFO] [stdout] | [INFO] [stdout] 102 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 102 | "# . to_owned ( ) ] . join ( "\n" ) ) . ok ( ) . map ( std :: ffi :: CString :: into_raw ) . unwrap_or_else ( std :: ptr :: null_mut ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc :: c_char ) { if bootstrap != std :: ptr :: null_mut ( ) { std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5818 [INFO] [stdout] | [INFO] [stdout] 2 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: destroy_db ( ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std :: panic :: catch_unwind ( || -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: extern_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ) ) . unwrap_or ( 1 ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:269 [INFO] [stdout] | [INFO] [stdout] 3 | ...ons :: HashSet ; use std :: sync :: RwLock ; # [ no_mangle ] pub extern "C" fn __lua_bootstrap ( ) -> * mut libc :: c_char { let uniqu... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 3 | # [ doc ( hidden ) ] pub mod lua_bootstrap { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ unsafe(no_mangle) ] pub extern "C" fn __lua_bootstrap ( ) -> * mut libc :: c_char { let unique_types : lua_marshalling :: Dependencies = [ lua_marshalling :: make_dependencies :: < String > ( ) , lua_marshalling :: make_dependencies :: < bool > ( ) , lua_marshalling :: make_dependencies :: < bool > ( ) , lua_marshalling :: make_dependencies :: < LspItem > ( ) , lua_marshalling :: make_dependencies :: < bool > ( ) , lua_marshalling :: make_dependencies :: < String > ( ) , lua_marshalling :: make_dependencies :: < Vec < String > > ( ) , lua_marshalling :: make_dependencies :: < Vec < u32 > > ( ) , lua_marshalling :: make_dependencies :: < Vec < i32 > > ( ) , lua_marshalling :: make_dependencies :: < Vec < String > > ( ) , lua_marshalling :: make_dependencies :: < FuzzyOptions > ( ) , lua_marshalling :: make_dependencies :: < Vec < u32 > > ( ) , lua_marshalling :: make_dependencies :: < String > ( ) , lua_marshalling :: make_dependencies :: < Vec < String > > ( ) , ] . iter ( ) . flat_map ( | value | value . into_iter ( ) . map ( | ( k , v ) | ( k . clone ( ) , v . clone ( ) ) ) ) . collect ( ) ; let sorted_types = lua_marshalling :: dependency_sorted_type_descriptions ( & unique_types ) ; std :: ffi :: CString :: new ( [ r#"-- Code generated by Rust Lua interface. DO NOT EDIT. [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:102:276 [INFO] [stdout] | [INFO] [stdout] 102 | ...d context. Should not be called directly." ] # [ no_mangle ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc... [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 102 | "# . to_owned ( ) ] . join ( "\n" ) ) . ok ( ) . map ( std :: ffi :: CString :: into_raw ) . unwrap_or_else ( std :: ptr :: null_mut ) } # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" Only called in an auto-generated context. Should not be called directly." ] # [ unsafe(no_mangle) ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc :: c_char ) { if bootstrap != std :: ptr :: null_mut ( ) { std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate :: frecency :: FrecencyTracker` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspI... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:112 [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspI... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static :: lazy_static` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:150 [INFO] [stdout] | [INFO] [stdout] 2 | ...e :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: Hash... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex :: Regex` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:183 [INFO] [stdout] | [INFO] [stdout] 2 | ...yOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: Rw... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std :: collections :: HashSet` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:204 [INFO] [stdout] | [INFO] [stdout] 2 | ...zy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std :: sync :: RwLock` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:240 [INFO] [stdout] | [INFO] [stdout] 2 | ...egex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate :: frecency :: FrecencyTracker` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | # [ doc ( hidden ) ] pub mod lua_bootstrap { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , Lsp... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:113 [INFO] [stdout] | [INFO] [stdout] 3 | # [ doc ( hidden ) ] pub mod lua_bootstrap { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , Lsp... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static :: lazy_static` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:151 [INFO] [stdout] | [INFO] [stdout] 3 | ...e :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: Hash... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex :: Regex` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:184 [INFO] [stdout] | [INFO] [stdout] 3 | ...yOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: Rw... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std :: collections :: HashSet` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:205 [INFO] [stdout] | [INFO] [stdout] 3 | ...zy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ no_mangle ] pub ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std :: sync :: RwLock` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:241 [INFO] [stdout] | [INFO] [stdout] 3 | ...egex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ no_mangle ] pub extern "C" fn __lua_bootstrap ( ) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate :: frecency :: FrecencyTracker` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspI... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:112 [INFO] [stdout] | [INFO] [stdout] 2 | # [ doc ( hidden ) ] pub mod extern_c_ffi { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , LspI... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static :: lazy_static` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:150 [INFO] [stdout] | [INFO] [stdout] 2 | ...e :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: Hash... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex :: Regex` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:183 [INFO] [stdout] | [INFO] [stdout] 2 | ...yOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: Rw... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std :: collections :: HashSet` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:204 [INFO] [stdout] | [INFO] [stdout] 2 | ...zy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std :: sync :: RwLock` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:240 [INFO] [stdout] | [INFO] [stdout] 2 | ...egex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ doc = r" # Safety" ] # [ doc = r"" ] # [ doc = r" ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate :: frecency :: FrecencyTracker` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | # [ doc ( hidden ) ] pub mod lua_bootstrap { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , Lsp... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:113 [INFO] [stdout] | [INFO] [stdout] 3 | # [ doc ( hidden ) ] pub mod lua_bootstrap { use crate :: frecency :: FrecencyTracker ; use crate :: fuzzy :: { self , FuzzyOptions , Lsp... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static :: lazy_static` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:151 [INFO] [stdout] | [INFO] [stdout] 3 | ...e :: fuzzy :: { self , FuzzyOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: Hash... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex :: Regex` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:184 [INFO] [stdout] | [INFO] [stdout] 3 | ...yOptions , LspItem } ; use lazy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: Rw... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std :: collections :: HashSet` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:205 [INFO] [stdout] | [INFO] [stdout] 3 | ...zy_static :: lazy_static ; use regex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ no_mangle ] pub ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std :: sync :: RwLock` [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:3:241 [INFO] [stdout] | [INFO] [stdout] 3 | ...egex :: Regex ; use std :: collections :: HashSet ; use std :: sync :: RwLock ; # [ no_mangle ] pub extern "C" fn __lua_bootstrap ( ) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:671 [INFO] [stdout] | [INFO] [stdout] 2 | ...|| -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: ext... [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:410 [INFO] [stdout] | [INFO] [stdout] 2 | ... ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:671 [INFO] [stdout] | [INFO] [stdout] 2 | ...|| -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: ext... [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:410 [INFO] [stdout] | [INFO] [stdout] 2 | ... ] pub unsafe extern "C" fn init_db ( db_path : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:778 [INFO] [stdout] | [INFO] [stdout] 2 | ...n_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:778 [INFO] [stdout] | [INFO] [stdout] 2 | ...n_ffi :: init_db ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( db_path ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::FromRawConversion::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1178 [INFO] [stdout] | [INFO] [stdout] 2 | ...> :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1064 [INFO] [stdout] | [INFO] [stdout] 2 | ...o_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::FromRawConversion::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1178 [INFO] [stdout] | [INFO] [stdout] 2 | ...> :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1064 [INFO] [stdout] | [INFO] [stdout] 2 | ...o_mangle ] pub unsafe extern "C" fn __gc_init_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1615 [INFO] [stdout] | [INFO] [stdout] 2 | ...|| -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: ext... [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1416 [INFO] [stdout] | [INFO] [stdout] 2 | ...angle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std ::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1615 [INFO] [stdout] | [INFO] [stdout] 2 | ...|| -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: ext... [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1416 [INFO] [stdout] | [INFO] [stdout] 2 | ...angle ] pub unsafe extern "C" fn destroy_db ( __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { std ::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::FromRawConversion::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2054 [INFO] [stdout] | [INFO] [stdout] 2 | ...> :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1937 [INFO] [stdout] | [INFO] [stdout] 2 | ..._mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::FromRawConversion::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2054 [INFO] [stdout] | [INFO] [stdout] 2 | ...> :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:1937 [INFO] [stdout] | [INFO] [stdout] 2 | ..._mangle ] pub unsafe extern "C" fn __gc_destroy_db ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2550 [INFO] [stdout] | [INFO] [stdout] 2 | ...|| -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: ext... [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2292 [INFO] [stdout] | [INFO] [stdout] 2 | ... ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2656 [INFO] [stdout] | [INFO] [stdout] 2 | ...ern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2550 [INFO] [stdout] | [INFO] [stdout] 2 | ...|| -> Result < u32 , c_marshalling :: Error > { * __output = < bool as c_marshalling :: IntoRawConversion > :: into_ptr ( super :: ext... [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2292 [INFO] [stdout] | [INFO] [stdout] 2 | ... ] pub unsafe extern "C" fn access ( item : < LspItem as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::FromRawConversion::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:3053 [INFO] [stdout] | [INFO] [stdout] 2 | ...> :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2940 [INFO] [stdout] | [INFO] [stdout] 2 | ...no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2656 [INFO] [stdout] | [INFO] [stdout] 2 | ...ern_ffi :: access ( < LspItem as c_marshalling :: PtrAsReference > :: ptr_as_ref ( item ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::FromRawConversion::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:3053 [INFO] [stdout] | [INFO] [stdout] 2 | ...> :: Ptr ) -> u32 { < bool as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Safety"... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:2940 [INFO] [stdout] | [INFO] [stdout] 2 | ...no_mangle ] pub unsafe extern "C" fn __gc_access ( output : < bool as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < bool as... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:3949 [INFO] [stdout] | [INFO] [stdout] 2 | ...|| -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super... [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:3291 [INFO] [stdout] | [INFO] [stdout] 2 | ... ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:3949 [INFO] [stdout] | [INFO] [stdout] 2 | ...|| -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < u32 > as c_marshalling :: IntoRawConversion > :: into_ptr ( super... [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:3291 [INFO] [stdout] | [INFO] [stdout] 2 | ... ] pub unsafe extern "C" fn fuzzy ( needle : < String as c_marshalling :: PtrAsReference > :: Ptr , haystack_labels : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , haystack_kinds : < Vec < u32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_score_offsets : < Vec < i32 > as c_marshalling :: PtrAsReference > :: Ptr , haystack_sources : < Vec < String > as c_marshalling :: PtrAsReference > :: Ptr , opts : < FuzzyOptions as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4061 [INFO] [stdout] | [INFO] [stdout] 2 | ...tern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: Pt... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4061 [INFO] [stdout] | [INFO] [stdout] 2 | ...tern_ffi :: fuzzy ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( needle ) ? , < Vec < String > as c_marshalling :: Pt... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4136 [INFO] [stdout] | [INFO] [stdout] 2 | ...edle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4136 [INFO] [stdout] | [INFO] [stdout] 2 | ...edle ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_labels ) ? , < Vec < u32 > as c_marshalling ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4228 [INFO] [stdout] | [INFO] [stdout] 2 | ...labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling ::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4316 [INFO] [stdout] | [INFO] [stdout] 2 | ...ds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshal... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4228 [INFO] [stdout] | [INFO] [stdout] 2 | ...labels ) ? , < Vec < u32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_kinds ) ? , < Vec < i32 > as c_marshalling ::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4316 [INFO] [stdout] | [INFO] [stdout] 2 | ...ds ) ? , < Vec < i32 > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_score_offsets ) ? , < Vec < String > as c_marshal... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4412 [INFO] [stdout] | [INFO] [stdout] 2 | ...sets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshallin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4412 [INFO] [stdout] | [INFO] [stdout] 2 | ...sets ) ? , < Vec < String > as c_marshalling :: PtrAsReference > :: ptr_as_ref ( haystack_sources ) ? , < FuzzyOptions as c_marshallin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4505 [INFO] [stdout] | [INFO] [stdout] 2 | ...ack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4505 [INFO] [stdout] | [INFO] [stdout] 2 | ...ack_sources ) ? , < FuzzyOptions as c_marshalling :: PtrAsReference > :: ptr_as_ref ( opts ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok (... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::FromRawConversion::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4913 [INFO] [stdout] | [INFO] [stdout] 2 | ...: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Saf... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4794 [INFO] [stdout] | [INFO] [stdout] 2 | ...mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::FromRawConversion::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4913 [INFO] [stdout] | [INFO] [stdout] 2 | ...: Ptr ) -> u32 { < Vec < u32 > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } # [ doc = r" # Saf... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:4794 [INFO] [stdout] | [INFO] [stdout] 2 | ...mangle ] pub unsafe extern "C" fn __gc_fuzzy ( output : < Vec < u32 > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < Vec ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5428 [INFO] [stdout] | [INFO] [stdout] 2 | ...|| -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( su... [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5158 [INFO] [stdout] | [INFO] [stdout] 2 | ... ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5428 [INFO] [stdout] | [INFO] [stdout] 2 | ...|| -> Result < u32 , c_marshalling :: Error > { * __output = < Vec < String > as c_marshalling :: IntoRawConversion > :: into_ptr ( su... [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5158 [INFO] [stdout] | [INFO] [stdout] 2 | ... ] pub unsafe extern "C" fn get_words ( text : < String as c_marshalling :: PtrAsReference > :: Ptr , __output : * mut < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5547 [INFO] [stdout] | [INFO] [stdout] 2 | ...n_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::PtrAsReference::ptr_as_ref` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5547 [INFO] [stdout] | [INFO] [stdout] 2 | ...n_ffi :: get_words ( < String as c_marshalling :: PtrAsReference > :: ptr_as_ref ( text ) ? ) ) ? ; Ok ( 0 ) } ) . unwrap_or ( Ok ( 2 ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::FromRawConversion::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5956 [INFO] [stdout] | [INFO] [stdout] 2 | ...Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5830 [INFO] [stdout] | [INFO] [stdout] 2 | ...le ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < V... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `c_marshalling::FromRawConversion::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5956 [INFO] [stdout] | [INFO] [stdout] 2 | ...Ptr ) -> u32 { < Vec < String > as c_marshalling :: FromRawConversion > :: from_ptr ( output ) . is_err ( ) as u32 } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:2:5830 [INFO] [stdout] | [INFO] [stdout] 2 | ...le ] pub unsafe extern "C" fn __gc_get_words ( output : < Vec < String > as c_marshalling :: IntoRawConversion > :: Ptr ) -> u32 { < V... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CString::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:102:421 [INFO] [stdout] | [INFO] [stdout] 102 | ...= std :: ptr :: null_mut ( ) { std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:102:288 [INFO] [stdout] | [INFO] [stdout] 102 | ...tly." ] # [ no_mangle ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc :: c_char ) { if bootstrap != std ::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CString::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:102:421 [INFO] [stdout] | [INFO] [stdout] 102 | ...= std :: ptr :: null_mut ( ) { std :: ffi :: CString :: from_raw ( bootstrap ) ; } } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/blink-cmp-fuzzy-ae21ec8d44e98202/out/ffi.rs:102:288 [INFO] [stdout] | [INFO] [stdout] 102 | ...tly." ] # [ no_mangle ] pub unsafe extern "C" fn __free_lua_bootstrap ( bootstrap : * mut :: libc :: c_char ) { if bootstrap != std ::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blink-cmp-fuzzy` (lib) due to 13 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blink-cmp-fuzzy` (lib test) due to 13 previous errors; 32 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8e8b21f5c6b2f97773593ece2abbde147a28654e1d0b4fb720b3f6f43978fe63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8b21f5c6b2f97773593ece2abbde147a28654e1d0b4fb720b3f6f43978fe63", kill_on_drop: false }` [INFO] [stdout] 8e8b21f5c6b2f97773593ece2abbde147a28654e1d0b4fb720b3f6f43978fe63