Compiling opcua-server v0.2.0 (file:///C:/Work/src/opcua/server)
warning: unused import: `opcua_core::debug::*;`
--> src\comms\tcp_transport.rs:16:5
|
16 | use opcua_core::debug::*;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
warning: unused import: `opcua_core::debug::*;`
--> src\comms\tcp_transport.rs:16:5
|
16 | use opcua_core::debug::*;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
error[E0308]: mismatched types
--> src\server_state.rs:87:46
|
87 | Some(config.endpoints.iter().filter(|(_, e)| {
| ^^^^^^ expected reference, found tuple
|
= note: expected type `&(&std::string::String, &config::ServerEndpoint)`
found type `(_, _)`
error[E0308]: mismatched types
--> src\server_state.rs:87:54
|
87 | Some(config.endpoints.iter().filter(|(_, e)| {
| ______________________________________________________^
88 | | // Only matching urls
89 | | }).map(|(_, e)| {
| |_________^ expected bool, found ()
|
= note: expected type `bool`
found type `()`
error[E0308]: mismatched types
--> src\server_state.rs:87:46
|
87 | Some(config.endpoints.iter().filter(|(_, e)| {
| ^^^^^^ expected reference, found tuple
|
= note: expected type `&(&std::string::String, &config::ServerEndpoint)`
found type `(_, _)`
error[E0308]: mismatched types
--> src\server_state.rs:87:54
|
87 | Some(config.endpoints.iter().filter(|(_, e)| {
| ______________________________________________________^
88 | | // Only matching urls
89 | | }).map(|(_, e)| {
| |_________^ expected bool, found ()
|
= note: expected type `bool`
found type `()`
error: aborting due to 2 previous errors
error: Could not compile `opcua-server`.
warning: build failed, waiting for other jobs to finish...
error: aborting due to 2 previous errors
error: Could not compile `opcua-server`.
To learn more, run the command again with --verbose.