locka99 / opcua

A client and server implementation of the OPC UA specification written in Rust
Mozilla Public License 2.0
480 stars 129 forks source link

unresolved macro `trace_read_lock_unwrap!' #174

Closed novakduc closed 2 years ago

novakduc commented 2 years ago

I tried to build sample code and got this error:

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

novakduc commented 2 years ago

Sorry! Latest update solved it.