oris-runtime 0.34.0

An agentic workflow runtime and programmable AI execution system in Rust: stateful graphs, agents, tools, and multi-step execution.
Build #3022011 2026-03-16 03:16:35

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.96.0-nightly (1e2183119 2026-03-15)

# docs.rs version docsrs 0.0.0 (da7690ee 2026-03-15 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder4/builds/oris-runtime-0.34.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder4/builds/oris-runtime-0.34.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260315-1.96.0-nightly-1e2183119\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9405499b68375c347f38ae61c308da5e9d7797c6713d875056a03d5dcd45b23b [INFO] running `Command { std: "docker" "start" "-a" "9405499b68375c347f38ae61c308da5e9d7797c6713d875056a03d5dcd45b23b", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: a2a_travel_experience_share, advanced_tools, agent, agent_official_experience_reuse, agent_self_evolution, agent_self_evolution_travel_network, cli_durable_job, configurable_model, context_engineering_complete, context_engineering_dynamic_prompt, context_engineering_dynamic_tools, context_engineering_message_injection, conversational_chain, conversational_retriever_chain_with_vector_store, conversational_retriever_simple_chain, create_agent_simple, custom_node_plugins, deep_agent_basic, deep_agent_customization, deep_agent_filesystem, deep_agent_human_in_the_loop, deep_agent_long_term_memory, deep_agent_planning, deep_agent_skills, deep_agent_with_task, durable_agent_job, durable_agent_job_sqlite, dynamic_semantic_routes, embedding_azure_open_ai, embedding_fastembed, embedding_mistralai, embedding_ollama, embedding_openai, execution_server, generate_runtime_api_contract, git_commits, graph_agent_workflow, graph_hello_world, graph_interrupts, graph_interrupts_approval, graph_interrupts_review, graph_memory_basic, graph_memory_store, graph_parallel_execution, graph_persistence_basic, graph_persistence_replay, graph_persistence_sqlite, graph_streaming, graph_subgraph_shared_state, graph_subgraph_streaming, graph_task_example, graph_time_travel, graph_time_travel_fork, guardrails_combined, guardrails_custom, guardrails_pii, init_chat_model, invocation_config, kernel_runner_async, kernel_runner_sync, llm_alibaba_qwen, llm_anthropic_claude, llm_azure_open_ai, llm_bedrock, llm_chain, llm_chain_deepseek, llm_chain_qwen, llm_deepseek, llm_deepseek_advanced, llm_gemini, llm_huggingface, llm_mistralai, llm_ollama, llm_openai, llm_qwen_advanced, long_term_memory_basic, long_term_memory_search, long_term_memory_tool, middleware_custom, middleware_logging, multi_agent_handoffs, multi_agent_router, multi_agent_skills, multi_agent_subagents, open_ai_tools_agent, qa_chain, rag_agentic, rag_hybrid, rag_two_step, rcommiter, retriever_merger, retriever_wikipedia, runtime_benchmark_suite, runtime_dynamic_prompt, runtime_middleware, runtime_typed_context, semantic_routes, sequential_chain, simple_chain, speech2text_openai, sql_chain, streaming_from_chain, structured_output, structured_output_provider, text_splitter_html, text_splitter_json, text_splitter_recursive_character, text_to_speech, tool_runtime, travel_planner_agent, vector_store_chroma, vector_store_faiss, vector_store_in_memory, vector_store_mongodb, vector_store_opensearch, vector_store_pinecone, vector_store_postgres, vector_store_qdrant, vector_store_sqlite_vec, vector_store_sqlite_vss, vector_store_weaviate, vision_llm_chain, wolfram_tool [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking lopdf v0.34.0 [INFO] [stderr] Checking gix-config v0.42.0 [INFO] [stderr] Compiling qdrant-client v1.17.0 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking ort v2.0.0-rc.9 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] error: failed to run custom build command for `qdrant-client v1.17.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/qdrant-client-8d94657d4b4463ef/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=tests/snippets [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' (20) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/qdrant-client-1.17.0/build.rs:31:48: [INFO] [stderr] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stderr] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtLoraAdapter)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtLoraAdapter)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/adapter.rs:26:3 [INFO] [stderr] | [INFO] [stderr] 26 | ortsys![unsafe ReleaseLoraAdapter(self.ptr.as_ptr())]; [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const i8, *mut OrtAllocator, ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...i().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const i8, *mut OrtAllocator, ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/adapter.rs:95:3 [INFO] [stderr] | [INFO] [stderr] 95 | ortsys![unsafe CreateLoraAdapter(path.as_ptr(), allocator_ptr, &mut ptr)?]; [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-5131834321899071170.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const c_void, usize, *mut ..., ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const c_void, usize, *mut ..., ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/adapter.rs:140:3 [INFO] [stderr] | [INFO] [stderr] 140 | ortsys![unsafe CreateLoraAdapterFromArray(bytes.as_ptr().cast(), bytes.len(), allocator_ptr, &mut ptr)?]; [INFO] [stderr] | -------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-15483650453825793230.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtEnv)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtEnv)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:70:3 [INFO] [stderr] | [INFO] [stderr] 70 | ortsys![unsafe ReleaseEnv(self.ptr_mut())]; [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut *mut OrtThreadingOptions) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ....$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut *mut OrtThreadingOptions) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:98:3 [INFO] [stderr] | [INFO] [stderr] 98 | ortsys![unsafe CreateThreadingOptions(&mut ptr)]; [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtThreadingOptions, i32) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ....$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtThreadingOptions, i32) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:105:3 [INFO] [stderr] | [INFO] [stderr] 105 | ortsys![unsafe SetGlobalInterOpNumThreads(self.ptr_mut(), num_threads as _)?]; [INFO] [stderr] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtThreadingOptions, i32) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ....$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtThreadingOptions, i32) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:110:3 [INFO] [stderr] | [INFO] [stderr] 110 | ortsys![unsafe SetGlobalIntraOpNumThreads(self.ptr_mut(), num_threads as _)?]; [INFO] [stderr] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtThreadingOptions, i32) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ....$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtThreadingOptions, i32) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:115:3 [INFO] [stderr] | [INFO] [stderr] 115 | ortsys![unsafe SetGlobalSpinControl(self.ptr_mut(), if spin_control { 1 } else { 0 })?]; [INFO] [stderr] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtThreadingOptions, *const i8) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...ethod.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtThreadingOptions, *const i8) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:121:3 [INFO] [stderr] | [INFO] [stderr] 121 | ortsys![unsafe SetGlobalIntraOpThreadAffinity(self.ptr_mut(), affinity.as_ptr())?]; [INFO] [stderr] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtThreadingOptions) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...i().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtThreadingOptions) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:126:3 [INFO] [stderr] | [INFO] [stderr] 126 | ortsys![unsafe SetGlobalDenormalAsZero(self.ptr_mut())?]; [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtThreadingOptions, *mut c_void) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...thod.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtThreadingOptions, *mut c_void) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:132:3 [INFO] [stderr] | [INFO] [stderr] 132 | ortsys![unsafe SetGlobalCustomThreadCreationOptions(self.ptr_mut(), (&mut *manager as *mut T).cast())?]; [INFO] [stderr] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtThreadingOptions, ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtThreadingOptions, ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:133:3 [INFO] [stderr] | [INFO] [stderr] 133 | ortsys![unsafe SetGlobalCustomCreateThreadFn(self.ptr_mut(), Some(thread_create::<T>))?]; [INFO] [stderr] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-18168360259854070133.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtThreadingOptions, ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtThreadingOptions, ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:134:3 [INFO] [stderr] | [INFO] [stderr] 134 | ortsys![unsafe SetGlobalCustomJoinThreadFn(self.ptr_mut(), Some(thread_join::<T>))?]; [INFO] [stderr] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-4839687728121546948.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtThreadingOptions)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtThreadingOptions)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:150:3 [INFO] [stderr] | [INFO] [stderr] 150 | ortsys![unsafe ReleaseThreadingOptions(self.ptr)]; [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_unchecked` found for fn pointer `unsafe extern "system" fn(*mut c_void)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:163:24 [INFO] [stderr] | [INFO] [stderr] 163 | unsafe { self.worker.unwrap_unchecked()(self.data) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut c_void)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:282:56 [INFO] [stderr] | [INFO] [stderr] 282 | let logging_function: ort_sys::OrtLoggingFunction = Some(custom_logger); [INFO] [stderr] | --------------------------- ^^^^^^^^^^^^^^^^^^^ expected fn pointer, found `Option<...>` [INFO] [stderr] | | [INFO] [stderr] | expected due to this [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `unsafe extern "system" fn(*mut c_void, OrtLoggingLevel, *const i8, *const i8, *const i8, *const i8)` [INFO] [stderr] found enum `Option<extern "C" fn(*mut c_void, OrtLoggingLevel, *const i8, *const i8, *const i8, *const i8) {custom_logger}>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(..., ..., ..., ..., ..., ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:261:66 [INFO] [stderr] | [INFO] [stderr] 261 | ...pi().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(..., ..., ..., ..., ..., ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:286:4 [INFO] [stderr] | [INFO] [stderr] 286 | / ortsys![ [INFO] [stderr] 287 | | unsafe CreateEnvWithCustomLoggerAndGlobalThreadPools( [INFO] [stderr] 288 | | logging_function, [INFO] [stderr] 289 | | logger_param, [INFO] [stderr] ... | [INFO] [stderr] 295 | | nonNull(env_ptr) [INFO] [stderr] 296 | | ]; [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-4177277394488233913.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:302:56 [INFO] [stderr] | [INFO] [stderr] 302 | let logging_function: ort_sys::OrtLoggingFunction = Some(custom_logger); [INFO] [stderr] | --------------------------- ^^^^^^^^^^^^^^^^^^^ expected fn pointer, found `Option<...>` [INFO] [stderr] | | [INFO] [stderr] | expected due to this [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `unsafe extern "system" fn(*mut c_void, OrtLoggingLevel, *const i8, *const i8, *const i8, *const i8)` [INFO] [stderr] found enum `Option<extern "C" fn(*mut c_void, OrtLoggingLevel, *const i8, *const i8, *const i8, *const i8) {custom_logger}>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(..., ..., ..., ..., ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:261:66 [INFO] [stderr] | [INFO] [stderr] 261 | ...::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(..., ..., ..., ..., ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:306:4 [INFO] [stderr] | [INFO] [stderr] 306 | / ortsys![ [INFO] [stderr] 307 | | unsafe CreateEnvWithCustomLogger( [INFO] [stderr] 308 | | logging_function, [INFO] [stderr] 309 | | logger_param, [INFO] [stderr] ... | [INFO] [stderr] 314 | | nonNull(env_ptr) [INFO] [stderr] 315 | | ]; [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-2439307698660280822.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const OrtEnv) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...e::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const OrtEnv) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:321:4 [INFO] [stderr] | [INFO] [stderr] 321 | ortsys![unsafe EnableTelemetryEvents(env_ptr)?]; [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const OrtEnv) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...e::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const OrtEnv) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/environment.rs:323:4 [INFO] [stderr] | [INFO] [stderr] 323 | ortsys![unsafe DisableTelemetryEvents(env_ptr)?]; [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(OrtErrorCode, *const i8) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...i().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(OrtErrorCode, *const i8) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/error.rs:20:3 [INFO] [stderr] | [INFO] [stderr] 20 | ortsys![unsafe CreateStatus(code, message.map(|c| c.as_ptr()).unwrap_or_else(std::ptr::null))] [INFO] [stderr] | ---------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const OrtStatus) -> OrtErrorCode` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const OrtStatus) -> OrtErrorCode` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/error.rs:152:30 [INFO] [stderr] | [INFO] [stderr] 152 | let code = ErrorCode::from(ortsys![unsafe GetErrorCode(status)]); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const OrtStatus) -> *const i8` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...e::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const OrtStatus) -> *const i8` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/error.rs:153:42 [INFO] [stderr] | [INFO] [stderr] 153 | let raw: *const std::os::raw::c_char = ortsys![unsafe GetErrorMessage(status)]; [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtStatus)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtStatus)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/error.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | ortsys![unsafe ReleaseStatus(status)]; [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtStatus)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtStatus)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/error.rs:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | ortsys![unsafe ReleaseStatus(status)]; [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSessionOptions) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...pi().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSessionOptions) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cpu.rs:49:4 [INFO] [stderr] | [INFO] [stderr] 49 | ortsys![unsafe EnableCpuMemArena(session_builder.ptr_mut())?]; [INFO] [stderr] | ------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSessionOptions) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...pi().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSessionOptions) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cpu.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | ortsys![unsafe DisableCpuMemArena(session_builder.ptr_mut())?]; [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut *mut OrtCUDAProviderOptionsV2) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut *mut OrtCUDAProviderOptionsV2) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cuda.rs:273:4 [INFO] [stderr] | [INFO] [stderr] 273 | crate::ortsys![unsafe CreateCUDAProviderOptions(&mut cuda_options)?]; [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut ..., ..., ..., usize) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut ..., ..., ..., usize) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cuda.rs:276:5 [INFO] [stderr] | [INFO] [stderr] 276 | ... crate::ortsys![unsafe UpdateCUDAProviderOptions(cuda_options, ffi_options.key_ptrs(), ffi_options.value_ptrs(), ffi_options.len())] [INFO] [stderr] | ----------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-1950159158191178988.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtCUDAProviderOptionsV2)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...e::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtCUDAProviderOptionsV2)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cuda.rs:278:5 [INFO] [stderr] | [INFO] [stderr] 278 | crate::ortsys![unsafe ReleaseCUDAProviderOptions(cuda_options)]; [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cuda.rs:282:17 [INFO] [stderr] | [INFO] [stderr] 282 | ...atus = crate::ortsys![unsafe SessionOptionsAppendExecutionProvider_CUDA_V2(session_builder.ptr_mut(), cuda_options)]; [INFO] [stderr] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-10074866357996447515.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtCUDAProviderOptionsV2)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...e::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtCUDAProviderOptionsV2)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cuda.rs:283:4 [INFO] [stderr] | [INFO] [stderr] 283 | crate::ortsys![unsafe ReleaseCUDAProviderOptions(cuda_options)]; [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut *mut OrtTensorRTProviderOptionsV2) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...thod.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut *mut OrtTensorRTProviderOptionsV2) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/tensorrt.rs:296:4 [INFO] [stderr] | [INFO] [stderr] 296 | crate::ortsys![unsafe CreateTensorRTProviderOptions(&mut trt_options)?]; [INFO] [stderr] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut ..., ..., ..., usize) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut ..., ..., ..., usize) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/tensorrt.rs:299:5 [INFO] [stderr] | [INFO] [stderr] 299 | ... crate::ortsys![unsafe UpdateTensorRTProviderOptions(trt_options, ffi_options.key_ptrs(), ffi_options.value_ptrs(), ffi_options.len())] [INFO] [stderr] | -------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-4747576769369299724.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtTensorRTProviderOptionsV2)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...:api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtTensorRTProviderOptionsV2)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/tensorrt.rs:301:5 [INFO] [stderr] | [INFO] [stderr] 301 | crate::ortsys![unsafe ReleaseTensorRTProviderOptions(trt_options)]; [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/tensorrt.rs:305:17 [INFO] [stderr] | [INFO] [stderr] 305 | ...atus = crate::ortsys![unsafe SessionOptionsAppendExecutionProvider_TensorRT_V2(session_builder.ptr_mut(), trt_options)]; [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-1979063177282329130.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtTensorRTProviderOptionsV2)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...:api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtTensorRTProviderOptionsV2)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/tensorrt.rs:306:4 [INFO] [stderr] | [INFO] [stderr] 306 | crate::ortsys![unsafe ReleaseTensorRTProviderOptions(trt_options)]; [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut *mut OrtDnnlProviderOptions) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut *mut OrtDnnlProviderOptions) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/onednn.rs:55:4 [INFO] [stderr] | [INFO] [stderr] 55 | crate::ortsys![unsafe CreateDnnlProviderOptions(&mut dnnl_options)?]; [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut ..., ..., ..., usize) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut ..., ..., ..., usize) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/onednn.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | ... crate::ortsys![unsafe UpdateDnnlProviderOptions(dnnl_options, ffi_options.key_ptrs(), ffi_options.value_ptrs(), ffi_options.len())] [INFO] [stderr] | ----------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-5955135820519099284.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtDnnlProviderOptions)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtDnnlProviderOptions)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/onednn.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | crate::ortsys![unsafe ReleaseDnnlProviderOptions(dnnl_options)]; [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/onednn.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | let status = crate::ortsys![unsafe SessionOptionsAppendExecutionProvider_Dnnl(session_builder.ptr_mut(), dnnl_options)]; [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-10488010206422412713.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtDnnlProviderOptions)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtDnnlProviderOptions)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/onednn.rs:65:4 [INFO] [stderr] | [INFO] [stderr] 65 | crate::ortsys![unsafe ReleaseDnnlProviderOptions(dnnl_options)]; [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/acl.rs:52:51 [INFO] [stderr] | [INFO] [stderr] 52 | ...ult(unsafe { OrtSessionOptionsAppendExecutionProvider_ACL(session_builder.ptr_mut(), self.use_arena.into()) }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut OrtStatus`, found `OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*mut OrtStatus` [INFO] [stderr] found struct `OrtStatusPtr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/openvino.rs:150:5 [INFO] [stderr] | [INFO] [stderr] 150 | ... crate::ortsys![unsafe SessionOptionsAppendExecutionProvider_OpenVINO(session_builder.ptr_mut(), std::ptr::addr_of!(openvino_options))] [INFO] [stderr] | -------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-15237090693062039891.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/coreml.rs:82:51 [INFO] [stderr] | [INFO] [stderr] 82 | ...to_result(unsafe { OrtSessionOptionsAppendExecutionProvider_CoreML(session_builder.ptr_mut(), flags) }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut OrtStatus`, found `OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*mut OrtStatus` [INFO] [stderr] found struct `OrtStatusPtr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/rocm.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | ... crate::ortsys![unsafe SessionOptionsAppendExecutionProvider_ROCM(session_builder.ptr_mut(), std::ptr::addr_of!(rocm_options))] [INFO] [stderr] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-4502998923645167729.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut *mut OrtCANNProviderOptions) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut *mut OrtCANNProviderOptions) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cann.rs:148:4 [INFO] [stderr] | [INFO] [stderr] 148 | crate::ortsys![unsafe CreateCANNProviderOptions(&mut cann_options)?]; [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut ..., ..., ..., usize) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut ..., ..., ..., usize) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cann.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | ... crate::ortsys![unsafe UpdateCANNProviderOptions(cann_options, ffi_options.key_ptrs(), ffi_options.value_ptrs(), ffi_options.len())] [INFO] [stderr] | ----------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-13625260188215425633.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtCANNProviderOptions)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtCANNProviderOptions)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cann.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | crate::ortsys![unsafe ReleaseCANNProviderOptions(cann_options)]; [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cann.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | let status = crate::ortsys![unsafe SessionOptionsAppendExecutionProvider_CANN(session_builder.ptr_mut(), cann_options)]; [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-15724090479232187117.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtCANNProviderOptions)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtCANNProviderOptions)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/cann.rs:158:4 [INFO] [stderr] | [INFO] [stderr] 158 | crate::ortsys![unsafe ReleaseCANNProviderOptions(cann_options)]; [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/directml.rs:52:51 [INFO] [stderr] | [INFO] [stderr] 52 | ...esult(unsafe { OrtSessionOptionsAppendExecutionProvider_DML(session_builder.ptr_mut(), self.device_id as _) }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut OrtStatus`, found `OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*mut OrtStatus` [INFO] [stderr] found struct `OrtStatusPtr` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/tvm.rs:114:51 [INFO] [stderr] | [INFO] [stderr] 114 | ...ult(unsafe { OrtSessionOptionsAppendExecutionProvider_Tvm(session_builder.ptr_mut(), options_string.as_ptr()) }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut OrtStatus`, found `OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*mut OrtStatus` [INFO] [stderr] found struct `OrtStatusPtr` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/nnapi.rs:98:51 [INFO] [stderr] | [INFO] [stderr] 98 | ...to_result(unsafe { OrtSessionOptionsAppendExecutionProvider_Nnapi(session_builder.ptr_mut(), flags) }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut OrtStatus`, found `OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*mut OrtStatus` [INFO] [stderr] found struct `OrtStatusPtr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut ..., ..., ..., ..., usize) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...i().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut ..., ..., ..., ..., usize) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/qnn.rs:210:42 [INFO] [stderr] | [INFO] [stderr] 210 | return crate::error::status_to_result(crate::ortsys![unsafe SessionOptionsAppendExecutionProvider( [INFO] [stderr] | ___________________________________________________- [INFO] [stderr] 211 | | session_builder.ptr_mut(), [INFO] [stderr] 212 | | ep_name.as_ptr(), [INFO] [stderr] 213 | | ffi_options.key_ptrs(), [INFO] [stderr] 214 | | ffi_options.value_ptrs(), [INFO] [stderr] 215 | | ffi_options.len(), [INFO] [stderr] 216 | | )]); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-8521885130333774403.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut ..., ..., ..., ..., usize) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...i().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut ..., ..., ..., ..., usize) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/xnnpack.rs:58:42 [INFO] [stderr] | [INFO] [stderr] 58 | return crate::error::status_to_result(crate::ortsys![unsafe SessionOptionsAppendExecutionProvider( [INFO] [stderr] | ___________________________________________________- [INFO] [stderr] 59 | | session_builder.ptr_mut(), [INFO] [stderr] 60 | | ep_name.as_ptr(), [INFO] [stderr] 61 | | ffi_options.key_ptrs(), [INFO] [stderr] 62 | | ffi_options.value_ptrs(), [INFO] [stderr] 63 | | ffi_options.len(), [INFO] [stderr] 64 | | )]); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-8521885130333774403.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/armnn.rs:52:51 [INFO] [stderr] | [INFO] [stderr] 52 | ...ult(unsafe { OrtSessionOptionsAppendExecutionProvider_ArmNN(session_builder.ptr_mut(), self.use_arena.into()) }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut OrtStatus`, found `OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*mut OrtStatus` [INFO] [stderr] found struct `OrtStatusPtr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSessionOptions, *const ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/migraphx.rs:108:4 [INFO] [stderr] | [INFO] [stderr] 108 | crate::ortsys![unsafe SessionOptionsAppendExecutionProvider_MIGraphX(session_builder.ptr_mut(), &options)?]; [INFO] [stderr] | ----------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-823415423281888117.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut ..., ..., ..., usize) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...:api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut ..., ..., ..., usize) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/vitis.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | let status = crate::ortsys![ [INFO] [stderr] | __________________________- [INFO] [stderr] 65 | | unsafe SessionOptionsAppendExecutionProvider_VitisAI( [INFO] [stderr] 66 | | session_builder.ptr_mut(), [INFO] [stderr] 67 | | ffi_options.key_ptrs(), [INFO] [stderr] ... | [INFO] [stderr] 71 | | ]; [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-6456214492923847601.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `crate::ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/rknpu.rs:44:51 [INFO] [stderr] | [INFO] [stderr] 44 | ...e { OrtSessionOptionsAppendExecutionProvider_RKNPU(session_builder.ptr_mut()) }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut OrtStatus`, found `OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] = note: expected raw pointer `*mut OrtStatus` [INFO] [stderr] found struct `OrtStatusPtr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut *mut *mut i8, *mut i32) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...).$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut *mut *mut i8, *mut i32) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/mod.rs:99:3 [INFO] [stderr] | [INFO] [stderr] 99 | ortsys![unsafe GetAvailableProviders(&mut providers, &mut num_providers)?]; [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut *mut i8, i32) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...:api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut *mut i8, i32) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/mod.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | let _ = ortsys![unsafe ReleaseAvailableProviders(providers, num_providers)]; [INFO] [stderr] | ------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut *mut i8, i32) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...:api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut *mut i8, i32) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/mod.rs:113:13 [INFO] [stderr] | [INFO] [stderr] 113 | let _ = ortsys![unsafe ReleaseAvailableProviders(providers, num_providers)]; [INFO] [stderr] | ------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut *mut i8, i32) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...:api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut *mut i8, i32) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/execution_providers/mod.rs:118:11 [INFO] [stderr] | [INFO] [stderr] 118 | let _ = ortsys![unsafe ReleaseAvailableProviders(providers, num_providers)]; [INFO] [stderr] | ------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSession, *mut *mut OrtIoBinding) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:261:66 [INFO] [stderr] | [INFO] [stderr] 261 | ...hod.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSession, *mut *mut OrtIoBinding) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:105:3 [INFO] [stderr] | [INFO] [stderr] 105 | ortsys![unsafe CreateIoBinding(session.ptr().cast_mut(), &mut ptr)?; nonNull(ptr)]; [INFO] [stderr] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtIoBinding, *const i8, *const OrtValue) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...tus_to_result(unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null"... [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtIoBinding, *const i8, *const OrtValue) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:129:3 [INFO] [stderr] | [INFO] [stderr] 129 | ortsys![unsafe BindInput(self.ptr_mut(), cname.as_ptr(), ort_value.ptr())?]; [INFO] [stderr] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtIoBinding, *const i8, *const OrtValue) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...tus_to_result(unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null"... [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtIoBinding, *const i8, *const OrtValue) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:146:3 [INFO] [stderr] | [INFO] [stderr] 146 | ortsys![unsafe BindOutput(self.ptr_mut(), cname.as_ptr(), ort_value.ptr())?]; [INFO] [stderr] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtIoBinding, *const i8, *const OrtMemoryInfo) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...tus_to_result(unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null"... [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtIoBinding, *const i8, *const OrtMemoryInfo) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:158:3 [INFO] [stderr] | [INFO] [stderr] 158 | ortsys![unsafe BindOutputToDevice(self.ptr_mut(), cname.as_ptr(), mem_info.ptr())?]; [INFO] [stderr] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtIoBinding)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtIoBinding)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:165:3 [INFO] [stderr] | [INFO] [stderr] 165 | ortsys![unsafe ClearBoundInputs(self.ptr_mut())]; [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtIoBinding)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtIoBinding)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:170:3 [INFO] [stderr] | [INFO] [stderr] 170 | ortsys![unsafe ClearBoundOutputs(self.ptr_mut())]; [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtIoBinding) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...:api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtIoBinding) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:186:3 [INFO] [stderr] | [INFO] [stderr] 186 | ortsys![unsafe SynchronizeBoundInputs(self.ptr_mut())?]; [INFO] [stderr] | ------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtIoBinding) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...:api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtIoBinding) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:191:3 [INFO] [stderr] | [INFO] [stderr] 191 | ortsys![unsafe SynchronizeBoundOutputs(self.ptr_mut())?]; [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtSession, *const ..., ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:254:66 [INFO] [stderr] | [INFO] [stderr] 254 | ...i().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtSession, *const ..., ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:214:3 [INFO] [stderr] | [INFO] [stderr] 214 | ortsys![unsafe RunWithBinding(self.session.ptr().cast_mut(), run_options_ptr, self.ptr())?]; [INFO] [stderr] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-8174098894176492226.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const OrtIoBinding, ..., ..., ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:261:66 [INFO] [stderr] | [INFO] [stderr] 261 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const OrtIoBinding, ..., ..., ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:220:4 [INFO] [stderr] | [INFO] [stderr] 220 | ... ortsys![unsafe GetBoundOutputValues(self.ptr(), self.session.allocator.ptr().cast_mut(), &mut output_values_ptr, &mut count)?; nonNull(output_values_ptr)]; [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-15621357871432261246.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtIoBinding)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtIoBinding)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/io_binding.rs:262:3 [INFO] [stderr] | [INFO] [stderr] 262 | ortsys![unsafe ReleaseIoBinding(self.ptr_mut())]; [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const OrtSession, *const ..., ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:261:66 [INFO] [stderr] | [INFO] [stderr] 261 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const OrtSession, *const ..., ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/memory.rs:155:3 [INFO] [stderr] | [INFO] [stderr] 155 | ortsys![unsafe CreateAllocator(session.ptr(), memory_info.ptr.as_ptr(), &mut allocator_ptr)?; nonNull(allocator_ptr)]; [INFO] [stderr] | --------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-8432293281535708860.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut *mut OrtAllocator) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:246:43 [INFO] [stderr] | [INFO] [stderr] 246 | ...pi().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut *mut OrtAllocator) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/memory.rs:173:20 [INFO] [stderr] | [INFO] [stderr] 173 | ...esult(ortsys![unsafe GetAllocatorWithDefaultOptions(&mut allocator_ptr); nonNull(allocator_ptr)]).expect("Failed to get default ... [INFO] [stderr] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*mut OrtAllocator)` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ... unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*mut OrtAllocator)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/memory.rs:195:4 [INFO] [stderr] | [INFO] [stderr] 195 | ortsys![unsafe ReleaseAllocator(self.ptr.as_ptr())]; [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const i8, ..., i32, ..., ...) -> ...` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:261:66 [INFO] [stderr] | [INFO] [stderr] 261 | ...pi().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) })?; [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const i8, ..., i32, ..., ...) -> ...` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/memory.rs:393:3 [INFO] [stderr] | [INFO] [stderr] 393 | / ... ortsys![ [INFO] [stderr] 394 | | ... unsafe CreateMemoryInfo(allocator_name.as_ptr(), allocator_type.into(), device_id, memory_type.into(), &mut memory_info... [INFO] [stderr] 395 | | ... nonNull(memory_info_ptr) [INFO] [stderr] 396 | | ... ]; [INFO] [stderr] | |_______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/ort-41808bb1032ebbe1.long-type-14906181549545040358.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const OrtValue, *mut i32) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const OrtValue, *mut i32) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/memory.rs:405:3 [INFO] [stderr] | [INFO] [stderr] 405 | ortsys![unsafe IsTensor(value_ptr, &mut is_tensor)]; // infallible [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const OrtValue, *mut *const OrtMemoryInfo) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...od.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const OrtValue, *mut *const OrtMemoryInfo) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/memory.rs:409:4 [INFO] [stderr] | [INFO] [stderr] 409 | ortsys![unsafe GetTensorMemoryInfo(value_ptr, &mut memory_info_ptr)]; [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const OrtMemoryInfo, *mut OrtMemType) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | ...thod.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n),+) } [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const OrtMemoryInfo, *mut OrtMemType) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/memory.rs:435:3 [INFO] [stderr] | [INFO] [stderr] 435 | ortsys![unsafe MemoryInfoGetMemType(self.ptr.as_ptr(), &mut raw_type)]; [INFO] [stderr] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap_or_else` found for fn pointer `unsafe extern "system" fn(*const OrtMemoryInfo, *mut OrtAllocatorType) -> OrtStatusPtr` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/lib.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | unsafe { $crate::api().$method.unwrap_or_else(|| unreachable!(concat!("Method `", stringify!($method), "` is null")))($($n)... [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `unsafe extern "system" fn(*const OrtMemoryInfo, *mut OrtAllocatorType) -> OrtStatusPtr` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ort-2.0.0-rc.9/src/memory.rs:450:3 [INFO] [stderr] | [INFO] [stderr] 450 | ortsys![unsafe MemoryInfoGetType(self.ptr.as_ptr(), &mut raw_type)]; [INFO] [stderr] | ------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `ortsys` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [WARN] too much data in the log, truncating it