You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0433]: failed to resolve: could not find `size_t` in `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/execution_providers/rocm.rs:32:28
|
32 | gpu_mem_limit: ort_sys::size_t::MAX,
| ^^^^^^ could not find `size_t` in `ort_sys`
error[E0433]: failed to resolve: could not find `size_t` in `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:126:27
|
126 | let mut size = ort_sys::size_t::default();
| ^^^^^^ could not find `size_t` in `ort_sys`
error[E0433]: failed to resolve: could not find `size_t` in `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:139:27
|
139 | let mut size = ort_sys::size_t::default();
| ^^^^^^ could not find `size_t` in `ort_sys`
error[E0433]: failed to resolve: could not find `size_t` in `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:152:27
|
152 | let mut size = ort_sys::size_t::default();
| ^^^^^^ could not find `size_t` in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/execution_providers/openvino.rs:13:24
|
13 | num_threads: ort_sys::size_t,
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/execution_providers/rocm.rs:13:26
|
13 | gpu_mem_limit: ort_sys::size_t,
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/io_binding.rs:193:55
|
193 | let mut count = self.output_names.len() as ort_sys::size_t;
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/bound.rs:122:91
|
122 | pub(crate) unsafe fn GetInputMemoryType(_: *const ort_sys::OrtCustomOp, index: ort_sys::size_t) -> ort_sys::OrtMemType {
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/bound.rs:127:95
|
127 | ... pub(crate) unsafe fn GetInputCharacteristic(_: *const ort_sys::OrtCustomOp, index: ort_sys::size_t) -> ort_sys::OrtCustomOpInputOutputC...
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/bound.rs:132:96
|
132 | ... pub(crate) unsafe fn GetOutputCharacteristic(_: *const ort_sys::OrtCustomOp, index: ort_sys::size_t) -> ort_sys::OrtCustomOpInputOutput...
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/bound.rs:137:86
|
137 | pub(crate) unsafe fn GetInputTypeCount(_: *const ort_sys::OrtCustomOp) -> ort_sys::size_t {
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/bound.rs:142:87
|
142 | pub(crate) unsafe fn GetOutputTypeCount(_: *const ort_sys::OrtCustomOp) -> ort_sys::size_t {
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/bound.rs:147:85
|
147 | pub(crate) unsafe fn GetInputType(_: *const ort_sys::OrtCustomOp, index: ort_sys::size_t) -> ort_sys::ONNXTensorElementDataType {
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/bound.rs:155:86
|
155 | pub(crate) unsafe fn GetOutputType(_: *const ort_sys::OrtCustomOp, index: ort_sys::size_t) -> ort_sys::ONNXTensorElementDataType {
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:41:32
|
41 | let mut num_inputs: ort_sys::size_t = 0;
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:46:31
|
46 | let mut name_len: ort_sys::size_t = 0;
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:63:33
|
63 | let mut num_outputs: ort_sys::size_t = 0;
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:68:31
|
68 | let mut name_len: ort_sys::size_t = 0;
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:85:30
|
85 | let mut name_len: ort_sys::size_t = 0;
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:217:76
|
217 | ortsys![unsafe KernelContext_GetInput(self.ptr.as_ptr(), idx as ort_sys::size_t, &mut value_ptr)?];
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:224:77
|
224 | ortsys![unsafe KernelContext_GetOutput(self.ptr.as_ptr(), idx as ort_sys::size_t, shape.as_ptr(), shape.len() as _, &mut value_ptr)?];
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:229:25
|
229 | let mut num: ort_sys::size_t = 0;
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:235:25
|
235 | let mut num: ort_sys::size_t = 0;
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/operator/kernel.rs:293:74
|
293 | extern "C" fn parallel_for_cb(user_data: *mut c_void, iterator: ort_sys::size_t) {
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/session/async.rs:137:99
|
137 | pub(crate) fn async_callback(user_data: *mut c_void, _: *mut *mut ort_sys::OrtValue, _: ort_sys::size_t, status: *mut OrtStatus) {
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/session/mod.rs:472:78
|
472 | f: extern_system_fn! { unsafe fn(*const ort_sys::OrtSession, *mut ort_sys::size_t) -> *mut ort_sys::OrtStatus },
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/session/mod.rs:481:102
|
481 | fn extract_input_name(session_ptr: NonNull<ort_sys::OrtSession>, allocator: &Allocator, i: ort_sys::size_t) -> Result<String> {
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/session/mod.rs:486:103
|
486 | fn extract_output_name(session_ptr: NonNull<ort_sys::OrtSession>, allocator: &Allocator, i: ort_sys::size_t) -> Result<String> {
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/session/mod.rs:506:13
|
506 | ort_sys::size_t,
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/session/mod.rs:512:15
|
512 | i: ort_sys::size_t
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/session/mod.rs:540:13
|
540 | ort_sys::size_t,
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/session/mod.rs:544:15
|
544 | i: ort_sys::size_t
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/value/impl_sequence.rs:52:27
|
52 | let mut len: ort_sys::size_t = 0;
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/value/impl_tensor/extract.rs:288:37
|
288 | let mut total_length: ort_sys::size_t = 0;
| ^^^^^^ not found in `ort_sys`
error[E0412]: cannot find type `size_t` in crate `ort_sys`
--> /Users/songsiyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.6/src/value/impl_tensor/extract.rs:355:37
|
355 | let mut total_length: ort_sys::size_t = 0;
| ^^^^^^ not found in `ort_sys`
Compiling env_logger v0.10.2
Compiling opentelemetry_sdk v0.21.2
Compiling tar v0.4.42
Compiling cpal v0.15.3 (https://github.com/mediar-ai/cpal.git#487a8256)
Compiling heck v0.4.1
Compiling symphonia v0.5.4
Compiling axum v0.6.20
Compiling libsqlite3-sys v0.26.0
Compiling tokenizers v0.20.3
Compiling hf-hub v0.3.2 (https://github.com/king-jingxiang/hf-hub#55f6c592)
Compiling chrono-tz v0.8.6
Compiling knf-rs v0.2.4 (https://github.com/thewh1teagle/knf-rs.git#6fffddf4)
Some errors have detailed explanations: E0412, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `ort` (lib) due to 35 previous errors
The text was updated successfully, but these errors were encountered:
Build error on Mac M3 pro
cargo build --release --features metal
The text was updated successfully, but these errors were encountered: