Advertisement
Guest User

Untitled

a guest
Oct 6th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 225.33 KB | None | 0 0
  1. In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
  2. from /tmp/spheretest/minetest/src/server.h:23,
  3. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  4. /tmp/spheretest/minetest/src/util/thread.h: In member function ‘MutexAutoLock* MutexedVariable<T>::getLock()’:
  5. /tmp/spheretest/minetest/src/util/thread.h:52:35: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  6. return new MutexAutoLock(m_mutex);
  7. ^
  8. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  9. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  10. from /tmp/spheretest/minetest/src/util/container.h:26,
  11. from /tmp/spheretest/minetest/src/network/connection.h:29,
  12. from /tmp/spheretest/minetest/src/server.h:23,
  13. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  14. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  15. unique_lock(unique_lock&& __u) noexcept
  16. ^~~~~~~~~~~
  17. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  18. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  19. unique_lock(mutex_type& __m,
  20. ^~~~~~~~~~~
  21. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  22. In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
  23. from /tmp/spheretest/minetest/src/server.h:23,
  24. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  25. /tmp/spheretest/minetest/src/util/thread.h:52:35: note: candidate expects 2 arguments, 1 provided
  26. return new MutexAutoLock(m_mutex);
  27. ^
  28. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  29. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  30. from /tmp/spheretest/minetest/src/util/container.h:26,
  31. from /tmp/spheretest/minetest/src/network/connection.h:29,
  32. from /tmp/spheretest/minetest/src/server.h:23,
  33. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  34. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  35. unique_lock(mutex_type& __m,
  36. ^~~~~~~~~~~
  37. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  38. In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
  39. from /tmp/spheretest/minetest/src/server.h:23,
  40. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  41. /tmp/spheretest/minetest/src/util/thread.h:52:35: note: candidate expects 2 arguments, 1 provided
  42. return new MutexAutoLock(m_mutex);
  43. ^
  44. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  45. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  46. from /tmp/spheretest/minetest/src/util/container.h:26,
  47. from /tmp/spheretest/minetest/src/network/connection.h:29,
  48. from /tmp/spheretest/minetest/src/server.h:23,
  49. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  50. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  51. unique_lock(mutex_type& __m, adopt_lock_t)
  52. ^~~~~~~~~~~
  53. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  54. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  55. unique_lock(mutex_type& __m, try_to_lock_t)
  56. ^~~~~~~~~~~
  57. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  58. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  59. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  60. ^~~~~~~~~~~
  61. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  62. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  63. explicit unique_lock(mutex_type& __m)
  64. ^~~~~~~~~~~
  65. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  66. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  67. unique_lock() noexcept
  68. ^~~~~~~~~~~
  69. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  70. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  71. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  72. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getCurrentDownloadRateKB()’:
  73. /tmp/spheretest/minetest/src/network/connection.h:522:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  74. { MutexAutoLock lock(m_internal_mutex); return cur_kbps; };
  75. ^
  76. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  77. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  78. from /tmp/spheretest/minetest/src/util/container.h:26,
  79. from /tmp/spheretest/minetest/src/network/connection.h:29,
  80. from /tmp/spheretest/minetest/src/server.h:23,
  81. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  82. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  83. unique_lock(unique_lock&& __u) noexcept
  84. ^~~~~~~~~~~
  85. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  86. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  87. unique_lock(mutex_type& __m,
  88. ^~~~~~~~~~~
  89. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  90. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  91. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  92. /tmp/spheretest/minetest/src/network/connection.h:522:40: note: candidate expects 2 arguments, 1 provided
  93. { MutexAutoLock lock(m_internal_mutex); return cur_kbps; };
  94. ^
  95. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  96. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  97. from /tmp/spheretest/minetest/src/util/container.h:26,
  98. from /tmp/spheretest/minetest/src/network/connection.h:29,
  99. from /tmp/spheretest/minetest/src/server.h:23,
  100. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  101. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  102. unique_lock(mutex_type& __m,
  103. ^~~~~~~~~~~
  104. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  105. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  106. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  107. /tmp/spheretest/minetest/src/network/connection.h:522:40: note: candidate expects 2 arguments, 1 provided
  108. { MutexAutoLock lock(m_internal_mutex); return cur_kbps; };
  109. ^
  110. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  111. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  112. from /tmp/spheretest/minetest/src/util/container.h:26,
  113. from /tmp/spheretest/minetest/src/network/connection.h:29,
  114. from /tmp/spheretest/minetest/src/server.h:23,
  115. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  116. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  117. unique_lock(mutex_type& __m, adopt_lock_t)
  118. ^~~~~~~~~~~
  119. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  120. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  121. unique_lock(mutex_type& __m, try_to_lock_t)
  122. ^~~~~~~~~~~
  123. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  124. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  125. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  126. ^~~~~~~~~~~
  127. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  128. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  129. explicit unique_lock(mutex_type& __m)
  130. ^~~~~~~~~~~
  131. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  132. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  133. unique_lock() noexcept
  134. ^~~~~~~~~~~
  135. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  136. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  137. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  138. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getMaxDownloadRateKB()’:
  139. /tmp/spheretest/minetest/src/network/connection.h:524:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  140. { MutexAutoLock lock(m_internal_mutex); return max_kbps; };
  141. ^
  142. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  143. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  144. from /tmp/spheretest/minetest/src/util/container.h:26,
  145. from /tmp/spheretest/minetest/src/network/connection.h:29,
  146. from /tmp/spheretest/minetest/src/server.h:23,
  147. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  148. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  149. unique_lock(unique_lock&& __u) noexcept
  150. ^~~~~~~~~~~
  151. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  152. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  153. unique_lock(mutex_type& __m,
  154. ^~~~~~~~~~~
  155. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  156. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  157. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  158. /tmp/spheretest/minetest/src/network/connection.h:524:40: note: candidate expects 2 arguments, 1 provided
  159. { MutexAutoLock lock(m_internal_mutex); return max_kbps; };
  160. ^
  161. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  162. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  163. from /tmp/spheretest/minetest/src/util/container.h:26,
  164. from /tmp/spheretest/minetest/src/network/connection.h:29,
  165. from /tmp/spheretest/minetest/src/server.h:23,
  166. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  167. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  168. unique_lock(mutex_type& __m,
  169. ^~~~~~~~~~~
  170. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  171. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  172. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  173. /tmp/spheretest/minetest/src/network/connection.h:524:40: note: candidate expects 2 arguments, 1 provided
  174. { MutexAutoLock lock(m_internal_mutex); return max_kbps; };
  175. ^
  176. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  177. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  178. from /tmp/spheretest/minetest/src/util/container.h:26,
  179. from /tmp/spheretest/minetest/src/network/connection.h:29,
  180. from /tmp/spheretest/minetest/src/server.h:23,
  181. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  182. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  183. unique_lock(mutex_type& __m, adopt_lock_t)
  184. ^~~~~~~~~~~
  185. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  186. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  187. unique_lock(mutex_type& __m, try_to_lock_t)
  188. ^~~~~~~~~~~
  189. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  190. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  191. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  192. ^~~~~~~~~~~
  193. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  194. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  195. explicit unique_lock(mutex_type& __m)
  196. ^~~~~~~~~~~
  197. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  198. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  199. unique_lock() noexcept
  200. ^~~~~~~~~~~
  201. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  202. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  203. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  204. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getCurrentLossRateKB()’:
  205. /tmp/spheretest/minetest/src/network/connection.h:527:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  206. { MutexAutoLock lock(m_internal_mutex); return cur_kbps_lost; };
  207. ^
  208. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  209. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  210. from /tmp/spheretest/minetest/src/util/container.h:26,
  211. from /tmp/spheretest/minetest/src/network/connection.h:29,
  212. from /tmp/spheretest/minetest/src/server.h:23,
  213. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  214. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  215. unique_lock(unique_lock&& __u) noexcept
  216. ^~~~~~~~~~~
  217. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  218. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  219. unique_lock(mutex_type& __m,
  220. ^~~~~~~~~~~
  221. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  222. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  223. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  224. /tmp/spheretest/minetest/src/network/connection.h:527:40: note: candidate expects 2 arguments, 1 provided
  225. { MutexAutoLock lock(m_internal_mutex); return cur_kbps_lost; };
  226. ^
  227. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  228. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  229. from /tmp/spheretest/minetest/src/util/container.h:26,
  230. from /tmp/spheretest/minetest/src/network/connection.h:29,
  231. from /tmp/spheretest/minetest/src/server.h:23,
  232. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  233. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  234. unique_lock(mutex_type& __m,
  235. ^~~~~~~~~~~
  236. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  237. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  238. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  239. /tmp/spheretest/minetest/src/network/connection.h:527:40: note: candidate expects 2 arguments, 1 provided
  240. { MutexAutoLock lock(m_internal_mutex); return cur_kbps_lost; };
  241. ^
  242. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  243. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  244. from /tmp/spheretest/minetest/src/util/container.h:26,
  245. from /tmp/spheretest/minetest/src/network/connection.h:29,
  246. from /tmp/spheretest/minetest/src/server.h:23,
  247. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  248. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  249. unique_lock(mutex_type& __m, adopt_lock_t)
  250. ^~~~~~~~~~~
  251. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  252. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  253. unique_lock(mutex_type& __m, try_to_lock_t)
  254. ^~~~~~~~~~~
  255. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  256. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  257. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  258. ^~~~~~~~~~~
  259. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  260. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  261. explicit unique_lock(mutex_type& __m)
  262. ^~~~~~~~~~~
  263. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  264. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  265. unique_lock() noexcept
  266. ^~~~~~~~~~~
  267. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  268. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  269. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  270. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getMaxLossRateKB()’:
  271. /tmp/spheretest/minetest/src/network/connection.h:529:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  272. { MutexAutoLock lock(m_internal_mutex); return max_kbps_lost; };
  273. ^
  274. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  275. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  276. from /tmp/spheretest/minetest/src/util/container.h:26,
  277. from /tmp/spheretest/minetest/src/network/connection.h:29,
  278. from /tmp/spheretest/minetest/src/server.h:23,
  279. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  280. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  281. unique_lock(unique_lock&& __u) noexcept
  282. ^~~~~~~~~~~
  283. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  284. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  285. unique_lock(mutex_type& __m,
  286. ^~~~~~~~~~~
  287. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  288. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  289. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  290. /tmp/spheretest/minetest/src/network/connection.h:529:40: note: candidate expects 2 arguments, 1 provided
  291. { MutexAutoLock lock(m_internal_mutex); return max_kbps_lost; };
  292. ^
  293. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  294. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  295. from /tmp/spheretest/minetest/src/util/container.h:26,
  296. from /tmp/spheretest/minetest/src/network/connection.h:29,
  297. from /tmp/spheretest/minetest/src/server.h:23,
  298. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  299. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  300. unique_lock(mutex_type& __m,
  301. ^~~~~~~~~~~
  302. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  303. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  304. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  305. /tmp/spheretest/minetest/src/network/connection.h:529:40: note: candidate expects 2 arguments, 1 provided
  306. { MutexAutoLock lock(m_internal_mutex); return max_kbps_lost; };
  307. ^
  308. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  309. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  310. from /tmp/spheretest/minetest/src/util/container.h:26,
  311. from /tmp/spheretest/minetest/src/network/connection.h:29,
  312. from /tmp/spheretest/minetest/src/server.h:23,
  313. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  314. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  315. unique_lock(mutex_type& __m, adopt_lock_t)
  316. ^~~~~~~~~~~
  317. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  318. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  319. unique_lock(mutex_type& __m, try_to_lock_t)
  320. ^~~~~~~~~~~
  321. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  322. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  323. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  324. ^~~~~~~~~~~
  325. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  326. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  327. explicit unique_lock(mutex_type& __m)
  328. ^~~~~~~~~~~
  329. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  330. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  331. unique_lock() noexcept
  332. ^~~~~~~~~~~
  333. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  334. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  335. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  336. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getCurrentIncomingRateKB()’:
  337. /tmp/spheretest/minetest/src/network/connection.h:532:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  338. { MutexAutoLock lock(m_internal_mutex); return cur_incoming_kbps; };
  339. ^
  340. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  341. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  342. from /tmp/spheretest/minetest/src/util/container.h:26,
  343. from /tmp/spheretest/minetest/src/network/connection.h:29,
  344. from /tmp/spheretest/minetest/src/server.h:23,
  345. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  346. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  347. unique_lock(unique_lock&& __u) noexcept
  348. ^~~~~~~~~~~
  349. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  350. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  351. unique_lock(mutex_type& __m,
  352. ^~~~~~~~~~~
  353. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  354. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  355. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  356. /tmp/spheretest/minetest/src/network/connection.h:532:40: note: candidate expects 2 arguments, 1 provided
  357. { MutexAutoLock lock(m_internal_mutex); return cur_incoming_kbps; };
  358. ^
  359. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  360. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  361. from /tmp/spheretest/minetest/src/util/container.h:26,
  362. from /tmp/spheretest/minetest/src/network/connection.h:29,
  363. from /tmp/spheretest/minetest/src/server.h:23,
  364. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  365. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  366. unique_lock(mutex_type& __m,
  367. ^~~~~~~~~~~
  368. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  369. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  370. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  371. /tmp/spheretest/minetest/src/network/connection.h:532:40: note: candidate expects 2 arguments, 1 provided
  372. { MutexAutoLock lock(m_internal_mutex); return cur_incoming_kbps; };
  373. ^
  374. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  375. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  376. from /tmp/spheretest/minetest/src/util/container.h:26,
  377. from /tmp/spheretest/minetest/src/network/connection.h:29,
  378. from /tmp/spheretest/minetest/src/server.h:23,
  379. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  380. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  381. unique_lock(mutex_type& __m, adopt_lock_t)
  382. ^~~~~~~~~~~
  383. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  384. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  385. unique_lock(mutex_type& __m, try_to_lock_t)
  386. ^~~~~~~~~~~
  387. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  388. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  389. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  390. ^~~~~~~~~~~
  391. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  392. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  393. explicit unique_lock(mutex_type& __m)
  394. ^~~~~~~~~~~
  395. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  396. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  397. unique_lock() noexcept
  398. ^~~~~~~~~~~
  399. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  400. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  401. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  402. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getMaxIncomingRateKB()’:
  403. /tmp/spheretest/minetest/src/network/connection.h:534:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  404. { MutexAutoLock lock(m_internal_mutex); return max_incoming_kbps; };
  405. ^
  406. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  407. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  408. from /tmp/spheretest/minetest/src/util/container.h:26,
  409. from /tmp/spheretest/minetest/src/network/connection.h:29,
  410. from /tmp/spheretest/minetest/src/server.h:23,
  411. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  412. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  413. unique_lock(unique_lock&& __u) noexcept
  414. ^~~~~~~~~~~
  415. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  416. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  417. unique_lock(mutex_type& __m,
  418. ^~~~~~~~~~~
  419. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  420. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  421. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  422. /tmp/spheretest/minetest/src/network/connection.h:534:40: note: candidate expects 2 arguments, 1 provided
  423. { MutexAutoLock lock(m_internal_mutex); return max_incoming_kbps; };
  424. ^
  425. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  426. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  427. from /tmp/spheretest/minetest/src/util/container.h:26,
  428. from /tmp/spheretest/minetest/src/network/connection.h:29,
  429. from /tmp/spheretest/minetest/src/server.h:23,
  430. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  431. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  432. unique_lock(mutex_type& __m,
  433. ^~~~~~~~~~~
  434. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  435. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  436. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  437. /tmp/spheretest/minetest/src/network/connection.h:534:40: note: candidate expects 2 arguments, 1 provided
  438. { MutexAutoLock lock(m_internal_mutex); return max_incoming_kbps; };
  439. ^
  440. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  441. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  442. from /tmp/spheretest/minetest/src/util/container.h:26,
  443. from /tmp/spheretest/minetest/src/network/connection.h:29,
  444. from /tmp/spheretest/minetest/src/server.h:23,
  445. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  446. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  447. unique_lock(mutex_type& __m, adopt_lock_t)
  448. ^~~~~~~~~~~
  449. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  450. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  451. unique_lock(mutex_type& __m, try_to_lock_t)
  452. ^~~~~~~~~~~
  453. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  454. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  455. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  456. ^~~~~~~~~~~
  457. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  458. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  459. explicit unique_lock(mutex_type& __m)
  460. ^~~~~~~~~~~
  461. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  462. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  463. unique_lock() noexcept
  464. ^~~~~~~~~~~
  465. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  466. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  467. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  468. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getAvgDownloadRateKB()’:
  469. /tmp/spheretest/minetest/src/network/connection.h:537:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  470. { MutexAutoLock lock(m_internal_mutex); return avg_kbps; };
  471. ^
  472. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  473. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  474. from /tmp/spheretest/minetest/src/util/container.h:26,
  475. from /tmp/spheretest/minetest/src/network/connection.h:29,
  476. from /tmp/spheretest/minetest/src/server.h:23,
  477. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  478. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  479. unique_lock(unique_lock&& __u) noexcept
  480. ^~~~~~~~~~~
  481. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  482. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  483. unique_lock(mutex_type& __m,
  484. ^~~~~~~~~~~
  485. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  486. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  487. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  488. /tmp/spheretest/minetest/src/network/connection.h:537:40: note: candidate expects 2 arguments, 1 provided
  489. { MutexAutoLock lock(m_internal_mutex); return avg_kbps; };
  490. ^
  491. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  492. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  493. from /tmp/spheretest/minetest/src/util/container.h:26,
  494. from /tmp/spheretest/minetest/src/network/connection.h:29,
  495. from /tmp/spheretest/minetest/src/server.h:23,
  496. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  497. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  498. unique_lock(mutex_type& __m,
  499. ^~~~~~~~~~~
  500. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  501. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  502. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  503. /tmp/spheretest/minetest/src/network/connection.h:537:40: note: candidate expects 2 arguments, 1 provided
  504. { MutexAutoLock lock(m_internal_mutex); return avg_kbps; };
  505. ^
  506. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  507. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  508. from /tmp/spheretest/minetest/src/util/container.h:26,
  509. from /tmp/spheretest/minetest/src/network/connection.h:29,
  510. from /tmp/spheretest/minetest/src/server.h:23,
  511. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  512. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  513. unique_lock(mutex_type& __m, adopt_lock_t)
  514. ^~~~~~~~~~~
  515. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  516. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  517. unique_lock(mutex_type& __m, try_to_lock_t)
  518. ^~~~~~~~~~~
  519. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  520. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  521. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  522. ^~~~~~~~~~~
  523. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  524. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  525. explicit unique_lock(mutex_type& __m)
  526. ^~~~~~~~~~~
  527. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  528. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  529. unique_lock() noexcept
  530. ^~~~~~~~~~~
  531. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  532. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  533. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  534. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getAvgLossRateKB()’:
  535. /tmp/spheretest/minetest/src/network/connection.h:539:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  536. { MutexAutoLock lock(m_internal_mutex); return avg_kbps_lost; };
  537. ^
  538. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  539. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  540. from /tmp/spheretest/minetest/src/util/container.h:26,
  541. from /tmp/spheretest/minetest/src/network/connection.h:29,
  542. from /tmp/spheretest/minetest/src/server.h:23,
  543. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  544. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  545. unique_lock(unique_lock&& __u) noexcept
  546. ^~~~~~~~~~~
  547. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  548. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  549. unique_lock(mutex_type& __m,
  550. ^~~~~~~~~~~
  551. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  552. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  553. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  554. /tmp/spheretest/minetest/src/network/connection.h:539:40: note: candidate expects 2 arguments, 1 provided
  555. { MutexAutoLock lock(m_internal_mutex); return avg_kbps_lost; };
  556. ^
  557. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  558. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  559. from /tmp/spheretest/minetest/src/util/container.h:26,
  560. from /tmp/spheretest/minetest/src/network/connection.h:29,
  561. from /tmp/spheretest/minetest/src/server.h:23,
  562. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  563. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  564. unique_lock(mutex_type& __m,
  565. ^~~~~~~~~~~
  566. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  567. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  568. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  569. /tmp/spheretest/minetest/src/network/connection.h:539:40: note: candidate expects 2 arguments, 1 provided
  570. { MutexAutoLock lock(m_internal_mutex); return avg_kbps_lost; };
  571. ^
  572. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  573. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  574. from /tmp/spheretest/minetest/src/util/container.h:26,
  575. from /tmp/spheretest/minetest/src/network/connection.h:29,
  576. from /tmp/spheretest/minetest/src/server.h:23,
  577. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  578. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  579. unique_lock(mutex_type& __m, adopt_lock_t)
  580. ^~~~~~~~~~~
  581. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  582. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  583. unique_lock(mutex_type& __m, try_to_lock_t)
  584. ^~~~~~~~~~~
  585. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  586. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  587. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  588. ^~~~~~~~~~~
  589. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  590. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  591. explicit unique_lock(mutex_type& __m)
  592. ^~~~~~~~~~~
  593. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  594. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  595. unique_lock() noexcept
  596. ^~~~~~~~~~~
  597. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  598. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  599. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  600. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘const float con::Channel::getAvgIncomingRateKB()’:
  601. /tmp/spheretest/minetest/src/network/connection.h:541:40: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  602. { MutexAutoLock lock(m_internal_mutex); return avg_incoming_kbps; };
  603. ^
  604. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  605. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  606. from /tmp/spheretest/minetest/src/util/container.h:26,
  607. from /tmp/spheretest/minetest/src/network/connection.h:29,
  608. from /tmp/spheretest/minetest/src/server.h:23,
  609. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  610. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  611. unique_lock(unique_lock&& __u) noexcept
  612. ^~~~~~~~~~~
  613. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  614. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  615. unique_lock(mutex_type& __m,
  616. ^~~~~~~~~~~
  617. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  618. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  619. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  620. /tmp/spheretest/minetest/src/network/connection.h:541:40: note: candidate expects 2 arguments, 1 provided
  621. { MutexAutoLock lock(m_internal_mutex); return avg_incoming_kbps; };
  622. ^
  623. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  624. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  625. from /tmp/spheretest/minetest/src/util/container.h:26,
  626. from /tmp/spheretest/minetest/src/network/connection.h:29,
  627. from /tmp/spheretest/minetest/src/server.h:23,
  628. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  629. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  630. unique_lock(mutex_type& __m,
  631. ^~~~~~~~~~~
  632. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  633. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  634. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  635. /tmp/spheretest/minetest/src/network/connection.h:541:40: note: candidate expects 2 arguments, 1 provided
  636. { MutexAutoLock lock(m_internal_mutex); return avg_incoming_kbps; };
  637. ^
  638. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  639. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  640. from /tmp/spheretest/minetest/src/util/container.h:26,
  641. from /tmp/spheretest/minetest/src/network/connection.h:29,
  642. from /tmp/spheretest/minetest/src/server.h:23,
  643. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  644. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  645. unique_lock(mutex_type& __m, adopt_lock_t)
  646. ^~~~~~~~~~~
  647. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  648. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  649. unique_lock(mutex_type& __m, try_to_lock_t)
  650. ^~~~~~~~~~~
  651. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  652. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  653. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  654. ^~~~~~~~~~~
  655. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  656. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  657. explicit unique_lock(mutex_type& __m)
  658. ^~~~~~~~~~~
  659. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  660. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  661. unique_lock() noexcept
  662. ^~~~~~~~~~~
  663. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  664. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  665. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  666. /tmp/spheretest/minetest/src/network/connection.h: In destructor ‘virtual con::Peer::~Peer()’:
  667. /tmp/spheretest/minetest/src/network/connection.h:677:53: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  668. MutexAutoLock usage_lock(m_exclusive_access_mutex);
  669. ^
  670. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  671. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  672. from /tmp/spheretest/minetest/src/util/container.h:26,
  673. from /tmp/spheretest/minetest/src/network/connection.h:29,
  674. from /tmp/spheretest/minetest/src/server.h:23,
  675. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  676. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  677. unique_lock(unique_lock&& __u) noexcept
  678. ^~~~~~~~~~~
  679. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  680. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  681. unique_lock(mutex_type& __m,
  682. ^~~~~~~~~~~
  683. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  684. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  685. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  686. /tmp/spheretest/minetest/src/network/connection.h:677:53: note: candidate expects 2 arguments, 1 provided
  687. MutexAutoLock usage_lock(m_exclusive_access_mutex);
  688. ^
  689. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  690. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  691. from /tmp/spheretest/minetest/src/util/container.h:26,
  692. from /tmp/spheretest/minetest/src/network/connection.h:29,
  693. from /tmp/spheretest/minetest/src/server.h:23,
  694. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  695. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  696. unique_lock(mutex_type& __m,
  697. ^~~~~~~~~~~
  698. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  699. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  700. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  701. /tmp/spheretest/minetest/src/network/connection.h:677:53: note: candidate expects 2 arguments, 1 provided
  702. MutexAutoLock usage_lock(m_exclusive_access_mutex);
  703. ^
  704. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  705. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  706. from /tmp/spheretest/minetest/src/util/container.h:26,
  707. from /tmp/spheretest/minetest/src/network/connection.h:29,
  708. from /tmp/spheretest/minetest/src/server.h:23,
  709. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  710. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  711. unique_lock(mutex_type& __m, adopt_lock_t)
  712. ^~~~~~~~~~~
  713. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  714. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  715. unique_lock(mutex_type& __m, try_to_lock_t)
  716. ^~~~~~~~~~~
  717. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  718. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  719. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  720. ^~~~~~~~~~~
  721. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  722. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  723. explicit unique_lock(mutex_type& __m)
  724. ^~~~~~~~~~~
  725. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  726. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  727. unique_lock() noexcept
  728. ^~~~~~~~~~~
  729. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  730. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  731. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  732. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘bool con::Peer::isPendingDeletion()’:
  733. /tmp/spheretest/minetest/src/network/connection.h:692:48: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  734. { MutexAutoLock lock(m_exclusive_access_mutex); return m_pending_deletion; };
  735. ^
  736. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  737. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  738. from /tmp/spheretest/minetest/src/util/container.h:26,
  739. from /tmp/spheretest/minetest/src/network/connection.h:29,
  740. from /tmp/spheretest/minetest/src/server.h:23,
  741. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  742. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  743. unique_lock(unique_lock&& __u) noexcept
  744. ^~~~~~~~~~~
  745. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  746. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  747. unique_lock(mutex_type& __m,
  748. ^~~~~~~~~~~
  749. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  750. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  751. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  752. /tmp/spheretest/minetest/src/network/connection.h:692:48: note: candidate expects 2 arguments, 1 provided
  753. { MutexAutoLock lock(m_exclusive_access_mutex); return m_pending_deletion; };
  754. ^
  755. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  756. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  757. from /tmp/spheretest/minetest/src/util/container.h:26,
  758. from /tmp/spheretest/minetest/src/network/connection.h:29,
  759. from /tmp/spheretest/minetest/src/server.h:23,
  760. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  761. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  762. unique_lock(mutex_type& __m,
  763. ^~~~~~~~~~~
  764. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  765. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  766. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  767. /tmp/spheretest/minetest/src/network/connection.h:692:48: note: candidate expects 2 arguments, 1 provided
  768. { MutexAutoLock lock(m_exclusive_access_mutex); return m_pending_deletion; };
  769. ^
  770. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  771. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  772. from /tmp/spheretest/minetest/src/util/container.h:26,
  773. from /tmp/spheretest/minetest/src/network/connection.h:29,
  774. from /tmp/spheretest/minetest/src/server.h:23,
  775. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  776. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  777. unique_lock(mutex_type& __m, adopt_lock_t)
  778. ^~~~~~~~~~~
  779. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  780. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  781. unique_lock(mutex_type& __m, try_to_lock_t)
  782. ^~~~~~~~~~~
  783. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  784. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  785. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  786. ^~~~~~~~~~~
  787. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  788. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  789. explicit unique_lock(mutex_type& __m)
  790. ^~~~~~~~~~~
  791. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  792. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  793. unique_lock() noexcept
  794. ^~~~~~~~~~~
  795. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  796. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  797. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  798. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘void con::Peer::ResetTimeout()’:
  799. /tmp/spheretest/minetest/src/network/connection.h:695:48: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  800. {MutexAutoLock lock(m_exclusive_access_mutex); m_timeout_counter=0.0; };
  801. ^
  802. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  803. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  804. from /tmp/spheretest/minetest/src/util/container.h:26,
  805. from /tmp/spheretest/minetest/src/network/connection.h:29,
  806. from /tmp/spheretest/minetest/src/server.h:23,
  807. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  808. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  809. unique_lock(unique_lock&& __u) noexcept
  810. ^~~~~~~~~~~
  811. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  812. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  813. unique_lock(mutex_type& __m,
  814. ^~~~~~~~~~~
  815. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  816. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  817. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  818. /tmp/spheretest/minetest/src/network/connection.h:695:48: note: candidate expects 2 arguments, 1 provided
  819. {MutexAutoLock lock(m_exclusive_access_mutex); m_timeout_counter=0.0; };
  820. ^
  821. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  822. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  823. from /tmp/spheretest/minetest/src/util/container.h:26,
  824. from /tmp/spheretest/minetest/src/network/connection.h:29,
  825. from /tmp/spheretest/minetest/src/server.h:23,
  826. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  827. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  828. unique_lock(mutex_type& __m,
  829. ^~~~~~~~~~~
  830. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  831. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  832. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  833. /tmp/spheretest/minetest/src/network/connection.h:695:48: note: candidate expects 2 arguments, 1 provided
  834. {MutexAutoLock lock(m_exclusive_access_mutex); m_timeout_counter=0.0; };
  835. ^
  836. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  837. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  838. from /tmp/spheretest/minetest/src/util/container.h:26,
  839. from /tmp/spheretest/minetest/src/network/connection.h:29,
  840. from /tmp/spheretest/minetest/src/server.h:23,
  841. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  842. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  843. unique_lock(mutex_type& __m, adopt_lock_t)
  844. ^~~~~~~~~~~
  845. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  846. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  847. unique_lock(mutex_type& __m, try_to_lock_t)
  848. ^~~~~~~~~~~
  849. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  850. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  851. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  852. ^~~~~~~~~~~
  853. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  854. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  855. explicit unique_lock(mutex_type& __m)
  856. ^~~~~~~~~~~
  857. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  858. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  859. unique_lock() noexcept
  860. ^~~~~~~~~~~
  861. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  862. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  863. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  864. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘float con::UDPPeer::getResendTimeout()’:
  865. /tmp/spheretest/minetest/src/network/connection.h:818:48: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  866. { MutexAutoLock lock(m_exclusive_access_mutex); return resend_timeout; }
  867. ^
  868. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  869. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  870. from /tmp/spheretest/minetest/src/util/container.h:26,
  871. from /tmp/spheretest/minetest/src/network/connection.h:29,
  872. from /tmp/spheretest/minetest/src/server.h:23,
  873. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  874. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  875. unique_lock(unique_lock&& __u) noexcept
  876. ^~~~~~~~~~~
  877. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  878. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  879. unique_lock(mutex_type& __m,
  880. ^~~~~~~~~~~
  881. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  882. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  883. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  884. /tmp/spheretest/minetest/src/network/connection.h:818:48: note: candidate expects 2 arguments, 1 provided
  885. { MutexAutoLock lock(m_exclusive_access_mutex); return resend_timeout; }
  886. ^
  887. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  888. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  889. from /tmp/spheretest/minetest/src/util/container.h:26,
  890. from /tmp/spheretest/minetest/src/network/connection.h:29,
  891. from /tmp/spheretest/minetest/src/server.h:23,
  892. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  893. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  894. unique_lock(mutex_type& __m,
  895. ^~~~~~~~~~~
  896. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  897. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  898. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  899. /tmp/spheretest/minetest/src/network/connection.h:818:48: note: candidate expects 2 arguments, 1 provided
  900. { MutexAutoLock lock(m_exclusive_access_mutex); return resend_timeout; }
  901. ^
  902. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  903. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  904. from /tmp/spheretest/minetest/src/util/container.h:26,
  905. from /tmp/spheretest/minetest/src/network/connection.h:29,
  906. from /tmp/spheretest/minetest/src/server.h:23,
  907. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  908. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  909. unique_lock(mutex_type& __m, adopt_lock_t)
  910. ^~~~~~~~~~~
  911. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  912. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  913. unique_lock(mutex_type& __m, try_to_lock_t)
  914. ^~~~~~~~~~~
  915. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  916. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  917. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  918. ^~~~~~~~~~~
  919. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  920. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  921. explicit unique_lock(mutex_type& __m)
  922. ^~~~~~~~~~~
  923. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  924. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  925. unique_lock() noexcept
  926. ^~~~~~~~~~~
  927. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  928. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  929. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  930. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘void con::UDPPeer::setResendTimeout(float)’:
  931. /tmp/spheretest/minetest/src/network/connection.h:821:48: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  932. { MutexAutoLock lock(m_exclusive_access_mutex); resend_timeout = timeout; }
  933. ^
  934. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  935. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  936. from /tmp/spheretest/minetest/src/util/container.h:26,
  937. from /tmp/spheretest/minetest/src/network/connection.h:29,
  938. from /tmp/spheretest/minetest/src/server.h:23,
  939. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  940. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  941. unique_lock(unique_lock&& __u) noexcept
  942. ^~~~~~~~~~~
  943. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  944. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  945. unique_lock(mutex_type& __m,
  946. ^~~~~~~~~~~
  947. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  948. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  949. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  950. /tmp/spheretest/minetest/src/network/connection.h:821:48: note: candidate expects 2 arguments, 1 provided
  951. { MutexAutoLock lock(m_exclusive_access_mutex); resend_timeout = timeout; }
  952. ^
  953. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  954. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  955. from /tmp/spheretest/minetest/src/util/container.h:26,
  956. from /tmp/spheretest/minetest/src/network/connection.h:29,
  957. from /tmp/spheretest/minetest/src/server.h:23,
  958. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  959. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  960. unique_lock(mutex_type& __m,
  961. ^~~~~~~~~~~
  962. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  963. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  964. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  965. /tmp/spheretest/minetest/src/network/connection.h:821:48: note: candidate expects 2 arguments, 1 provided
  966. { MutexAutoLock lock(m_exclusive_access_mutex); resend_timeout = timeout; }
  967. ^
  968. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  969. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  970. from /tmp/spheretest/minetest/src/util/container.h:26,
  971. from /tmp/spheretest/minetest/src/network/connection.h:29,
  972. from /tmp/spheretest/minetest/src/server.h:23,
  973. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  974. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  975. unique_lock(mutex_type& __m, adopt_lock_t)
  976. ^~~~~~~~~~~
  977. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  978. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  979. unique_lock(mutex_type& __m, try_to_lock_t)
  980. ^~~~~~~~~~~
  981. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  982. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  983. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  984. ^~~~~~~~~~~
  985. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  986. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  987. explicit unique_lock(mutex_type& __m)
  988. ^~~~~~~~~~~
  989. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  990. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  991. unique_lock() noexcept
  992. ^~~~~~~~~~~
  993. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  994. [ 26%] Building CXX object src/CMakeFiles/minetest.dir/client/tile.cpp.obj
  995. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  996. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  997. /tmp/spheretest/minetest/src/network/connection.h: In member function ‘std::__cxx11::list<short unsigned int> con::Connection::getPeerIDs()’:
  998. /tmp/spheretest/minetest/src/network/connection.h:1046:39: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  999. MutexAutoLock peerlock(m_peers_mutex);
  1000. ^
  1001. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1002. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1003. from /tmp/spheretest/minetest/src/util/container.h:26,
  1004. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1005. from /tmp/spheretest/minetest/src/server.h:23,
  1006. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1007. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1008. unique_lock(unique_lock&& __u) noexcept
  1009. ^~~~~~~~~~~
  1010. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1011. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1012. unique_lock(mutex_type& __m,
  1013. ^~~~~~~~~~~
  1014. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1015. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  1016. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1017. /tmp/spheretest/minetest/src/network/connection.h:1046:39: note: candidate expects 2 arguments, 1 provided
  1018. MutexAutoLock peerlock(m_peers_mutex);
  1019. ^
  1020. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1021. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1022. from /tmp/spheretest/minetest/src/util/container.h:26,
  1023. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1024. from /tmp/spheretest/minetest/src/server.h:23,
  1025. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1026. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1027. unique_lock(mutex_type& __m,
  1028. ^~~~~~~~~~~
  1029. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1030. In file included from /tmp/spheretest/minetest/src/server.h:23:0,
  1031. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1032. /tmp/spheretest/minetest/src/network/connection.h:1046:39: note: candidate expects 2 arguments, 1 provided
  1033. MutexAutoLock peerlock(m_peers_mutex);
  1034. ^
  1035. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1036. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1037. from /tmp/spheretest/minetest/src/util/container.h:26,
  1038. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1039. from /tmp/spheretest/minetest/src/server.h:23,
  1040. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1041. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1042. unique_lock(mutex_type& __m, adopt_lock_t)
  1043. ^~~~~~~~~~~
  1044. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1045. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1046. unique_lock(mutex_type& __m, try_to_lock_t)
  1047. ^~~~~~~~~~~
  1048. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1049. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1050. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1051. ^~~~~~~~~~~
  1052. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1053. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1054. explicit unique_lock(mutex_type& __m)
  1055. ^~~~~~~~~~~
  1056. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1057. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1058. unique_lock() noexcept
  1059. ^~~~~~~~~~~
  1060. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1061. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1062. /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::add(const string&, float)’:
  1063. /tmp/spheretest/minetest/src/profiler.h:52:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1064. MutexAutoLock lock(m_mutex);
  1065. ^
  1066. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1067. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1068. from /tmp/spheretest/minetest/src/util/container.h:26,
  1069. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1070. from /tmp/spheretest/minetest/src/server.h:23,
  1071. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1072. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1073. unique_lock(unique_lock&& __u) noexcept
  1074. ^~~~~~~~~~~
  1075. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1076. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1077. unique_lock(mutex_type& __m,
  1078. ^~~~~~~~~~~
  1079. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1080. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1081. /tmp/spheretest/minetest/src/profiler.h:52:29: note: candidate expects 2 arguments, 1 provided
  1082. MutexAutoLock lock(m_mutex);
  1083. ^
  1084. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1085. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1086. from /tmp/spheretest/minetest/src/util/container.h:26,
  1087. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1088. from /tmp/spheretest/minetest/src/server.h:23,
  1089. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1090. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1091. unique_lock(mutex_type& __m,
  1092. ^~~~~~~~~~~
  1093. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1094. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1095. /tmp/spheretest/minetest/src/profiler.h:52:29: note: candidate expects 2 arguments, 1 provided
  1096. MutexAutoLock lock(m_mutex);
  1097. ^
  1098. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1099. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1100. from /tmp/spheretest/minetest/src/util/container.h:26,
  1101. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1102. from /tmp/spheretest/minetest/src/server.h:23,
  1103. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1104. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1105. unique_lock(mutex_type& __m, adopt_lock_t)
  1106. ^~~~~~~~~~~
  1107. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1108. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1109. unique_lock(mutex_type& __m, try_to_lock_t)
  1110. ^~~~~~~~~~~
  1111. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1112. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1113. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1114. ^~~~~~~~~~~
  1115. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1116. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1117. explicit unique_lock(mutex_type& __m)
  1118. ^~~~~~~~~~~
  1119. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1120. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1121. unique_lock() noexcept
  1122. ^~~~~~~~~~~
  1123. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1124. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1125. /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::avg(const string&, float)’:
  1126. /tmp/spheretest/minetest/src/profiler.h:75:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1127. MutexAutoLock lock(m_mutex);
  1128. ^
  1129. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1130. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1131. from /tmp/spheretest/minetest/src/util/container.h:26,
  1132. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1133. from /tmp/spheretest/minetest/src/server.h:23,
  1134. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1135. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1136. unique_lock(unique_lock&& __u) noexcept
  1137. ^~~~~~~~~~~
  1138. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1139. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1140. unique_lock(mutex_type& __m,
  1141. ^~~~~~~~~~~
  1142. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1143. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1144. /tmp/spheretest/minetest/src/profiler.h:75:29: note: candidate expects 2 arguments, 1 provided
  1145. MutexAutoLock lock(m_mutex);
  1146. ^
  1147. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1148. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1149. from /tmp/spheretest/minetest/src/util/container.h:26,
  1150. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1151. from /tmp/spheretest/minetest/src/server.h:23,
  1152. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1153. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1154. unique_lock(mutex_type& __m,
  1155. ^~~~~~~~~~~
  1156. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1157. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1158. /tmp/spheretest/minetest/src/profiler.h:75:29: note: candidate expects 2 arguments, 1 provided
  1159. MutexAutoLock lock(m_mutex);
  1160. ^
  1161. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1162. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1163. from /tmp/spheretest/minetest/src/util/container.h:26,
  1164. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1165. from /tmp/spheretest/minetest/src/server.h:23,
  1166. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1167. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1168. unique_lock(mutex_type& __m, adopt_lock_t)
  1169. ^~~~~~~~~~~
  1170. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1171. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1172. unique_lock(mutex_type& __m, try_to_lock_t)
  1173. ^~~~~~~~~~~
  1174. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1175. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1176. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1177. ^~~~~~~~~~~
  1178. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1179. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1180. explicit unique_lock(mutex_type& __m)
  1181. ^~~~~~~~~~~
  1182. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1183. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1184. unique_lock() noexcept
  1185. ^~~~~~~~~~~
  1186. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1187. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1188. /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::clear()’:
  1189. /tmp/spheretest/minetest/src/profiler.h:85:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1190. MutexAutoLock lock(m_mutex);
  1191. ^
  1192. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1193. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1194. from /tmp/spheretest/minetest/src/util/container.h:26,
  1195. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1196. from /tmp/spheretest/minetest/src/server.h:23,
  1197. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1198. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1199. unique_lock(unique_lock&& __u) noexcept
  1200. ^~~~~~~~~~~
  1201. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1202. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1203. unique_lock(mutex_type& __m,
  1204. ^~~~~~~~~~~
  1205. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1206. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1207. /tmp/spheretest/minetest/src/profiler.h:85:29: note: candidate expects 2 arguments, 1 provided
  1208. MutexAutoLock lock(m_mutex);
  1209. ^
  1210. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1211. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1212. from /tmp/spheretest/minetest/src/util/container.h:26,
  1213. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1214. from /tmp/spheretest/minetest/src/server.h:23,
  1215. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1216. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1217. unique_lock(mutex_type& __m,
  1218. ^~~~~~~~~~~
  1219. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1220. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1221. /tmp/spheretest/minetest/src/profiler.h:85:29: note: candidate expects 2 arguments, 1 provided
  1222. MutexAutoLock lock(m_mutex);
  1223. ^
  1224. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1225. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1226. from /tmp/spheretest/minetest/src/util/container.h:26,
  1227. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1228. from /tmp/spheretest/minetest/src/server.h:23,
  1229. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1230. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1231. unique_lock(mutex_type& __m, adopt_lock_t)
  1232. ^~~~~~~~~~~
  1233. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1234. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1235. unique_lock(mutex_type& __m, try_to_lock_t)
  1236. ^~~~~~~~~~~
  1237. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1238. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1239. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1240. ^~~~~~~~~~~
  1241. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1242. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1243. explicit unique_lock(mutex_type& __m)
  1244. ^~~~~~~~~~~
  1245. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1246. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1247. unique_lock() noexcept
  1248. ^~~~~~~~~~~
  1249. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1250. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1251. /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::printPage(std::ostream&, irr::u32, irr::u32)’:
  1252. /tmp/spheretest/minetest/src/profiler.h:117:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1253. MutexAutoLock lock(m_mutex);
  1254. ^
  1255. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1256. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1257. from /tmp/spheretest/minetest/src/util/container.h:26,
  1258. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1259. from /tmp/spheretest/minetest/src/server.h:23,
  1260. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1261. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1262. unique_lock(unique_lock&& __u) noexcept
  1263. ^~~~~~~~~~~
  1264. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1265. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1266. unique_lock(mutex_type& __m,
  1267. ^~~~~~~~~~~
  1268. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1269. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1270. /tmp/spheretest/minetest/src/profiler.h:117:29: note: candidate expects 2 arguments, 1 provided
  1271. MutexAutoLock lock(m_mutex);
  1272. ^
  1273. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1274. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1275. from /tmp/spheretest/minetest/src/util/container.h:26,
  1276. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1277. from /tmp/spheretest/minetest/src/server.h:23,
  1278. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1279. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1280. unique_lock(mutex_type& __m,
  1281. ^~~~~~~~~~~
  1282. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1283. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1284. /tmp/spheretest/minetest/src/profiler.h:117:29: note: candidate expects 2 arguments, 1 provided
  1285. MutexAutoLock lock(m_mutex);
  1286. ^
  1287. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1288. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1289. from /tmp/spheretest/minetest/src/util/container.h:26,
  1290. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1291. from /tmp/spheretest/minetest/src/server.h:23,
  1292. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1293. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1294. unique_lock(mutex_type& __m, adopt_lock_t)
  1295. ^~~~~~~~~~~
  1296. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1297. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1298. unique_lock(mutex_type& __m, try_to_lock_t)
  1299. ^~~~~~~~~~~
  1300. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1301. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1302. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1303. ^~~~~~~~~~~
  1304. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1305. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1306. explicit unique_lock(mutex_type& __m)
  1307. ^~~~~~~~~~~
  1308. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1309. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1310. unique_lock() noexcept
  1311. ^~~~~~~~~~~
  1312. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1313. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1314. /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::graphAdd(const string&, float)’:
  1315. /tmp/spheretest/minetest/src/profiler.h:162:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1316. MutexAutoLock lock(m_mutex);
  1317. ^
  1318. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1319. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1320. from /tmp/spheretest/minetest/src/util/container.h:26,
  1321. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1322. from /tmp/spheretest/minetest/src/server.h:23,
  1323. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1324. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1325. unique_lock(unique_lock&& __u) noexcept
  1326. ^~~~~~~~~~~
  1327. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1328. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1329. unique_lock(mutex_type& __m,
  1330. ^~~~~~~~~~~
  1331. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1332. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1333. /tmp/spheretest/minetest/src/profiler.h:162:29: note: candidate expects 2 arguments, 1 provided
  1334. MutexAutoLock lock(m_mutex);
  1335. ^
  1336. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1337. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1338. from /tmp/spheretest/minetest/src/util/container.h:26,
  1339. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1340. from /tmp/spheretest/minetest/src/server.h:23,
  1341. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1342. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1343. unique_lock(mutex_type& __m,
  1344. ^~~~~~~~~~~
  1345. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1346. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1347. /tmp/spheretest/minetest/src/profiler.h:162:29: note: candidate expects 2 arguments, 1 provided
  1348. MutexAutoLock lock(m_mutex);
  1349. ^
  1350. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1351. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1352. from /tmp/spheretest/minetest/src/util/container.h:26,
  1353. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1354. from /tmp/spheretest/minetest/src/server.h:23,
  1355. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1356. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1357. unique_lock(mutex_type& __m, adopt_lock_t)
  1358. ^~~~~~~~~~~
  1359. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1360. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1361. unique_lock(mutex_type& __m, try_to_lock_t)
  1362. ^~~~~~~~~~~
  1363. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1364. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1365. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1366. ^~~~~~~~~~~
  1367. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1368. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1369. explicit unique_lock(mutex_type& __m)
  1370. ^~~~~~~~~~~
  1371. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1372. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1373. unique_lock() noexcept
  1374. ^~~~~~~~~~~
  1375. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1376. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1377. /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::graphGet(Profiler::GraphValues&)’:
  1378. /tmp/spheretest/minetest/src/profiler.h:172:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1379. MutexAutoLock lock(m_mutex);
  1380. ^
  1381. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1382. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1383. from /tmp/spheretest/minetest/src/util/container.h:26,
  1384. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1385. from /tmp/spheretest/minetest/src/server.h:23,
  1386. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1387. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1388. unique_lock(unique_lock&& __u) noexcept
  1389. ^~~~~~~~~~~
  1390. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1391. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1392. unique_lock(mutex_type& __m,
  1393. ^~~~~~~~~~~
  1394. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1395. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1396. /tmp/spheretest/minetest/src/profiler.h:172:29: note: candidate expects 2 arguments, 1 provided
  1397. MutexAutoLock lock(m_mutex);
  1398. ^
  1399. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1400. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1401. from /tmp/spheretest/minetest/src/util/container.h:26,
  1402. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1403. from /tmp/spheretest/minetest/src/server.h:23,
  1404. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1405. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1406. unique_lock(mutex_type& __m,
  1407. ^~~~~~~~~~~
  1408. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1409. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1410. /tmp/spheretest/minetest/src/profiler.h:172:29: note: candidate expects 2 arguments, 1 provided
  1411. MutexAutoLock lock(m_mutex);
  1412. ^
  1413. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1414. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1415. from /tmp/spheretest/minetest/src/util/container.h:26,
  1416. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1417. from /tmp/spheretest/minetest/src/server.h:23,
  1418. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1419. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1420. unique_lock(mutex_type& __m, adopt_lock_t)
  1421. ^~~~~~~~~~~
  1422. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1423. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1424. unique_lock(mutex_type& __m, try_to_lock_t)
  1425. ^~~~~~~~~~~
  1426. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1427. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1428. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1429. ^~~~~~~~~~~
  1430. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1431. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1432. explicit unique_lock(mutex_type& __m)
  1433. ^~~~~~~~~~~
  1434. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1435. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1436. unique_lock() noexcept
  1437. ^~~~~~~~~~~
  1438. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1439. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1440. /tmp/spheretest/minetest/src/profiler.h: In member function ‘void Profiler::remove(const string&)’:
  1441. /tmp/spheretest/minetest/src/profiler.h:179:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1442. MutexAutoLock lock(m_mutex);
  1443. ^
  1444. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1445. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1446. from /tmp/spheretest/minetest/src/util/container.h:26,
  1447. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1448. from /tmp/spheretest/minetest/src/server.h:23,
  1449. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1450. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1451. unique_lock(unique_lock&& __u) noexcept
  1452. ^~~~~~~~~~~
  1453. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1454. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1455. unique_lock(mutex_type& __m,
  1456. ^~~~~~~~~~~
  1457. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1458. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1459. /tmp/spheretest/minetest/src/profiler.h:179:29: note: candidate expects 2 arguments, 1 provided
  1460. MutexAutoLock lock(m_mutex);
  1461. ^
  1462. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1463. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1464. from /tmp/spheretest/minetest/src/util/container.h:26,
  1465. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1466. from /tmp/spheretest/minetest/src/server.h:23,
  1467. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1468. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1469. unique_lock(mutex_type& __m,
  1470. ^~~~~~~~~~~
  1471. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1472. In file included from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:29:0:
  1473. /tmp/spheretest/minetest/src/profiler.h:179:29: note: candidate expects 2 arguments, 1 provided
  1474. MutexAutoLock lock(m_mutex);
  1475. ^
  1476. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1477. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1478. from /tmp/spheretest/minetest/src/util/container.h:26,
  1479. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1480. from /tmp/spheretest/minetest/src/server.h:23,
  1481. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1482. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1483. unique_lock(mutex_type& __m, adopt_lock_t)
  1484. ^~~~~~~~~~~
  1485. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1486. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1487. unique_lock(mutex_type& __m, try_to_lock_t)
  1488. ^~~~~~~~~~~
  1489. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1490. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1491. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1492. ^~~~~~~~~~~
  1493. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1494. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1495. explicit unique_lock(mutex_type& __m)
  1496. ^~~~~~~~~~~
  1497. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1498. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1499. unique_lock() noexcept
  1500. ^~~~~~~~~~~
  1501. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1502. In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
  1503. from /tmp/spheretest/minetest/src/server.h:23,
  1504. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1505. /tmp/spheretest/minetest/src/util/thread.h: In instantiation of ‘void MutexedVariable<T>::set(T) [with T = std::__cxx11::basic_string<char>]’:
  1506. /tmp/spheretest/minetest/src/server.h:333:35: required from here
  1507. /tmp/spheretest/minetest/src/util/thread.h:45:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1508. MutexAutoLock lock(m_mutex);
  1509. ^
  1510. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1511. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1512. from /tmp/spheretest/minetest/src/util/container.h:26,
  1513. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1514. from /tmp/spheretest/minetest/src/server.h:23,
  1515. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1516. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1517. unique_lock(unique_lock&& __u) noexcept
  1518. ^~~~~~~~~~~
  1519. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1520. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1521. unique_lock(mutex_type& __m,
  1522. ^~~~~~~~~~~
  1523. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1524. In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
  1525. from /tmp/spheretest/minetest/src/server.h:23,
  1526. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1527. /tmp/spheretest/minetest/src/util/thread.h:45:29: note: candidate expects 2 arguments, 1 provided
  1528. MutexAutoLock lock(m_mutex);
  1529. ^
  1530. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1531. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1532. from /tmp/spheretest/minetest/src/util/container.h:26,
  1533. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1534. from /tmp/spheretest/minetest/src/server.h:23,
  1535. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1536. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1537. unique_lock(mutex_type& __m,
  1538. ^~~~~~~~~~~
  1539. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1540. In file included from /tmp/spheretest/minetest/src/network/connection.h:30:0,
  1541. from /tmp/spheretest/minetest/src/server.h:23,
  1542. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1543. /tmp/spheretest/minetest/src/util/thread.h:45:29: note: candidate expects 2 arguments, 1 provided
  1544. MutexAutoLock lock(m_mutex);
  1545. ^
  1546. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1547. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1548. from /tmp/spheretest/minetest/src/util/container.h:26,
  1549. from /tmp/spheretest/minetest/src/network/connection.h:29,
  1550. from /tmp/spheretest/minetest/src/server.h:23,
  1551. from /tmp/spheretest/minetest/src/client/clientlauncher.cpp:23:
  1552. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1553. unique_lock(mutex_type& __m, adopt_lock_t)
  1554. ^~~~~~~~~~~
  1555. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1556. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1557. unique_lock(mutex_type& __m, try_to_lock_t)
  1558. ^~~~~~~~~~~
  1559. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1560. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1561. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1562. ^~~~~~~~~~~
  1563. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1564. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1565. explicit unique_lock(mutex_type& __m)
  1566. ^~~~~~~~~~~
  1567. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1568. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1569. unique_lock() noexcept
  1570. ^~~~~~~~~~~
  1571. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1572. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
  1573. /tmp/spheretest/minetest/src/util/thread.h: In member function ‘MutexAutoLock* MutexedVariable<T>::getLock()’:
  1574. /tmp/spheretest/minetest/src/util/thread.h:52:35: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1575. return new MutexAutoLock(m_mutex);
  1576. ^
  1577. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1578. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1579. from /tmp/spheretest/minetest/src/util/container.h:26,
  1580. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1581. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1582. unique_lock(unique_lock&& __u) noexcept
  1583. ^~~~~~~~~~~
  1584. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1585. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1586. unique_lock(mutex_type& __m,
  1587. ^~~~~~~~~~~
  1588. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1589. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
  1590. /tmp/spheretest/minetest/src/util/thread.h:52:35: note: candidate expects 2 arguments, 1 provided
  1591. return new MutexAutoLock(m_mutex);
  1592. ^
  1593. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1594. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1595. from /tmp/spheretest/minetest/src/util/container.h:26,
  1596. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1597. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1598. unique_lock(mutex_type& __m,
  1599. ^~~~~~~~~~~
  1600. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1601. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
  1602. /tmp/spheretest/minetest/src/util/thread.h:52:35: note: candidate expects 2 arguments, 1 provided
  1603. return new MutexAutoLock(m_mutex);
  1604. ^
  1605. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1606. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1607. from /tmp/spheretest/minetest/src/util/container.h:26,
  1608. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1609. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1610. unique_lock(mutex_type& __m, adopt_lock_t)
  1611. ^~~~~~~~~~~
  1612. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1613. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1614. unique_lock(mutex_type& __m, try_to_lock_t)
  1615. ^~~~~~~~~~~
  1616. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1617. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1618. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1619. ^~~~~~~~~~~
  1620. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1621. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1622. explicit unique_lock(mutex_type& __m)
  1623. ^~~~~~~~~~~
  1624. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1625. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1626. unique_lock() noexcept
  1627. ^~~~~~~~~~~
  1628. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1629. /tmp/spheretest/minetest/src/client/tile.cpp: In member function ‘virtual irr::u32 TextureSource::getTextureId(const string&)’:
  1630. /tmp/spheretest/minetest/src/client/tile.cpp:493:47: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1631. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1632. ^
  1633. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1634. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1635. from /tmp/spheretest/minetest/src/util/container.h:26,
  1636. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1637. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1638. unique_lock(unique_lock&& __u) noexcept
  1639. ^~~~~~~~~~~
  1640. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1641. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1642. unique_lock(mutex_type& __m,
  1643. ^~~~~~~~~~~
  1644. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1645. /tmp/spheretest/minetest/src/client/tile.cpp:493:47: note: candidate expects 2 arguments, 1 provided
  1646. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1647. ^
  1648. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1649. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1650. from /tmp/spheretest/minetest/src/util/container.h:26,
  1651. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1652. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1653. unique_lock(mutex_type& __m,
  1654. ^~~~~~~~~~~
  1655. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1656. /tmp/spheretest/minetest/src/client/tile.cpp:493:47: note: candidate expects 2 arguments, 1 provided
  1657. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1658. ^
  1659. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1660. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1661. from /tmp/spheretest/minetest/src/util/container.h:26,
  1662. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1663. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1664. unique_lock(mutex_type& __m, adopt_lock_t)
  1665. ^~~~~~~~~~~
  1666. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1667. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1668. unique_lock(mutex_type& __m, try_to_lock_t)
  1669. ^~~~~~~~~~~
  1670. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1671. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1672. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1673. ^~~~~~~~~~~
  1674. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1675. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1676. explicit unique_lock(mutex_type& __m)
  1677. ^~~~~~~~~~~
  1678. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1679. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1680. unique_lock() noexcept
  1681. ^~~~~~~~~~~
  1682. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1683. make[2]: *** [src/CMakeFiles/minetest.dir/build.make:68: src/CMakeFiles/minetest.dir/client/clientlauncher.cpp.obj] Error 1
  1684. make[2]: *** Waiting for unfinished jobs....
  1685. /tmp/spheretest/minetest/src/client/tile.cpp: In member function ‘irr::u32 TextureSource::generateTexture(const string&)’:
  1686. /tmp/spheretest/minetest/src/client/tile.cpp:598:47: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1687. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1688. ^
  1689. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1690. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1691. from /tmp/spheretest/minetest/src/util/container.h:26,
  1692. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1693. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1694. unique_lock(unique_lock&& __u) noexcept
  1695. ^~~~~~~~~~~
  1696. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1697. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1698. unique_lock(mutex_type& __m,
  1699. ^~~~~~~~~~~
  1700. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1701. /tmp/spheretest/minetest/src/client/tile.cpp:598:47: note: candidate expects 2 arguments, 1 provided
  1702. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1703. ^
  1704. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1705. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1706. from /tmp/spheretest/minetest/src/util/container.h:26,
  1707. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1708. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1709. unique_lock(mutex_type& __m,
  1710. ^~~~~~~~~~~
  1711. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1712. /tmp/spheretest/minetest/src/client/tile.cpp:598:47: note: candidate expects 2 arguments, 1 provided
  1713. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1714. ^
  1715. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1716. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1717. from /tmp/spheretest/minetest/src/util/container.h:26,
  1718. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1719. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1720. unique_lock(mutex_type& __m, adopt_lock_t)
  1721. ^~~~~~~~~~~
  1722. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1723. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1724. unique_lock(mutex_type& __m, try_to_lock_t)
  1725. ^~~~~~~~~~~
  1726. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1727. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1728. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1729. ^~~~~~~~~~~
  1730. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1731. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1732. explicit unique_lock(mutex_type& __m)
  1733. ^~~~~~~~~~~
  1734. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1735. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1736. unique_lock() noexcept
  1737. ^~~~~~~~~~~
  1738. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1739. /tmp/spheretest/minetest/src/client/tile.cpp:636:46: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1740. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1741. ^
  1742. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1743. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1744. from /tmp/spheretest/minetest/src/util/container.h:26,
  1745. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1746. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1747. unique_lock(unique_lock&& __u) noexcept
  1748. ^~~~~~~~~~~
  1749. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1750. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1751. unique_lock(mutex_type& __m,
  1752. ^~~~~~~~~~~
  1753. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1754. /tmp/spheretest/minetest/src/client/tile.cpp:636:46: note: candidate expects 2 arguments, 1 provided
  1755. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1756. ^
  1757. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1758. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1759. from /tmp/spheretest/minetest/src/util/container.h:26,
  1760. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1761. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1762. unique_lock(mutex_type& __m,
  1763. ^~~~~~~~~~~
  1764. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1765. /tmp/spheretest/minetest/src/client/tile.cpp:636:46: note: candidate expects 2 arguments, 1 provided
  1766. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1767. ^
  1768. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1769. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1770. from /tmp/spheretest/minetest/src/util/container.h:26,
  1771. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1772. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1773. unique_lock(mutex_type& __m, adopt_lock_t)
  1774. ^~~~~~~~~~~
  1775. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1776. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1777. unique_lock(mutex_type& __m, try_to_lock_t)
  1778. ^~~~~~~~~~~
  1779. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1780. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1781. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1782. ^~~~~~~~~~~
  1783. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1784. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1785. explicit unique_lock(mutex_type& __m)
  1786. ^~~~~~~~~~~
  1787. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1788. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1789. unique_lock() noexcept
  1790. ^~~~~~~~~~~
  1791. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1792. /tmp/spheretest/minetest/src/client/tile.cpp: In member function ‘virtual std::__cxx11::string TextureSource::getTextureName(irr::u32)’:
  1793. /tmp/spheretest/minetest/src/client/tile.cpp:648:46: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1794. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1795. ^
  1796. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1797. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1798. from /tmp/spheretest/minetest/src/util/container.h:26,
  1799. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1800. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1801. unique_lock(unique_lock&& __u) noexcept
  1802. ^~~~~~~~~~~
  1803. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1804. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1805. unique_lock(mutex_type& __m,
  1806. ^~~~~~~~~~~
  1807. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1808. /tmp/spheretest/minetest/src/client/tile.cpp:648:46: note: candidate expects 2 arguments, 1 provided
  1809. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1810. ^
  1811. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1812. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1813. from /tmp/spheretest/minetest/src/util/container.h:26,
  1814. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1815. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1816. unique_lock(mutex_type& __m,
  1817. ^~~~~~~~~~~
  1818. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1819. /tmp/spheretest/minetest/src/client/tile.cpp:648:46: note: candidate expects 2 arguments, 1 provided
  1820. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1821. ^
  1822. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1823. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1824. from /tmp/spheretest/minetest/src/util/container.h:26,
  1825. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1826. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1827. unique_lock(mutex_type& __m, adopt_lock_t)
  1828. ^~~~~~~~~~~
  1829. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1830. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1831. unique_lock(mutex_type& __m, try_to_lock_t)
  1832. ^~~~~~~~~~~
  1833. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1834. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1835. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1836. ^~~~~~~~~~~
  1837. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1838. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1839. explicit unique_lock(mutex_type& __m)
  1840. ^~~~~~~~~~~
  1841. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1842. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1843. unique_lock() noexcept
  1844. ^~~~~~~~~~~
  1845. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1846. /tmp/spheretest/minetest/src/client/tile.cpp: In member function ‘virtual irr::video::ITexture* TextureSource::getTexture(irr::u32)’:
  1847. /tmp/spheretest/minetest/src/client/tile.cpp:663:46: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1848. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1849. ^
  1850. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1851. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1852. from /tmp/spheretest/minetest/src/util/container.h:26,
  1853. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1854. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1855. unique_lock(unique_lock&& __u) noexcept
  1856. ^~~~~~~~~~~
  1857. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1858. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1859. unique_lock(mutex_type& __m,
  1860. ^~~~~~~~~~~
  1861. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1862. /tmp/spheretest/minetest/src/client/tile.cpp:663:46: note: candidate expects 2 arguments, 1 provided
  1863. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1864. ^
  1865. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1866. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1867. from /tmp/spheretest/minetest/src/util/container.h:26,
  1868. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1869. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1870. unique_lock(mutex_type& __m,
  1871. ^~~~~~~~~~~
  1872. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1873. /tmp/spheretest/minetest/src/client/tile.cpp:663:46: note: candidate expects 2 arguments, 1 provided
  1874. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1875. ^
  1876. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1877. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1878. from /tmp/spheretest/minetest/src/util/container.h:26,
  1879. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1880. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1881. unique_lock(mutex_type& __m, adopt_lock_t)
  1882. ^~~~~~~~~~~
  1883. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1884. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1885. unique_lock(mutex_type& __m, try_to_lock_t)
  1886. ^~~~~~~~~~~
  1887. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1888. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1889. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1890. ^~~~~~~~~~~
  1891. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1892. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1893. explicit unique_lock(mutex_type& __m)
  1894. ^~~~~~~~~~~
  1895. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1896. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1897. unique_lock() noexcept
  1898. ^~~~~~~~~~~
  1899. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1900. /tmp/spheretest/minetest/src/client/tile.cpp: In member function ‘virtual void TextureSource::rebuildImagesAndTextures()’:
  1901. /tmp/spheretest/minetest/src/client/tile.cpp:717:46: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1902. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1903. ^
  1904. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1905. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1906. from /tmp/spheretest/minetest/src/util/container.h:26,
  1907. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1908. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1909. unique_lock(unique_lock&& __u) noexcept
  1910. ^~~~~~~~~~~
  1911. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1912. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1913. unique_lock(mutex_type& __m,
  1914. ^~~~~~~~~~~
  1915. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1916. /tmp/spheretest/minetest/src/client/tile.cpp:717:46: note: candidate expects 2 arguments, 1 provided
  1917. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1918. ^
  1919. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1920. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1921. from /tmp/spheretest/minetest/src/util/container.h:26,
  1922. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1923. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1924. unique_lock(mutex_type& __m,
  1925. ^~~~~~~~~~~
  1926. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1927. /tmp/spheretest/minetest/src/client/tile.cpp:717:46: note: candidate expects 2 arguments, 1 provided
  1928. MutexAutoLock lock(m_textureinfo_cache_mutex);
  1929. ^
  1930. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1931. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1932. from /tmp/spheretest/minetest/src/util/container.h:26,
  1933. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1934. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1935. unique_lock(mutex_type& __m, adopt_lock_t)
  1936. ^~~~~~~~~~~
  1937. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1938. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1939. unique_lock(mutex_type& __m, try_to_lock_t)
  1940. ^~~~~~~~~~~
  1941. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  1942. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1943. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  1944. ^~~~~~~~~~~
  1945. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  1946. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1947. explicit unique_lock(mutex_type& __m)
  1948. ^~~~~~~~~~~
  1949. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  1950. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  1951. unique_lock() noexcept
  1952. ^~~~~~~~~~~
  1953. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  1954. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  1955. /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘bool MutexedMap<Key, Value>::get(const Key&, Value*) const [with Key = std::__cxx11::basic_string<char>; Value = std::__cxx11::basic_string<char>]’:
  1956. /tmp/spheretest/minetest/src/client/tile.cpp:130:68: required from here
  1957. /tmp/spheretest/minetest/src/util/container.h:94:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  1958. MutexAutoLock lock(m_mutex);
  1959. ^
  1960. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1961. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1962. from /tmp/spheretest/minetest/src/util/container.h:26,
  1963. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1964. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  1965. unique_lock(unique_lock&& __u) noexcept
  1966. ^~~~~~~~~~~
  1967. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  1968. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  1969. unique_lock(mutex_type& __m,
  1970. ^~~~~~~~~~~
  1971. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  1972. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  1973. /tmp/spheretest/minetest/src/util/container.h:94:29: note: candidate expects 2 arguments, 1 provided
  1974. MutexAutoLock lock(m_mutex);
  1975. ^
  1976. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1977. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1978. from /tmp/spheretest/minetest/src/util/container.h:26,
  1979. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1980. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  1981. unique_lock(mutex_type& __m,
  1982. ^~~~~~~~~~~
  1983. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  1984. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  1985. /tmp/spheretest/minetest/src/util/container.h:94:29: note: candidate expects 2 arguments, 1 provided
  1986. MutexAutoLock lock(m_mutex);
  1987. ^
  1988. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  1989. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  1990. from /tmp/spheretest/minetest/src/util/container.h:26,
  1991. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  1992. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1993. unique_lock(mutex_type& __m, adopt_lock_t)
  1994. ^~~~~~~~~~~
  1995. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  1996. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  1997. unique_lock(mutex_type& __m, try_to_lock_t)
  1998. ^~~~~~~~~~~
  1999. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  2000. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2001. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  2002. ^~~~~~~~~~~
  2003. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  2004. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2005. explicit unique_lock(mutex_type& __m)
  2006. ^~~~~~~~~~~
  2007. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  2008. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  2009. unique_lock() noexcept
  2010. ^~~~~~~~~~~
  2011. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  2012. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2013. /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘void MutexedMap<Key, Value>::set(const Key&, const Value&) [with Key = std::__cxx11::basic_string<char>; Value = std::__cxx11::basic_string<char>]’:
  2014. /tmp/spheretest/minetest/src/client/tile.cpp:158:52: required from here
  2015. /tmp/spheretest/minetest/src/util/container.h:88:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  2016. MutexAutoLock lock(m_mutex);
  2017. ^
  2018. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2019. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2020. from /tmp/spheretest/minetest/src/util/container.h:26,
  2021. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2022. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  2023. unique_lock(unique_lock&& __u) noexcept
  2024. ^~~~~~~~~~~
  2025. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  2026. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  2027. unique_lock(mutex_type& __m,
  2028. ^~~~~~~~~~~
  2029. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  2030. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2031. /tmp/spheretest/minetest/src/util/container.h:88:29: note: candidate expects 2 arguments, 1 provided
  2032. MutexAutoLock lock(m_mutex);
  2033. ^
  2034. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2035. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2036. from /tmp/spheretest/minetest/src/util/container.h:26,
  2037. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2038. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  2039. unique_lock(mutex_type& __m,
  2040. ^~~~~~~~~~~
  2041. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  2042. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2043. /tmp/spheretest/minetest/src/util/container.h:88:29: note: candidate expects 2 arguments, 1 provided
  2044. MutexAutoLock lock(m_mutex);
  2045. ^
  2046. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2047. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2048. from /tmp/spheretest/minetest/src/util/container.h:26,
  2049. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2050. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2051. unique_lock(mutex_type& __m, adopt_lock_t)
  2052. ^~~~~~~~~~~
  2053. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  2054. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2055. unique_lock(mutex_type& __m, try_to_lock_t)
  2056. ^~~~~~~~~~~
  2057. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  2058. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2059. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  2060. ^~~~~~~~~~~
  2061. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  2062. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2063. explicit unique_lock(mutex_type& __m)
  2064. ^~~~~~~~~~~
  2065. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  2066. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  2067. unique_lock() noexcept
  2068. ^~~~~~~~~~~
  2069. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  2070. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2071. /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘bool MutexedMap<Key, Value>::get(const Key&, Value*) const [with Key = std::__cxx11::basic_string<char>; Value = bool]’:
  2072. /tmp/spheretest/minetest/src/client/tile.cpp:354:66: required from here
  2073. /tmp/spheretest/minetest/src/util/container.h:94:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  2074. MutexAutoLock lock(m_mutex);
  2075. ^
  2076. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2077. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2078. from /tmp/spheretest/minetest/src/util/container.h:26,
  2079. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2080. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  2081. unique_lock(unique_lock&& __u) noexcept
  2082. ^~~~~~~~~~~
  2083. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  2084. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  2085. unique_lock(mutex_type& __m,
  2086. ^~~~~~~~~~~
  2087. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  2088. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2089. /tmp/spheretest/minetest/src/util/container.h:94:29: note: candidate expects 2 arguments, 1 provided
  2090. MutexAutoLock lock(m_mutex);
  2091. ^
  2092. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2093. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2094. from /tmp/spheretest/minetest/src/util/container.h:26,
  2095. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2096. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  2097. unique_lock(mutex_type& __m,
  2098. ^~~~~~~~~~~
  2099. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  2100. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2101. /tmp/spheretest/minetest/src/util/container.h:94:29: note: candidate expects 2 arguments, 1 provided
  2102. MutexAutoLock lock(m_mutex);
  2103. ^
  2104. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2105. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2106. from /tmp/spheretest/minetest/src/util/container.h:26,
  2107. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2108. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2109. unique_lock(mutex_type& __m, adopt_lock_t)
  2110. ^~~~~~~~~~~
  2111. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  2112. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2113. unique_lock(mutex_type& __m, try_to_lock_t)
  2114. ^~~~~~~~~~~
  2115. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  2116. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2117. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  2118. ^~~~~~~~~~~
  2119. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  2120. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2121. explicit unique_lock(mutex_type& __m)
  2122. ^~~~~~~~~~~
  2123. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  2124. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  2125. unique_lock() noexcept
  2126. ^~~~~~~~~~~
  2127. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  2128. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2129. /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘void MutexedMap<Key, Value>::set(const Key&, const Value&) [with Key = std::__cxx11::basic_string<char>; Value = bool]’:
  2130. /tmp/spheretest/minetest/src/client/tile.cpp:359:46: required from here
  2131. /tmp/spheretest/minetest/src/util/container.h:88:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  2132. MutexAutoLock lock(m_mutex);
  2133. ^
  2134. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2135. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2136. from /tmp/spheretest/minetest/src/util/container.h:26,
  2137. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2138. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  2139. unique_lock(unique_lock&& __u) noexcept
  2140. ^~~~~~~~~~~
  2141. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  2142. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  2143. unique_lock(mutex_type& __m,
  2144. ^~~~~~~~~~~
  2145. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  2146. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2147. /tmp/spheretest/minetest/src/util/container.h:88:29: note: candidate expects 2 arguments, 1 provided
  2148. MutexAutoLock lock(m_mutex);
  2149. ^
  2150. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2151. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2152. from /tmp/spheretest/minetest/src/util/container.h:26,
  2153. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2154. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  2155. unique_lock(mutex_type& __m,
  2156. ^~~~~~~~~~~
  2157. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  2158. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2159. /tmp/spheretest/minetest/src/util/container.h:88:29: note: candidate expects 2 arguments, 1 provided
  2160. MutexAutoLock lock(m_mutex);
  2161. ^
  2162. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2163. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2164. from /tmp/spheretest/minetest/src/util/container.h:26,
  2165. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2166. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2167. unique_lock(mutex_type& __m, adopt_lock_t)
  2168. ^~~~~~~~~~~
  2169. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  2170. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2171. unique_lock(mutex_type& __m, try_to_lock_t)
  2172. ^~~~~~~~~~~
  2173. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  2174. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2175. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  2176. ^~~~~~~~~~~
  2177. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  2178. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2179. explicit unique_lock(mutex_type& __m)
  2180. ^~~~~~~~~~~
  2181. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  2182. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  2183. unique_lock() noexcept
  2184. ^~~~~~~~~~~
  2185. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  2186. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
  2187. /tmp/spheretest/minetest/src/util/thread.h: In instantiation of ‘void RequestQueue<Key, T, Caller, CallerData>::add(Key, Caller, CallerData, ResultQueue<Key, T, Caller, CallerData>*) [with Key = std::__cxx11::basic_string<char>; T = unsigned int; Caller = unsigned char; CallerData = unsigned char]’:
  2188. /tmp/spheretest/minetest/src/client/tile.cpp:517:52: required from here
  2189. /tmp/spheretest/minetest/src/util/thread.h:121:41: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  2190. MutexAutoLock lock(m_queue.getMutex());
  2191. ^
  2192. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2193. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2194. from /tmp/spheretest/minetest/src/util/container.h:26,
  2195. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2196. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  2197. unique_lock(unique_lock&& __u) noexcept
  2198. ^~~~~~~~~~~
  2199. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  2200. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  2201. unique_lock(mutex_type& __m,
  2202. ^~~~~~~~~~~
  2203. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  2204. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
  2205. /tmp/spheretest/minetest/src/util/thread.h:121:41: note: candidate expects 2 arguments, 1 provided
  2206. MutexAutoLock lock(m_queue.getMutex());
  2207. ^
  2208. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2209. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2210. from /tmp/spheretest/minetest/src/util/container.h:26,
  2211. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2212. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  2213. unique_lock(mutex_type& __m,
  2214. ^~~~~~~~~~~
  2215. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  2216. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:25:0:
  2217. /tmp/spheretest/minetest/src/util/thread.h:121:41: note: candidate expects 2 arguments, 1 provided
  2218. MutexAutoLock lock(m_queue.getMutex());
  2219. ^
  2220. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2221. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2222. from /tmp/spheretest/minetest/src/util/container.h:26,
  2223. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2224. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2225. unique_lock(mutex_type& __m, adopt_lock_t)
  2226. ^~~~~~~~~~~
  2227. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  2228. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2229. unique_lock(mutex_type& __m, try_to_lock_t)
  2230. ^~~~~~~~~~~
  2231. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  2232. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2233. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  2234. ^~~~~~~~~~~
  2235. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  2236. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2237. explicit unique_lock(mutex_type& __m)
  2238. ^~~~~~~~~~~
  2239. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  2240. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  2241. unique_lock() noexcept
  2242. ^~~~~~~~~~~
  2243. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  2244. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2245. /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘T MutexedQueue<T>::pop_front(irr::u32) [with T = GetResult<std::__cxx11::basic_string<char>, unsigned int, unsigned char, unsigned char>; irr::u32 = unsigned int]’:
  2246. /tmp/spheretest/minetest/src/client/tile.cpp:527:42: required from here
  2247. /tmp/spheretest/minetest/src/util/container.h:166:30: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  2248. MutexAutoLock lock(m_mutex);
  2249. ^
  2250. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2251. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2252. from /tmp/spheretest/minetest/src/util/container.h:26,
  2253. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2254. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  2255. unique_lock(unique_lock&& __u) noexcept
  2256. ^~~~~~~~~~~
  2257. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  2258. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  2259. unique_lock(mutex_type& __m,
  2260. ^~~~~~~~~~~
  2261. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  2262. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2263. /tmp/spheretest/minetest/src/util/container.h:166:30: note: candidate expects 2 arguments, 1 provided
  2264. MutexAutoLock lock(m_mutex);
  2265. ^
  2266. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2267. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2268. from /tmp/spheretest/minetest/src/util/container.h:26,
  2269. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2270. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  2271. unique_lock(mutex_type& __m,
  2272. ^~~~~~~~~~~
  2273. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  2274. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2275. /tmp/spheretest/minetest/src/util/container.h:166:30: note: candidate expects 2 arguments, 1 provided
  2276. MutexAutoLock lock(m_mutex);
  2277. ^
  2278. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2279. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2280. from /tmp/spheretest/minetest/src/util/container.h:26,
  2281. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2282. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2283. unique_lock(mutex_type& __m, adopt_lock_t)
  2284. ^~~~~~~~~~~
  2285. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  2286. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2287. unique_lock(mutex_type& __m, try_to_lock_t)
  2288. ^~~~~~~~~~~
  2289. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  2290. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2291. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  2292. ^~~~~~~~~~~
  2293. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  2294. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2295. explicit unique_lock(mutex_type& __m)
  2296. ^~~~~~~~~~~
  2297. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  2298. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  2299. unique_lock() noexcept
  2300. ^~~~~~~~~~~
  2301. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  2302. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2303. /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘bool MutexedQueue<T>::empty() const [with T = GetRequest<std::__cxx11::basic_string<char>, unsigned int, unsigned char, unsigned char>]’:
  2304. /tmp/spheretest/minetest/src/util/thread.h:111:24: required from ‘bool RequestQueue<Key, T, Caller, CallerData>::empty() [with Key = std::__cxx11::basic_string<char>; T = unsigned int; Caller = unsigned char; CallerData = unsigned char]’
  2305. /tmp/spheretest/minetest/src/client/tile.cpp:691:33: required from here
  2306. /tmp/spheretest/minetest/src/util/container.h:136:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  2307. MutexAutoLock lock(m_mutex);
  2308. ^
  2309. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2310. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2311. from /tmp/spheretest/minetest/src/util/container.h:26,
  2312. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2313. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  2314. unique_lock(unique_lock&& __u) noexcept
  2315. ^~~~~~~~~~~
  2316. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  2317. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  2318. unique_lock(mutex_type& __m,
  2319. ^~~~~~~~~~~
  2320. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  2321. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2322. /tmp/spheretest/minetest/src/util/container.h:136:29: note: candidate expects 2 arguments, 1 provided
  2323. MutexAutoLock lock(m_mutex);
  2324. ^
  2325. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2326. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2327. from /tmp/spheretest/minetest/src/util/container.h:26,
  2328. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2329. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  2330. unique_lock(mutex_type& __m,
  2331. ^~~~~~~~~~~
  2332. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  2333. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2334. /tmp/spheretest/minetest/src/util/container.h:136:29: note: candidate expects 2 arguments, 1 provided
  2335. MutexAutoLock lock(m_mutex);
  2336. ^
  2337. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2338. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2339. from /tmp/spheretest/minetest/src/util/container.h:26,
  2340. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2341. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2342. unique_lock(mutex_type& __m, adopt_lock_t)
  2343. ^~~~~~~~~~~
  2344. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  2345. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2346. unique_lock(mutex_type& __m, try_to_lock_t)
  2347. ^~~~~~~~~~~
  2348. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  2349. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2350. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  2351. ^~~~~~~~~~~
  2352. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  2353. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2354. explicit unique_lock(mutex_type& __m)
  2355. ^~~~~~~~~~~
  2356. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  2357. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  2358. unique_lock() noexcept
  2359. ^~~~~~~~~~~
  2360. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  2361. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2362. /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘T MutexedQueue<T>::pop_frontNoEx() [with T = GetRequest<std::__cxx11::basic_string<char>, unsigned int, unsigned char, unsigned char>]’:
  2363. /tmp/spheretest/minetest/src/util/thread.h:170:32: required from ‘GetRequest<Key, T, Caller, CallerData> RequestQueue<Key, T, Caller, CallerData>::pop() [with Key = std::__cxx11::basic_string<char>; T = unsigned int; Caller = unsigned char; CallerData = unsigned char]’
  2364. /tmp/spheretest/minetest/src/client/tile.cpp:694:39: required from here
  2365. /tmp/spheretest/minetest/src/util/container.h:180:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  2366. MutexAutoLock lock(m_mutex);
  2367. ^
  2368. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2369. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2370. from /tmp/spheretest/minetest/src/util/container.h:26,
  2371. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2372. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  2373. unique_lock(unique_lock&& __u) noexcept
  2374. ^~~~~~~~~~~
  2375. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  2376. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  2377. unique_lock(mutex_type& __m,
  2378. ^~~~~~~~~~~
  2379. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  2380. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2381. /tmp/spheretest/minetest/src/util/container.h:180:29: note: candidate expects 2 arguments, 1 provided
  2382. MutexAutoLock lock(m_mutex);
  2383. ^
  2384. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2385. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2386. from /tmp/spheretest/minetest/src/util/container.h:26,
  2387. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2388. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  2389. unique_lock(mutex_type& __m,
  2390. ^~~~~~~~~~~
  2391. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  2392. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2393. /tmp/spheretest/minetest/src/util/container.h:180:29: note: candidate expects 2 arguments, 1 provided
  2394. MutexAutoLock lock(m_mutex);
  2395. ^
  2396. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2397. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2398. from /tmp/spheretest/minetest/src/util/container.h:26,
  2399. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2400. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2401. unique_lock(mutex_type& __m, adopt_lock_t)
  2402. ^~~~~~~~~~~
  2403. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  2404. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2405. unique_lock(mutex_type& __m, try_to_lock_t)
  2406. ^~~~~~~~~~~
  2407. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  2408. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2409. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  2410. ^~~~~~~~~~~
  2411. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  2412. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2413. explicit unique_lock(mutex_type& __m)
  2414. ^~~~~~~~~~~
  2415. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  2416. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  2417. unique_lock() noexcept
  2418. ^~~~~~~~~~~
  2419. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  2420. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2421. /tmp/spheretest/minetest/src/util/container.h: In instantiation of ‘void MutexedQueue<T>::push_back(T) [with T = GetResult<std::__cxx11::basic_string<char>, unsigned int, unsigned char, unsigned char>]’:
  2422. /tmp/spheretest/minetest/src/util/thread.h:187:4: required from ‘void RequestQueue<Key, T, Caller, CallerData>::pushResult(GetRequest<Key, T, Caller, CallerData>, T) [with Key = std::__cxx11::basic_string<char>; T = unsigned int; Caller = unsigned char; CallerData = unsigned char]’
  2423. /tmp/spheretest/minetest/src/client/tile.cpp:701:71: required from here
  2424. /tmp/spheretest/minetest/src/util/container.h:142:29: error: no matching function for call to ‘std::unique_lock<std::mutex>::unique_lock(Mutex&)’
  2425. MutexAutoLock lock(m_mutex);
  2426. ^
  2427. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2428. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2429. from /tmp/spheretest/minetest/src/util/container.h:26,
  2430. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2431. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>&&) [with _Mutex = std::mutex]
  2432. unique_lock(unique_lock&& __u) noexcept
  2433. ^~~~~~~~~~~
  2434. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:238:7: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>&&’
  2435. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: candidate: template<class _Rep, class _Period> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::duration<_Rep, _Period>&)
  2436. unique_lock(mutex_type& __m,
  2437. ^~~~~~~~~~~
  2438. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:223:2: note: template argument deduction/substitution failed:
  2439. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2440. /tmp/spheretest/minetest/src/util/container.h:142:29: note: candidate expects 2 arguments, 1 provided
  2441. MutexAutoLock lock(m_mutex);
  2442. ^
  2443. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2444. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2445. from /tmp/spheretest/minetest/src/util/container.h:26,
  2446. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2447. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: candidate: template<class _Clock, class _Duration> std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, const std::chrono::time_point<_Clock, _Duration>&)
  2448. unique_lock(mutex_type& __m,
  2449. ^~~~~~~~~~~
  2450. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:216:2: note: template argument deduction/substitution failed:
  2451. In file included from /tmp/spheretest/minetest/src/client/tile.cpp:24:0:
  2452. /tmp/spheretest/minetest/src/util/container.h:142:29: note: candidate expects 2 arguments, 1 provided
  2453. MutexAutoLock lock(m_mutex);
  2454. ^
  2455. In file included from /usr/x86_64-w64-mingw32/include/c++/6.2.1/mutex:44:0,
  2456. from /tmp/spheretest/minetest/src/util/../threading/mutex_auto_lock.h:30,
  2457. from /tmp/spheretest/minetest/src/util/container.h:26,
  2458. from /tmp/spheretest/minetest/src/client/tile.cpp:24:
  2459. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::adopt_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2460. unique_lock(mutex_type& __m, adopt_lock_t)
  2461. ^~~~~~~~~~~
  2462. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:209:7: note: candidate expects 2 arguments, 1 provided
  2463. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::try_to_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2464. unique_lock(mutex_type& __m, try_to_lock_t)
  2465. ^~~~~~~~~~~
  2466. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:205:7: note: candidate expects 2 arguments, 1 provided
  2467. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&, std::defer_lock_t) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2468. unique_lock(mutex_type& __m, defer_lock_t) noexcept
  2469. ^~~~~~~~~~~
  2470. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:201:7: note: candidate expects 2 arguments, 1 provided
  2471. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: candidate: std::unique_lock<_Mutex>::unique_lock(std::unique_lock<_Mutex>::mutex_type&) [with _Mutex = std::mutex; std::unique_lock<_Mutex>::mutex_type = std::mutex]
  2472. explicit unique_lock(mutex_type& __m)
  2473. ^~~~~~~~~~~
  2474. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:194:16: note: no known conversion for argument 1 from ‘Mutex’ to ‘std::unique_lock<std::mutex>::mutex_type& {aka std::mutex&}’
  2475. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate: std::unique_lock<_Mutex>::unique_lock() [with _Mutex = std::mutex]
  2476. unique_lock() noexcept
  2477. ^~~~~~~~~~~
  2478. /usr/x86_64-w64-mingw32/include/c++/6.2.1/bits/std_mutex.h:190:7: note: candidate expects 0 arguments, 1 provided
  2479. make[2]: *** [src/CMakeFiles/minetest.dir/build.make:118: src/CMakeFiles/minetest.dir/client/tile.cpp.obj] Error 1
  2480. make[1]: *** [CMakeFiles/Makefile2:190: src/CMakeFiles/minetest.dir/all] Error 2
  2481. make: *** [Makefile:150: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement