error: cannot find macro trace_read_lock_unwrap in this scope
--> client/src/session/session.rs:963:12
963
if trace_read_lock_unwrap!(self.session_state).session_id().identifier == Identifier::Numeric(0) {
^^^^^^^^^^^^^^^^^^^^^^ help: a macro with a similar name exists: trace_read_lock
::: /home/novakduc/Documents/rust/learn/opcua/core/src/lib.rs:45:1
|
45 | macro_rules! trace_read_lock {
| ---------------------------- similarly named macro trace_read_lock defined here
error: could not compile opcua-client due to previous error
warning: build failed, waiting for other jobs to finish...
warning: opcua-core (lib) generated 1 warning
error: build failed
I tried to build sample code and got this error:
trace_read_lock_unwrap
in this scope --> client/src/session/session.rs:963:12trace_read_lock
::: /home/novakduc/Documents/rust/learn/opcua/core/src/lib.rs:45:1 | 45 | macro_rules! trace_read_lock { | ---------------------------- similarly named macro
trace_read_lock
defined hereerror: could not compile
opcua-client
due to previous error warning: build failed, waiting for other jobs to finish... warning:opcua-core
(lib) generated 1 warning error: build failed