Advertisement
silver2row

Many Errors on the build! npm install --global

Dec 23rd, 2022
1,359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. npm ERR! code 1
  2. npm ERR! path /home/debian/node-roboticscape
  3. npm ERR! command failed
  4. npm ERR! command sh -c node-gyp rebuild
  5. npm ERR! make: Entering directory '/home/debian/node-roboticscape/build'
  6. npm ERR!   CXX(target) Release/obj.target/roboticscape/rc-node-bindings.o
  7. npm ERR! make: Leaving directory '/home/debian/node-roboticscape/build'
  8. npm ERR! gyp info it worked if it ends with ok
  9. npm ERR! gyp info using node-gyp@9.3.1
  10. npm ERR! gyp info using node@12.22.12 | linux | arm
  11. npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
  12. npm ERR! gyp WARN EACCES current user ("debian") does not have permission to access the dev dir "/root/.cache/node-gyp/12.22.12"
  13. npm ERR! gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
  14. npm ERR! gyp http GET https://nodejs.org/download/release/v12.22.12/node-v12.22.12-headers.tar.gz
  15. npm ERR! gyp http 200 https://nodejs.org/download/release/v12.22.12/node-v12.22.12-headers.tar.gz
  16. npm ERR! gyp http GET https://nodejs.org/download/release/v12.22.12/SHASUMS256.txt
  17. npm ERR! gyp http 200 https://nodejs.org/download/release/v12.22.12/SHASUMS256.txt
  18. npm ERR! gyp info spawn /usr/bin/python3
  19. npm ERR! gyp info spawn args [
  20. npm ERR! gyp info spawn args   '/home/debian/node-roboticscape/node_modules/node-gyp/gyp/gyp_main.py',
  21. npm ERR! gyp info spawn args   'binding.gyp',
  22. npm ERR! gyp info spawn args   '-f',
  23. npm ERR! gyp info spawn args   'make',
  24. npm ERR! gyp info spawn args   '-I',
  25. npm ERR! gyp info spawn args   '/home/debian/node-roboticscape/build/config.gypi',
  26. npm ERR! gyp info spawn args   '-I',
  27. npm ERR! gyp info spawn args   '/home/debian/node-roboticscape/node_modules/node-gyp/addon.gypi',
  28. npm ERR! gyp info spawn args   '-I',
  29. npm ERR! gyp info spawn args   '/tmp/.node-gyp/12.22.12/include/node/common.gypi',
  30. npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
  31. npm ERR! gyp info spawn args   '-Dvisibility=default',
  32. npm ERR! gyp info spawn args   '-Dnode_root_dir=/tmp/.node-gyp/12.22.12',
  33. npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/debian/node-roboticscape/node_modules/node-gyp',
  34. npm ERR! gyp info spawn args   '-Dnode_lib_file=/tmp/.node-gyp/12.22.12/<(target_arch)/node.lib',
  35. npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/debian/node-roboticscape',
  36. npm ERR! gyp info spawn args   '-Dnode_engine=v8',
  37. npm ERR! gyp info spawn args   '--depth=.',
  38. npm ERR! gyp info spawn args   '--no-parallel',
  39. npm ERR! gyp info spawn args   '--generator-output',
  40. npm ERR! gyp info spawn args   'build',
  41. npm ERR! gyp info spawn args   '-Goutput_dir=.'
  42. npm ERR! gyp info spawn args ]
  43. npm ERR! gyp info spawn make
  44. npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  45. npm ERR! In file included from ../node_modules/nan/nan.h:190,
  46. npm ERR!                  from ../rc-node-bindings.cc:1:
  47. npm ERR! ../node_modules/nan/nan_maybe_43_inl.h: In function 'Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)':
  48. npm ERR! ../node_modules/nan/nan_maybe_43_inl.h:112:15: error: 'class v8::Object' has no member named 'ForceSet'
  49. npm ERR!   112 |   return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
  50. npm ERR!       |               ^~~~~~~~
  51. npm ERR! In file included from ../node_modules/nan/nan_converters.h:59,
  52. npm ERR!                  from ../node_modules/nan/nan.h:195,
  53. npm ERR!                  from ../rc-node-bindings.cc:1:
  54. npm ERR! ../node_modules/nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)':
  55. npm ERR! ../node_modules/nan/nan_converters_43_inl.h:18:69: warning: 'v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
  56. npm ERR!    18 |       val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext())          \
  57. npm ERR!       |                                                                     ^
  58. npm ERR! ../node_modules/nan/nan_converters_43_inl.h:22:1: note: in expansion of macro 'X'
  59. npm ERR!    22 | X(Boolean)
  60. npm ERR!       | ^
  61. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  62. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  63. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  64. npm ERR!                  from ../node_modules/nan/nan.h:47,
  65. npm ERR!                  from ../rc-node-bindings.cc:1:
  66. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2664:59: note: declared here
  67. npm ERR!  2664 |                 V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
  68. npm ERR!       |                                                           ^~~~~~~~~
  69. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  70. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  71. npm ERR!       |   ^~~~~~~~~~
  72. npm ERR! In file included from ../node_modules/nan/nan_converters.h:59,
  73. npm ERR!                  from ../node_modules/nan/nan.h:195,
  74. npm ERR!                  from ../rc-node-bindings.cc:1:
  75. npm ERR! ../node_modules/nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)':
  76. npm ERR! ../node_modules/nan/nan_converters_43_inl.h:37:57: warning: 'v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
  77. npm ERR!    37 |   return val->NAME ## Value(isolate->GetCurrentContext());                     \
  78. npm ERR!       |                                                         ^
  79. npm ERR! ../node_modules/nan/nan_converters_43_inl.h:40:1: note: in expansion of macro 'X'
  80. npm ERR!    40 | X(bool, Boolean)
  81. npm ERR!       | ^
  82. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  83. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  84. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  85. npm ERR!                  from ../node_modules/nan/nan.h:47,
  86. npm ERR!                  from ../rc-node-bindings.cc:1:
  87. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2702:51: note: declared here
  88. npm ERR!  2702 |                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
  89. npm ERR!       |                                                   ^~~~~~~~~~~~
  90. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  91. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  92. npm ERR!       |   ^~~~~~~~~~
  93. npm ERR! In file included from ../node_modules/nan/nan_new.h:189,
  94. npm ERR!                  from ../node_modules/nan/nan.h:196,
  95. npm ERR!                  from ../rc-node-bindings.cc:1:
  96. npm ERR! ../node_modules/nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)':
  97. npm ERR! ../node_modules/nan/nan_implementation_12_inl.h:103:42: error: cannot convert 'v8::Isolate*' to 'v8::Local<v8::Context>'
  98. npm ERR!   103 |   return scope.Escape(v8::Function::New( isolate
  99. npm ERR!       |                                          ^~~~~~~
  100. npm ERR!       |                                          |
  101. npm ERR!       |                                          v8::Isolate*
  102. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  103. npm ERR!                  from ../node_modules/nan/nan.h:47,
  104. npm ERR!                  from ../rc-node-bindings.cc:1:
  105. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:4276:22: note:   initializing argument 1 of 'static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)'
  106. npm ERR!  4276 |       Local<Context> context, FunctionCallback callback,
  107. npm ERR!       |       ~~~~~~~~~~~~~~~^~~~~~~
  108. npm ERR! In file included from ../node_modules/nan/nan_new.h:189,
  109. npm ERR!                  from ../node_modules/nan/nan.h:196,
  110. npm ERR!                  from ../rc-node-bindings.cc:1:
  111. npm ERR! ../node_modules/nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)':
  112. npm ERR! ../node_modules/nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to 'v8::StringObject::New(v8::Local<v8::String>&)'
  113. npm ERR!   337 |   return v8::StringObject::New(value).As<v8::StringObject>();
  114. npm ERR!       |                                     ^
  115. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  116. npm ERR!                  from ../node_modules/nan/nan.h:47,
  117. npm ERR!                  from ../rc-node-bindings.cc:1:
  118. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:5531:23: note: candidate: 'static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)'
  119. npm ERR!  5531 |   static Local<Value> New(Isolate* isolate, Local<String> value);
  120. npm ERR!       |                       ^~~
  121. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
  122. npm ERR! In file included from ../node_modules/nan/nan_new.h:189,
  123. npm ERR!                  from ../node_modules/nan/nan.h:196,
  124. npm ERR!                  from ../rc-node-bindings.cc:1:
  125. npm ERR! ../node_modules/nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before '>' token
  126. npm ERR!   337 |   return v8::StringObject::New(value).As<v8::StringObject>();
  127. npm ERR!       |                                                          ^
  128. npm ERR! ../node_modules/nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ')' token
  129. npm ERR!   337 |   return v8::StringObject::New(value).As<v8::StringObject>();
  130. npm ERR!       |                                                            ^
  131. npm ERR! In file included from ../rc-node-bindings.cc:1:
  132. npm ERR! ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)':
  133. npm ERR! ../node_modules/nan/nan.h:833:60: warning: 'v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
  134. npm ERR!   833 |         v8::Isolate::GetCurrent(), target, func, argc, argv);
  135. npm ERR!       |                                                            ^
  136. npm ERR! In file included from ../node_modules/nan/nan.h:47,
  137. npm ERR!                  from ../rc-node-bindings.cc:1:
  138. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:183:50: note: declared here
  139. npm ERR!   183 |                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
  140. npm ERR!       |                                                  ^~~~~~~~~~~~
  141. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:102:42: note: in definition of macro 'NODE_DEPRECATED'
  142. npm ERR!   102 |     __attribute__((deprecated(message))) declarator
  143. npm ERR!       |                                          ^~~~~~~~~~
  144. npm ERR! In file included from ../rc-node-bindings.cc:1:
  145. npm ERR! ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)':
  146. npm ERR! ../node_modules/nan/nan.h:848:62: warning: 'v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
  147. npm ERR!   848 |         v8::Isolate::GetCurrent(), target, symbol, argc, argv);
  148. npm ERR!       |                                                              ^
  149. npm ERR! In file included from ../node_modules/nan/nan.h:47,
  150. npm ERR!                  from ../rc-node-bindings.cc:1:
  151. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:176:50: note: declared here
  152. npm ERR!   176 |                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
  153. npm ERR!       |                                                  ^~~~~~~~~~~~
  154. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:102:42: note: in definition of macro 'NODE_DEPRECATED'
  155. npm ERR!   102 |     __attribute__((deprecated(message))) declarator
  156. npm ERR!       |                                          ^~~~~~~~~~
  157. npm ERR! In file included from ../rc-node-bindings.cc:1:
  158. npm ERR! ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)':
  159. npm ERR! ../node_modules/nan/nan.h:863:62: warning: 'v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
  160. npm ERR!   863 |         v8::Isolate::GetCurrent(), target, method, argc, argv);
  161. npm ERR!       |                                                              ^
  162. npm ERR! In file included from ../node_modules/nan/nan.h:47,
  163. npm ERR!                  from ../rc-node-bindings.cc:1:
  164. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:169:50: note: declared here
  165. npm ERR!   169 |                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
  166. npm ERR!       |                                                  ^~~~~~~~~~~~
  167. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:102:42: note: in definition of macro 'NODE_DEPRECATED'
  168. npm ERR!   102 |     __attribute__((deprecated(message))) declarator
  169. npm ERR!       |                                          ^~~~~~~~~~
  170. npm ERR! In file included from ../rc-node-bindings.cc:1:
  171. npm ERR! ../node_modules/nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
  172. npm ERR! ../node_modules/nan/nan.h:909:53: error: no matching function for call to 'v8::Value::ToString()'
  173. npm ERR!   909 |       v8::Local<v8::String> string = from->ToString();
  174. npm ERR!       |                                                     ^
  175. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  176. npm ERR!                  from ../node_modules/nan/nan.h:47,
  177. npm ERR!                  from ../rc-node-bindings.cc:1:
  178. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
  179. npm ERR!  2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  180. npm ERR!       |                                            ^~~~~~~~
  181. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
  182. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  183. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  184. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  185. npm ERR!                  from ../node_modules/nan/nan.h:47,
  186. npm ERR!                  from ../rc-node-bindings.cc:1:
  187. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note: candidate: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const'
  188. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  189. npm ERR!       |                               ^~~~~~~~
  190. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  191. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  192. npm ERR!       |   ^~~~~~~~~~
  193. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
  194. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  195. npm ERR!       |                               ^~~~~~~~
  196. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  197. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  198. npm ERR!       |   ^~~~~~~~~~
  199. npm ERR! In file included from ../rc-node-bindings.cc:1:
  200. npm ERR! ../node_modules/nan/nan.h:919:37: error: cannot convert 'char*' to 'v8::Isolate*'
  201. npm ERR!   919 |         length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
  202. npm ERR!       |                                     ^~~~
  203. npm ERR!       |                                     |
  204. npm ERR!       |                                     char*
  205. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  206. npm ERR!                  from ../node_modules/nan/nan.h:47,
  207. npm ERR!                  from ../rc-node-bindings.cc:1:
  208. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2878:26: note:   initializing argument 1 of 'int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const'
  209. npm ERR!  2878 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
  210. npm ERR!       |                 ~~~~~~~~~^~~~~~~
  211. npm ERR! In file included from ../rc-node-bindings.cc:1:
  212. npm ERR! ../node_modules/nan/nan.h: In member function 'v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const':
  213. npm ERR! ../node_modules/nan/nan.h:1477:5: warning: 'v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
  214. npm ERR!  1477 |     ));
  215. npm ERR!       |     ^
  216. npm ERR! In file included from ../node_modules/nan/nan.h:47,
  217. npm ERR!                  from ../rc-node-bindings.cc:1:
  218. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:183:50: note: declared here
  219. npm ERR!   183 |                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
  220. npm ERR!       |                                                  ^~~~~~~~~~~~
  221. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:102:42: note: in definition of macro 'NODE_DEPRECATED'
  222. npm ERR!   102 |     __attribute__((deprecated(message))) declarator
  223. npm ERR!       |                                          ^~~~~~~~~~
  224. npm ERR! In file included from ../rc-node-bindings.cc:1:
  225. npm ERR! ../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)':
  226. npm ERR! ../node_modules/nan/nan.h:1531:64: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  227. npm ERR!  1531 |     New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
  228. npm ERR!       |                                                                ^
  229. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  230. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  231. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  232. npm ERR!                  from ../node_modules/nan/nan.h:47,
  233. npm ERR!                  from ../rc-node-bindings.cc:1:
  234. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:3499:22: note: declared here
  235. npm ERR!  3499 |                 bool Set(Local<Value> key, Local<Value> value));
  236. npm ERR!       |                      ^~~
  237. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  238. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  239. npm ERR!       |   ^~~~~~~~~~
  240. npm ERR! In file included from ../rc-node-bindings.cc:1:
  241. npm ERR! ../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)':
  242. npm ERR! ../node_modules/nan/nan.h:1537:42: warning: 'bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  243. npm ERR!  1537 |     New(persistentHandle)->Set(key, value);
  244. npm ERR!       |                                          ^
  245. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  246. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  247. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  248. npm ERR!                  from ../node_modules/nan/nan.h:47,
  249. npm ERR!                  from ../rc-node-bindings.cc:1:
  250. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:3499:22: note: declared here
  251. npm ERR!  3499 |                 bool Set(Local<Value> key, Local<Value> value));
  252. npm ERR!       |                      ^~~
  253. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  254. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  255. npm ERR!       |   ^~~~~~~~~~
  256. npm ERR! In file included from ../rc-node-bindings.cc:1:
  257. npm ERR! ../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)':
  258. npm ERR! ../node_modules/nan/nan.h:1543:44: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  259. npm ERR!  1543 |     New(persistentHandle)->Set(index, value);
  260. npm ERR!       |                                            ^
  261. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  262. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  263. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  264. npm ERR!                  from ../node_modules/nan/nan.h:47,
  265. npm ERR!                  from ../rc-node-bindings.cc:1:
  266. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:3508:22: note: declared here
  267. npm ERR!  3508 |                 bool Set(uint32_t index, Local<Value> value));
  268. npm ERR!       |                      ^~~
  269. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  270. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  271. npm ERR!       |   ^~~~~~~~~~
  272. npm ERR! In file included from ../rc-node-bindings.cc:1:
  273. npm ERR! ../node_modules/nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const':
  274. npm ERR! ../node_modules/nan/nan.h:1549:61: warning: 'v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  275. npm ERR!  1549 |         New(persistentHandle)->Get(New(key).ToLocalChecked()));
  276. npm ERR!       |                                                             ^
  277. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  278. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  279. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  280. npm ERR!                  from ../node_modules/nan/nan.h:47,
  281. npm ERR!                  from ../rc-node-bindings.cc:1:
  282. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:3553:51: note: declared here
  283. npm ERR!  3553 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
  284. npm ERR!       |                                                   ^~~
  285. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  286. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  287. npm ERR!       |   ^~~~~~~~~~
  288. npm ERR! In file included from ../rc-node-bindings.cc:1:
  289. npm ERR! ../node_modules/nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const':
  290. npm ERR! ../node_modules/nan/nan.h:1555:55: warning: 'v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  291. npm ERR!  1555 |     return scope.Escape(New(persistentHandle)->Get(key));
  292. npm ERR!       |                                                       ^
  293. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  294. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  295. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  296. npm ERR!                  from ../node_modules/nan/nan.h:47,
  297. npm ERR!                  from ../rc-node-bindings.cc:1:
  298. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:3553:51: note: declared here
  299. npm ERR!  3553 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
  300. npm ERR!       |                                                   ^~~
  301. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  302. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  303. npm ERR!       |   ^~~~~~~~~~
  304. npm ERR! In file included from ../rc-node-bindings.cc:1:
  305. npm ERR! ../node_modules/nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const':
  306. npm ERR! ../node_modules/nan/nan.h:1560:57: warning: 'v8::Local<v8::Value> v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  307. npm ERR!  1560 |     return scope.Escape(New(persistentHandle)->Get(index));
  308. npm ERR!       |                                                         ^
  309. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  310. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  311. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  312. npm ERR!                  from ../node_modules/nan/nan.h:47,
  313. npm ERR!                  from ../rc-node-bindings.cc:1:
  314. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:3557:51: note: declared here
  315. npm ERR!  3557 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
  316. npm ERR!       |                                                   ^~~
  317. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  318. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  319. npm ERR!       |   ^~~~~~~~~~
  320. npm ERR! In file included from ../rc-node-bindings.cc:1:
  321. npm ERR! ../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':
  322. npm ERR! ../node_modules/nan/nan.h:1730:7: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
  323. npm ERR!  1730 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  324. npm ERR!       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  325. npm ERR! In file included from /usr/include/c++/10/cassert:44,
  326. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node_object_wrap.h:26,
  327. npm ERR!                  from ../node_modules/nan/nan.h:49,
  328. npm ERR!                  from ../rc-node-bindings.cc:1:
  329. npm ERR! ../node_modules/nan/nan_object_wrap.h: In destructor 'virtual Nan::ObjectWrap::~ObjectWrap()':
  330. npm ERR! ../node_modules/nan/nan_object_wrap.h:24:25: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath'
  331. npm ERR!    24 |     assert(persistent().IsNearDeath());
  332. npm ERR!       |                         ^~~~~~~~~~~
  333. npm ERR! In file included from ../node_modules/nan/nan.h:2220,
  334. npm ERR!                  from ../rc-node-bindings.cc:1:
  335. npm ERR! ../node_modules/nan/nan_object_wrap.h: In member function 'void Nan::ObjectWrap::MakeWeak()':
  336. npm ERR! ../node_modules/nan/nan_object_wrap.h:67:34: warning: 'void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
  337. npm ERR!    67 |     persistent().MarkIndependent();
  338. npm ERR!       |                                  ^
  339. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  340. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  341. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  342. npm ERR!                  from ../node_modules/nan/nan.h:47,
  343. npm ERR!                  from ../rc-node-bindings.cc:1:
  344. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:570:22: note: declared here
  345. npm ERR!   570 |       V8_INLINE void MarkIndependent());
  346. npm ERR!       |                      ^~~~~~~~~~~~~~~
  347. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  348. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  349. npm ERR!       |   ^~~~~~~~~~
  350. npm ERR! In file included from /usr/include/c++/10/cassert:44,
  351. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node_object_wrap.h:26,
  352. npm ERR!                  from ../node_modules/nan/nan.h:49,
  353. npm ERR!                  from ../rc-node-bindings.cc:1:
  354. npm ERR! ../node_modules/nan/nan_object_wrap.h: In static member function 'static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)':
  355. npm ERR! ../node_modules/nan/nan_object_wrap.h:124:26: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath'
  356. npm ERR!   124 |     assert(wrap->handle_.IsNearDeath());
  357. npm ERR!       |                          ^~~~~~~~~~~
  358. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCinitialize(const Nan::FunctionCallbackInfo<v8::Value>&)':
  359. npm ERR! ../rc-node-bindings.cc:15:65: warning: 'int rc_initialize()' is deprecated [-Wdeprecated-declarations]
  360. npm ERR!    15 |         v8::Local<v8::Boolean> i = Nan::New((bool)rc_initialize());
  361. npm ERR!       |                                                                 ^
  362. npm ERR! In file included from /usr/include/robotcontrol.h:26,
  363. npm ERR!                  from /usr/include/roboticscape.h:11,
  364. npm ERR!                  from ../rc-node-bindings.cc:8:
  365. npm ERR! /usr/include/rc/deprecated.h:23:5: note: declared here
  366. npm ERR!    23 | int rc_initialize(void) __attribute__ ((deprecated));
  367. npm ERR!       |     ^~~~~~~~~~~~~
  368. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCexit(void*)':
  369. npm ERR! ../rc-node-bindings.cc:22:20: warning: 'int rc_cleanup()' is deprecated [-Wdeprecated-declarations]
  370. npm ERR!    22 |         rc_cleanup();
  371. npm ERR!       |                    ^
  372. npm ERR! In file included from /usr/include/robotcontrol.h:26,
  373. npm ERR!                  from /usr/include/roboticscape.h:11,
  374. npm ERR!                  from ../rc-node-bindings.cc:8:
  375. npm ERR! /usr/include/rc/deprecated.h:25:5: note: declared here
  376. npm ERR!    25 | int rc_cleanup(void) __attribute__ ((deprecated));
  377. npm ERR!       |     ^~~~~~~~~~
  378. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCstate(const Nan::FunctionCallbackInfo<v8::Value>&)':
  379. npm ERR! ../rc-node-bindings.cc:53:53: error: no matching function for call to 'v8::Value::ToString()'
  380. npm ERR!    53 |         v8::String::Utf8Value str(info[0]->ToString());
  381. npm ERR!       |                                                     ^
  382. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  383. npm ERR!                  from ../node_modules/nan/nan.h:47,
  384. npm ERR!                  from ../rc-node-bindings.cc:1:
  385. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
  386. npm ERR!  2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  387. npm ERR!       |                                            ^~~~~~~~
  388. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
  389. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  390. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  391. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  392. npm ERR!                  from ../node_modules/nan/nan.h:47,
  393. npm ERR!                  from ../rc-node-bindings.cc:1:
  394. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note: candidate: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const'
  395. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  396. npm ERR!       |                               ^~~~~~~~
  397. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  398. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  399. npm ERR!       |   ^~~~~~~~~~
  400. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
  401. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  402. npm ERR!       |                               ^~~~~~~~
  403. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  404. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  405. npm ERR!       |   ^~~~~~~~~~
  406. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCLED(const Nan::FunctionCallbackInfo<v8::Value>&)':
  407. npm ERR! ../rc-node-bindings.cc:79:53: error: no matching function for call to 'v8::Value::ToString()'
  408. npm ERR!    79 |         v8::String::Utf8Value str(info[0]->ToString());
  409. npm ERR!       |                                                     ^
  410. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  411. npm ERR!                  from ../node_modules/nan/nan.h:47,
  412. npm ERR!                  from ../rc-node-bindings.cc:1:
  413. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
  414. npm ERR!  2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  415. npm ERR!       |                                            ^~~~~~~~
  416. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
  417. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  418. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  419. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  420. npm ERR!                  from ../node_modules/nan/nan.h:47,
  421. npm ERR!                  from ../rc-node-bindings.cc:1:
  422. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note: candidate: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const'
  423. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  424. npm ERR!       |                               ^~~~~~~~
  425. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  426. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  427. npm ERR!       |   ^~~~~~~~~~
  428. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
  429. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  430. npm ERR!       |                               ^~~~~~~~
  431. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  432. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  433. npm ERR!       |   ^~~~~~~~~~
  434. npm ERR! ../rc-node-bindings.cc:81:43: error: no matching function for call to 'v8::Value::ToBoolean()'
  435. npm ERR!    81 |         bool i = (bool)info[1]->ToBoolean()->Value();
  436. npm ERR!       |                                           ^
  437. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  438. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  439. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  440. npm ERR!                  from ../node_modules/nan/nan.h:47,
  441. npm ERR!                  from ../rc-node-bindings.cc:1:
  442. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2664:59: note: candidate: 'v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const'
  443. npm ERR!  2664 |                 V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
  444. npm ERR!       |                                                           ^~~~~~~~~
  445. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  446. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  447. npm ERR!       |   ^~~~~~~~~~
  448. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2664:59: note:   candidate expects 1 argument, 0 provided
  449. npm ERR!  2664 |                 V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
  450. npm ERR!       |                                                           ^~~~~~~~~
  451. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  452. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  453. npm ERR!       |   ^~~~~~~~~~
  454. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  455. npm ERR!                  from ../node_modules/nan/nan.h:47,
  456. npm ERR!                  from ../rc-node-bindings.cc:1:
  457. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2680:18: note: candidate: 'v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const'
  458. npm ERR!  2680 |   Local<Boolean> ToBoolean(Isolate* isolate) const;
  459. npm ERR!       |                  ^~~~~~~~~
  460. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2680:18: note:   candidate expects 1 argument, 0 provided
  461. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCon(const Nan::FunctionCallbackInfo<v8::Value>&)':
  462. npm ERR! ../rc-node-bindings.cc:164:53: error: no matching function for call to 'v8::Value::ToString()'
  463. npm ERR!   164 |         v8::String::Utf8Value str(info[0]->ToString());
  464. npm ERR!       |                                                     ^
  465. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  466. npm ERR!                  from ../node_modules/nan/nan.h:47,
  467. npm ERR!                  from ../rc-node-bindings.cc:1:
  468. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
  469. npm ERR!  2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  470. npm ERR!       |                                            ^~~~~~~~
  471. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
  472. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  473. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  474. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  475. npm ERR!                  from ../node_modules/nan/nan.h:47,
  476. npm ERR!                  from ../rc-node-bindings.cc:1:
  477. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note: candidate: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const'
  478. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  479. npm ERR!       |                               ^~~~~~~~
  480. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  481. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  482. npm ERR!       |   ^~~~~~~~~~
  483. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
  484. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  485. npm ERR!       |                               ^~~~~~~~
  486. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  487. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  488. npm ERR!       |   ^~~~~~~~~~
  489. npm ERR! ../rc-node-bindings.cc:175:19: warning: 'int rc_set_pause_pressed_func(void (*)())' is deprecated [-Wdeprecated-declarations]
  490. npm ERR!   175 |             set = rc_set_pause_pressed_func;
  491. npm ERR!       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
  492. npm ERR! In file included from /usr/include/robotcontrol.h:26,
  493. npm ERR!                  from /usr/include/roboticscape.h:11,
  494. npm ERR!                  from ../rc-node-bindings.cc:8:
  495. npm ERR! /usr/include/rc/deprecated.h:32:5: note: declared here
  496. npm ERR!    32 | int rc_set_pause_pressed_func(void (*func)(void)) __attribute__ ((deprecated));
  497. npm ERR!       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
  498. npm ERR! ../rc-node-bindings.cc:175:19: warning: 'int rc_set_pause_pressed_func(void (*)())' is deprecated [-Wdeprecated-declarations]
  499. npm ERR!   175 |             set = rc_set_pause_pressed_func;
  500. npm ERR!       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
  501. npm ERR! In file included from /usr/include/robotcontrol.h:26,
  502. npm ERR!                  from /usr/include/roboticscape.h:11,
  503. npm ERR!                  from ../rc-node-bindings.cc:8:
  504. npm ERR! /usr/include/rc/deprecated.h:32:5: note: declared here
  505. npm ERR!    32 | int rc_set_pause_pressed_func(void (*func)(void)) __attribute__ ((deprecated));
  506. npm ERR!       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
  507. npm ERR! ../rc-node-bindings.cc:180:19: warning: 'int rc_set_pause_released_func(void (*)())' is deprecated [-Wdeprecated-declarations]
  508. npm ERR!   180 |             set = rc_set_pause_released_func;
  509. npm ERR!       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
  510. npm ERR! In file included from /usr/include/robotcontrol.h:26,
  511. npm ERR!                  from /usr/include/roboticscape.h:11,
  512. npm ERR!                  from ../rc-node-bindings.cc:8:
  513. npm ERR! /usr/include/rc/deprecated.h:33:5: note: declared here
  514. npm ERR!    33 | int rc_set_pause_released_func(void (*func)(void)) __attribute__ ((deprecated));
  515. npm ERR!       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
  516. npm ERR! ../rc-node-bindings.cc:180:19: warning: 'int rc_set_pause_released_func(void (*)())' is deprecated [-Wdeprecated-declarations]
  517. npm ERR!   180 |             set = rc_set_pause_released_func;
  518. npm ERR!       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
  519. npm ERR! In file included from /usr/include/robotcontrol.h:26,
  520. npm ERR!                  from /usr/include/roboticscape.h:11,
  521. npm ERR!                  from ../rc-node-bindings.cc:8:
  522. npm ERR! /usr/include/rc/deprecated.h:33:5: note: declared here
  523. npm ERR!    33 | int rc_set_pause_released_func(void (*func)(void)) __attribute__ ((deprecated));
  524. npm ERR!       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
  525. npm ERR! ../rc-node-bindings.cc:185:19: warning: 'int rc_set_mode_pressed_func(void (*)())' is deprecated [-Wdeprecated-declarations]
  526. npm ERR!   185 |             set = rc_set_mode_pressed_func;
  527. npm ERR!       |                   ^~~~~~~~~~~~~~~~~~~~~~~~
  528. npm ERR! In file included from /usr/include/robotcontrol.h:26,
  529. npm ERR!                  from /usr/include/roboticscape.h:11,
  530. npm ERR!                  from ../rc-node-bindings.cc:8:
  531. npm ERR! /usr/include/rc/deprecated.h:34:5: note: declared here
  532. npm ERR!    34 | int rc_set_mode_pressed_func(void (*func)(void)) __attribute__ ((deprecated));
  533. npm ERR!       |     ^~~~~~~~~~~~~~~~~~~~~~~~
  534. npm ERR! ../rc-node-bindings.cc:185:19: warning: 'int rc_set_mode_pressed_func(void (*)())' is deprecated [-Wdeprecated-declarations]
  535. npm ERR!   185 |             set = rc_set_mode_pressed_func;
  536. npm ERR!       |                   ^~~~~~~~~~~~~~~~~~~~~~~~
  537. npm ERR! In file included from /usr/include/robotcontrol.h:26,
  538. npm ERR!                  from /usr/include/roboticscape.h:11,
  539. npm ERR!                  from ../rc-node-bindings.cc:8:
  540. npm ERR! /usr/include/rc/deprecated.h:34:5: note: declared here
  541. npm ERR!    34 | int rc_set_mode_pressed_func(void (*func)(void)) __attribute__ ((deprecated));
  542. npm ERR!       |     ^~~~~~~~~~~~~~~~~~~~~~~~
  543. npm ERR! ../rc-node-bindings.cc:190:19: warning: 'int rc_set_mode_released_func(void (*)())' is deprecated [-Wdeprecated-declarations]
  544. npm ERR!   190 |             set = rc_set_mode_released_func;
  545. npm ERR!       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
  546. npm ERR! In file included from /usr/include/robotcontrol.h:26,
  547. npm ERR!                  from /usr/include/roboticscape.h:11,
  548. npm ERR!                  from ../rc-node-bindings.cc:8:
  549. npm ERR! /usr/include/rc/deprecated.h:35:5: note: declared here
  550. npm ERR!    35 | int rc_set_mode_released_func(void (*func)(void)) __attribute__ ((deprecated));
  551. npm ERR!       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
  552. npm ERR! ../rc-node-bindings.cc:190:19: warning: 'int rc_set_mode_released_func(void (*)())' is deprecated [-Wdeprecated-declarations]
  553. npm ERR!   190 |             set = rc_set_mode_released_func;
  554. npm ERR!       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
  555. npm ERR! In file included from /usr/include/robotcontrol.h:26,
  556. npm ERR!                  from /usr/include/roboticscape.h:11,
  557. npm ERR!                  from ../rc-node-bindings.cc:8:
  558. npm ERR! /usr/include/rc/deprecated.h:35:5: note: declared here
  559. npm ERR!    35 | int rc_set_mode_released_func(void (*func)(void)) __attribute__ ((deprecated));
  560. npm ERR!       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
  561. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCmotor(const Nan::FunctionCallbackInfo<v8::Value>&)':
  562. npm ERR! ../rc-node-bindings.cc:219:47: error: no matching function for call to 'v8::Value::ToInt32()'
  563. npm ERR!   219 |             int motor = (int)info[0]->ToInt32()->Value();
  564. npm ERR!       |                                               ^
  565. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  566. npm ERR!                  from ../node_modules/nan/nan.h:47,
  567. npm ERR!                  from ../rc-node-bindings.cc:1:
  568. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note: candidate: 'v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const'
  569. npm ERR!  2678 |   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  570. npm ERR!       |                                           ^~~~~~~
  571. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note:   candidate expects 1 argument, 0 provided
  572. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  573. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  574. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  575. npm ERR!                  from ../node_modules/nan/nan.h:47,
  576. npm ERR!                  from ../rc-node-bindings.cc:1:
  577. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note: candidate: 'v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const'
  578. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  579. npm ERR!       |                              ^~~~~~~
  580. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  581. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  582. npm ERR!       |   ^~~~~~~~~~
  583. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note:   candidate expects 1 argument, 0 provided
  584. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  585. npm ERR!       |                              ^~~~~~~
  586. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  587. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  588. npm ERR!       |   ^~~~~~~~~~
  589. npm ERR! ../rc-node-bindings.cc:225:61: error: no matching function for call to 'v8::Value::ToString()'
  590. npm ERR!   225 |                 v8::String::Utf8Value str(info[1]->ToString());
  591. npm ERR!       |                                                             ^
  592. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  593. npm ERR!                  from ../node_modules/nan/nan.h:47,
  594. npm ERR!                  from ../rc-node-bindings.cc:1:
  595. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
  596. npm ERR!  2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  597. npm ERR!       |                                            ^~~~~~~~
  598. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
  599. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  600. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  601. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  602. npm ERR!                  from ../node_modules/nan/nan.h:47,
  603. npm ERR!                  from ../rc-node-bindings.cc:1:
  604. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note: candidate: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const'
  605. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  606. npm ERR!       |                               ^~~~~~~~
  607. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  608. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  609. npm ERR!       |   ^~~~~~~~~~
  610. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
  611. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  612. npm ERR!       |                               ^~~~~~~~
  613. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  614. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  615. npm ERR!       |   ^~~~~~~~~~
  616. npm ERR! ../rc-node-bindings.cc:235:51: error: no matching function for call to 'v8::Value::ToNumber()'
  617. npm ERR!   235 |             float duty = (float)info[1]->ToNumber()->Value();
  618. npm ERR!       |                                                   ^
  619. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  620. npm ERR!                  from ../node_modules/nan/nan.h:47,
  621. npm ERR!                  from ../rc-node-bindings.cc:1:
  622. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2666:44: note: candidate: 'v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const'
  623. npm ERR!  2666 |   V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
  624. npm ERR!       |                                            ^~~~~~~~
  625. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2666:44: note:   candidate expects 1 argument, 0 provided
  626. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  627. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  628. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  629. npm ERR!                  from ../node_modules/nan/nan.h:47,
  630. npm ERR!                  from ../rc-node-bindings.cc:1:
  631. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2682:31: note: candidate: 'v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const'
  632. npm ERR!  2682 |                 Local<Number> ToNumber(Isolate* isolate) const);
  633. npm ERR!       |                               ^~~~~~~~
  634. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  635. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  636. npm ERR!       |   ^~~~~~~~~~
  637. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2682:31: note:   candidate expects 1 argument, 0 provided
  638. npm ERR!  2682 |                 Local<Number> ToNumber(Isolate* isolate) const);
  639. npm ERR!       |                               ^~~~~~~~
  640. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  641. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  642. npm ERR!       |   ^~~~~~~~~~
  643. npm ERR! ../rc-node-bindings.cc:248:57: error: no matching function for call to 'v8::Value::ToString()'
  644. npm ERR!   248 |             v8::String::Utf8Value str(info[0]->ToString());
  645. npm ERR!       |                                                         ^
  646. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  647. npm ERR!                  from ../node_modules/nan/nan.h:47,
  648. npm ERR!                  from ../rc-node-bindings.cc:1:
  649. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
  650. npm ERR!  2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  651. npm ERR!       |                                            ^~~~~~~~
  652. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
  653. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  654. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  655. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  656. npm ERR!                  from ../node_modules/nan/nan.h:47,
  657. npm ERR!                  from ../rc-node-bindings.cc:1:
  658. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note: candidate: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const'
  659. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  660. npm ERR!       |                               ^~~~~~~~
  661. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  662. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  663. npm ERR!       |   ^~~~~~~~~~
  664. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
  665. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  666. npm ERR!       |                               ^~~~~~~~
  667. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  668. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  669. npm ERR!       |   ^~~~~~~~~~
  670. npm ERR! ../rc-node-bindings.cc:261:47: error: no matching function for call to 'v8::Value::ToNumber()'
  671. npm ERR!   261 |         float duty = (float)info[0]->ToNumber()->Value();
  672. npm ERR!       |                                               ^
  673. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  674. npm ERR!                  from ../node_modules/nan/nan.h:47,
  675. npm ERR!                  from ../rc-node-bindings.cc:1:
  676. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2666:44: note: candidate: 'v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const'
  677. npm ERR!  2666 |   V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
  678. npm ERR!       |                                            ^~~~~~~~
  679. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2666:44: note:   candidate expects 1 argument, 0 provided
  680. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  681. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  682. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  683. npm ERR!                  from ../node_modules/nan/nan.h:47,
  684. npm ERR!                  from ../rc-node-bindings.cc:1:
  685. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2682:31: note: candidate: 'v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const'
  686. npm ERR!  2682 |                 Local<Number> ToNumber(Isolate* isolate) const);
  687. npm ERR!       |                               ^~~~~~~~
  688. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  689. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  690. npm ERR!       |   ^~~~~~~~~~
  691. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2682:31: note:   candidate expects 1 argument, 0 provided
  692. npm ERR!  2682 |                 Local<Number> ToNumber(Isolate* isolate) const);
  693. npm ERR!       |                               ^~~~~~~~
  694. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  695. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  696. npm ERR!       |   ^~~~~~~~~~
  697. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCencoder(const Nan::FunctionCallbackInfo<v8::Value>&)':
  698. npm ERR! ../rc-node-bindings.cc:275:49: error: no matching function for call to 'v8::Value::ToInt32()'
  699. npm ERR!   275 |             int encoder = (int)info[0]->ToInt32()->Value();
  700. npm ERR!       |                                                 ^
  701. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  702. npm ERR!                  from ../node_modules/nan/nan.h:47,
  703. npm ERR!                  from ../rc-node-bindings.cc:1:
  704. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note: candidate: 'v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const'
  705. npm ERR!  2678 |   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  706. npm ERR!       |                                           ^~~~~~~
  707. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note:   candidate expects 1 argument, 0 provided
  708. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  709. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  710. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  711. npm ERR!                  from ../node_modules/nan/nan.h:47,
  712. npm ERR!                  from ../rc-node-bindings.cc:1:
  713. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note: candidate: 'v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const'
  714. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  715. npm ERR!       |                              ^~~~~~~
  716. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  717. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  718. npm ERR!       |   ^~~~~~~~~~
  719. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note:   candidate expects 1 argument, 0 provided
  720. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  721. npm ERR!       |                              ^~~~~~~
  722. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  723. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  724. npm ERR!       |   ^~~~~~~~~~
  725. npm ERR! ../rc-node-bindings.cc:276:47: error: no matching function for call to 'v8::Value::ToInt32()'
  726. npm ERR!   276 |             int value = (int)info[1]->ToInt32()->Value();
  727. npm ERR!       |                                               ^
  728. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  729. npm ERR!                  from ../node_modules/nan/nan.h:47,
  730. npm ERR!                  from ../rc-node-bindings.cc:1:
  731. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note: candidate: 'v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const'
  732. npm ERR!  2678 |   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  733. npm ERR!       |                                           ^~~~~~~
  734. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note:   candidate expects 1 argument, 0 provided
  735. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  736. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  737. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  738. npm ERR!                  from ../node_modules/nan/nan.h:47,
  739. npm ERR!                  from ../rc-node-bindings.cc:1:
  740. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note: candidate: 'v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const'
  741. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  742. npm ERR!       |                              ^~~~~~~
  743. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  744. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  745. npm ERR!       |   ^~~~~~~~~~
  746. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note:   candidate expects 1 argument, 0 provided
  747. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  748. npm ERR!       |                              ^~~~~~~
  749. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  750. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  751. npm ERR!       |   ^~~~~~~~~~
  752. npm ERR! ../rc-node-bindings.cc:292:45: error: no matching function for call to 'v8::Value::ToInt32()'
  753. npm ERR!   292 |         int encoder = (int)info[0]->ToInt32()->Value();
  754. npm ERR!       |                                             ^
  755. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  756. npm ERR!                  from ../node_modules/nan/nan.h:47,
  757. npm ERR!                  from ../rc-node-bindings.cc:1:
  758. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note: candidate: 'v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const'
  759. npm ERR!  2678 |   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  760. npm ERR!       |                                           ^~~~~~~
  761. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note:   candidate expects 1 argument, 0 provided
  762. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  763. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  764. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  765. npm ERR!                  from ../node_modules/nan/nan.h:47,
  766. npm ERR!                  from ../rc-node-bindings.cc:1:
  767. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note: candidate: 'v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const'
  768. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  769. npm ERR!       |                              ^~~~~~~
  770. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  771. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  772. npm ERR!       |   ^~~~~~~~~~
  773. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note:   candidate expects 1 argument, 0 provided
  774. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  775. npm ERR!       |                              ^~~~~~~
  776. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  777. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  778. npm ERR!       |   ^~~~~~~~~~
  779. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCadc(const Nan::FunctionCallbackInfo<v8::Value>&)':
  780. npm ERR! ../rc-node-bindings.cc:309:57: error: no matching function for call to 'v8::Value::ToString()'
  781. npm ERR!   309 |             v8::String::Utf8Value str(info[0]->ToString());
  782. npm ERR!       |                                                         ^
  783. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  784. npm ERR!                  from ../node_modules/nan/nan.h:47,
  785. npm ERR!                  from ../rc-node-bindings.cc:1:
  786. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
  787. npm ERR!  2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  788. npm ERR!       |                                            ^~~~~~~~
  789. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
  790. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  791. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  792. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  793. npm ERR!                  from ../node_modules/nan/nan.h:47,
  794. npm ERR!                  from ../rc-node-bindings.cc:1:
  795. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note: candidate: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const'
  796. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  797. npm ERR!       |                               ^~~~~~~~
  798. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  799. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  800. npm ERR!       |   ^~~~~~~~~~
  801. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
  802. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  803. npm ERR!       |                               ^~~~~~~~
  804. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  805. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  806. npm ERR!       |   ^~~~~~~~~~
  807. npm ERR! ../rc-node-bindings.cc:322:41: error: no matching function for call to 'v8::Value::ToInt32()'
  808. npm ERR!   322 |         int adc = (int)info[0]->ToInt32()->Value();
  809. npm ERR!       |                                         ^
  810. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  811. npm ERR!                  from ../node_modules/nan/nan.h:47,
  812. npm ERR!                  from ../rc-node-bindings.cc:1:
  813. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note: candidate: 'v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const'
  814. npm ERR!  2678 |   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  815. npm ERR!       |                                           ^~~~~~~
  816. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note:   candidate expects 1 argument, 0 provided
  817. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  818. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  819. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  820. npm ERR!                  from ../node_modules/nan/nan.h:47,
  821. npm ERR!                  from ../rc-node-bindings.cc:1:
  822. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note: candidate: 'v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const'
  823. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  824. npm ERR!       |                              ^~~~~~~
  825. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  826. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  827. npm ERR!       |   ^~~~~~~~~~
  828. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note:   candidate expects 1 argument, 0 provided
  829. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  830. npm ERR!       |                              ^~~~~~~
  831. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  832. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  833. npm ERR!       |   ^~~~~~~~~~
  834. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCservo(const Nan::FunctionCallbackInfo<v8::Value>&)':
  835. npm ERR! ../rc-node-bindings.cc:337:61: error: no matching function for call to 'v8::Value::ToString()'
  836. npm ERR!   337 |                 v8::String::Utf8Value str(info[0]->ToString());
  837. npm ERR!       |                                                             ^
  838. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  839. npm ERR!                  from ../node_modules/nan/nan.h:47,
  840. npm ERR!                  from ../rc-node-bindings.cc:1:
  841. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
  842. npm ERR!  2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  843. npm ERR!       |                                            ^~~~~~~~
  844. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
  845. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  846. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  847. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  848. npm ERR!                  from ../node_modules/nan/nan.h:47,
  849. npm ERR!                  from ../rc-node-bindings.cc:1:
  850. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note: candidate: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const'
  851. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  852. npm ERR!       |                               ^~~~~~~~
  853. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  854. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  855. npm ERR!       |   ^~~~~~~~~~
  856. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
  857. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  858. npm ERR!       |                               ^~~~~~~~
  859. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  860. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  861. npm ERR!       |   ^~~~~~~~~~
  862. npm ERR! ../rc-node-bindings.cc:360:49: error: no matching function for call to 'v8::Value::ToInt32()'
  863. npm ERR!   360 |             int channel = (int)info[0]->ToInt32()->Value();
  864. npm ERR!       |                                                 ^
  865. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  866. npm ERR!                  from ../node_modules/nan/nan.h:47,
  867. npm ERR!                  from ../rc-node-bindings.cc:1:
  868. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note: candidate: 'v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const'
  869. npm ERR!  2678 |   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  870. npm ERR!       |                                           ^~~~~~~
  871. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2678:43: note:   candidate expects 1 argument, 0 provided
  872. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  873. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  874. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  875. npm ERR!                  from ../node_modules/nan/nan.h:47,
  876. npm ERR!                  from ../rc-node-bindings.cc:1:
  877. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note: candidate: 'v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const'
  878. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  879. npm ERR!       |                              ^~~~~~~
  880. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  881. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  882. npm ERR!       |   ^~~~~~~~~~
  883. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2690:30: note:   candidate expects 1 argument, 0 provided
  884. npm ERR!  2690 |                 Local<Int32> ToInt32(Isolate* isolate) const);
  885. npm ERR!       |                              ^~~~~~~
  886. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  887. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  888. npm ERR!       |   ^~~~~~~~~~
  889. npm ERR! ../rc-node-bindings.cc:361:52: error: no matching function for call to 'v8::Value::ToNumber()'
  890. npm ERR!   361 |             float value = (float)info[1]->ToNumber()->Value();
  891. npm ERR!       |                                                    ^
  892. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  893. npm ERR!                  from ../node_modules/nan/nan.h:47,
  894. npm ERR!                  from ../rc-node-bindings.cc:1:
  895. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2666:44: note: candidate: 'v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const'
  896. npm ERR!  2666 |   V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
  897. npm ERR!       |                                            ^~~~~~~~
  898. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2666:44: note:   candidate expects 1 argument, 0 provided
  899. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  900. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  901. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  902. npm ERR!                  from ../node_modules/nan/nan.h:47,
  903. npm ERR!                  from ../rc-node-bindings.cc:1:
  904. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2682:31: note: candidate: 'v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const'
  905. npm ERR!  2682 |                 Local<Number> ToNumber(Isolate* isolate) const);
  906. npm ERR!       |                               ^~~~~~~~
  907. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  908. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  909. npm ERR!       |   ^~~~~~~~~~
  910. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2682:31: note:   candidate expects 1 argument, 0 provided
  911. npm ERR!  2682 |                 Local<Number> ToNumber(Isolate* isolate) const);
  912. npm ERR!       |                               ^~~~~~~~
  913. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  914. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  915. npm ERR!       |   ^~~~~~~~~~
  916. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCbmp(const Nan::FunctionCallbackInfo<v8::Value>&)':
  917. npm ERR! ../rc-node-bindings.cc:383:57: error: no matching function for call to 'v8::Value::ToString()'
  918. npm ERR!   383 |             v8::String::Utf8Value str(info[0]->ToString());
  919. npm ERR!       |                                                         ^
  920. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  921. npm ERR!                  from ../node_modules/nan/nan.h:47,
  922. npm ERR!                  from ../rc-node-bindings.cc:1:
  923. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
  924. npm ERR!  2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  925. npm ERR!       |                                            ^~~~~~~~
  926. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
  927. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  928. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  929. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  930. npm ERR!                  from ../node_modules/nan/nan.h:47,
  931. npm ERR!                  from ../rc-node-bindings.cc:1:
  932. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note: candidate: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const'
  933. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  934. npm ERR!       |                               ^~~~~~~~
  935. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  936. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  937. npm ERR!       |   ^~~~~~~~~~
  938. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
  939. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  940. npm ERR!       |                               ^~~~~~~~
  941. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  942. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  943. npm ERR!       |   ^~~~~~~~~~
  944. npm ERR! ../rc-node-bindings.cc: In function 'void rc::RCimu(const Nan::FunctionCallbackInfo<v8::Value>&)':
  945. npm ERR! ../rc-node-bindings.cc:420:57: error: no matching function for call to 'v8::Value::ToString()'
  946. npm ERR!   420 |             v8::String::Utf8Value str(info[0]->ToString());
  947. npm ERR!       |                                                         ^
  948. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  949. npm ERR!                  from ../node_modules/nan/nan.h:47,
  950. npm ERR!                  from ../rc-node-bindings.cc:1:
  951. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
  952. npm ERR!  2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  953. npm ERR!       |                                            ^~~~~~~~
  954. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
  955. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/v8-internal.h:14,
  956. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/v8.h:27,
  957. npm ERR!                  from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  958. npm ERR!                  from ../node_modules/nan/nan.h:47,
  959. npm ERR!                  from ../rc-node-bindings.cc:1:
  960. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note: candidate: 'v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const'
  961. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  962. npm ERR!       |                               ^~~~~~~~
  963. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  964. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  965. npm ERR!       |   ^~~~~~~~~~
  966. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
  967. npm ERR!  2684 |                 Local<String> ToString(Isolate* isolate) const);
  968. npm ERR!       |                               ^~~~~~~~
  969. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED'
  970. npm ERR!   328 |   declarator __attribute__((deprecated(message)))
  971. npm ERR!       |   ^~~~~~~~~~
  972. npm ERR! ../rc-node-bindings.cc: In function 'void rc::ModuleInit(v8::Local<v8::Object>)':
  973. npm ERR! ../rc-node-bindings.cc:470:71: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  974. npm ERR!   470 |             Nan::New<v8::FunctionTemplate>(RCinitialize)->GetFunction());
  975. npm ERR!       |                                                                       ^
  976. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  977. npm ERR!                  from ../node_modules/nan/nan.h:47,
  978. npm ERR!                  from ../rc-node-bindings.cc:1:
  979. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  980. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  981. npm ERR!       |                                              ^~~~~~~~~~~
  982. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  983. npm ERR! ../rc-node-bindings.cc:473:66: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  984. npm ERR!   473 |             Nan::New<v8::FunctionTemplate>(RCstate)->GetFunction());
  985. npm ERR!       |                                                                  ^
  986. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  987. npm ERR!                  from ../node_modules/nan/nan.h:47,
  988. npm ERR!                  from ../rc-node-bindings.cc:1:
  989. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  990. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  991. npm ERR!       |                                              ^~~~~~~~~~~
  992. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  993. npm ERR! ../rc-node-bindings.cc:476:64: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  994. npm ERR!   476 |             Nan::New<v8::FunctionTemplate>(RCLED)->GetFunction());
  995. npm ERR!       |                                                                ^
  996. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  997. npm ERR!                  from ../node_modules/nan/nan.h:47,
  998. npm ERR!                  from ../rc-node-bindings.cc:1:
  999. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  1000. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  1001. npm ERR!       |                                              ^~~~~~~~~~~
  1002. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  1003. npm ERR! ../rc-node-bindings.cc:479:63: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  1004. npm ERR!   479 |             Nan::New<v8::FunctionTemplate>(RCon)->GetFunction());
  1005. npm ERR!       |                                                               ^
  1006. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  1007. npm ERR!                  from ../node_modules/nan/nan.h:47,
  1008. npm ERR!                  from ../rc-node-bindings.cc:1:
  1009. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  1010. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  1011. npm ERR!       |                                              ^~~~~~~~~~~
  1012. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  1013. npm ERR! ../rc-node-bindings.cc:482:66: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  1014. npm ERR!   482 |             Nan::New<v8::FunctionTemplate>(RCmotor)->GetFunction());
  1015. npm ERR!       |                                                                  ^
  1016. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  1017. npm ERR!                  from ../node_modules/nan/nan.h:47,
  1018. npm ERR!                  from ../rc-node-bindings.cc:1:
  1019. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  1020. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  1021. npm ERR!       |                                              ^~~~~~~~~~~
  1022. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  1023. npm ERR! ../rc-node-bindings.cc:485:68: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  1024. npm ERR!   485 |             Nan::New<v8::FunctionTemplate>(RCencoder)->GetFunction());
  1025. npm ERR!       |                                                                    ^
  1026. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  1027. npm ERR!                  from ../node_modules/nan/nan.h:47,
  1028. npm ERR!                  from ../rc-node-bindings.cc:1:
  1029. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  1030. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  1031. npm ERR!       |                                              ^~~~~~~~~~~
  1032. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  1033. npm ERR! ../rc-node-bindings.cc:488:64: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  1034. npm ERR!   488 |             Nan::New<v8::FunctionTemplate>(RCadc)->GetFunction());
  1035. npm ERR!       |                                                                ^
  1036. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  1037. npm ERR!                  from ../node_modules/nan/nan.h:47,
  1038. npm ERR!                  from ../rc-node-bindings.cc:1:
  1039. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  1040. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  1041. npm ERR!       |                                              ^~~~~~~~~~~
  1042. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  1043. npm ERR! ../rc-node-bindings.cc:491:66: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  1044. npm ERR!   491 |             Nan::New<v8::FunctionTemplate>(RCservo)->GetFunction());
  1045. npm ERR!       |                                                                  ^
  1046. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  1047. npm ERR!                  from ../node_modules/nan/nan.h:47,
  1048. npm ERR!                  from ../rc-node-bindings.cc:1:
  1049. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  1050. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  1051. npm ERR!       |                                              ^~~~~~~~~~~
  1052. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  1053. npm ERR! ../rc-node-bindings.cc:494:64: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  1054. npm ERR!   494 |             Nan::New<v8::FunctionTemplate>(RCbmp)->GetFunction());
  1055. npm ERR!       |                                                                ^
  1056. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  1057. npm ERR!                  from ../node_modules/nan/nan.h:47,
  1058. npm ERR!                  from ../rc-node-bindings.cc:1:
  1059. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  1060. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  1061. npm ERR!       |                                              ^~~~~~~~~~~
  1062. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  1063. npm ERR! ../rc-node-bindings.cc:497:64: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  1064. npm ERR!   497 |             Nan::New<v8::FunctionTemplate>(RCimu)->GetFunction());
  1065. npm ERR!       |                                                                ^
  1066. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  1067. npm ERR!                  from ../node_modules/nan/nan.h:47,
  1068. npm ERR!                  from ../rc-node-bindings.cc:1:
  1069. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  1070. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  1071. npm ERR!       |                                              ^~~~~~~~~~~
  1072. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  1073. npm ERR! ../rc-node-bindings.cc:499:64: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
  1074. npm ERR!   499 |             Nan::New<v8::FunctionTemplate>(RCimu)->GetFunction());
  1075. npm ERR!       |                                                                ^
  1076. npm ERR! In file included from /tmp/.node-gyp/12.22.12/include/node/node.h:67,
  1077. npm ERR!                  from ../node_modules/nan/nan.h:47,
  1078. npm ERR!                  from ../rc-node-bindings.cc:1:
  1079. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)'
  1080. npm ERR!  6126 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
  1081. npm ERR!       |                                              ^~~~~~~~~~~
  1082. npm ERR! /tmp/.node-gyp/12.22.12/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
  1083. npm ERR! ../rc-node-bindings.cc:500:28: warning: 'void node::AtExit(void (*)(void*), void*)' is deprecated: Use the three-argument variant of AtExit() or AddEnvironmentCleanupHook() [-Wdeprecated-declarations]
  1084. npm ERR!   500 |         node::AtExit(RCexit);
  1085. npm ERR!       |                            ^
  1086. npm ERR! In file included from ../node_modules/nan/nan.h:47,
  1087. npm ERR!                  from ../rc-node-bindings.cc:1:
  1088. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:830:22: note: declared here
  1089. npm ERR!   830 |     NODE_EXTERN void AtExit(void (*cb)(void* arg), void* arg = nullptr));
  1090. npm ERR!       |                      ^~~~~~
  1091. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:102:42: note: in definition of macro 'NODE_DEPRECATED'
  1092. npm ERR!   102 |     __attribute__((deprecated(message))) declarator
  1093. npm ERR!       |                                          ^~~~~~~~~~
  1094. npm ERR! In file included from ../node_modules/nan/nan.h:47,
  1095. npm ERR!                  from ../rc-node-bindings.cc:1:
  1096. npm ERR! ../rc-node-bindings.cc: At global scope:
  1097. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:736:7: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]
  1098. npm ERR!   736 |       (node::addon_register_func) (regfunc),                          \
  1099. npm ERR!       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1100. npm ERR! /tmp/.node-gyp/12.22.12/include/node/node.h:770:3: note: in expansion of macro 'NODE_MODULE_X'
  1101. npm ERR!   770 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
  1102. npm ERR!       |   ^~~~~~~~~~~~~
  1103. npm ERR! ../rc-node-bindings.cc:503:5: note: in expansion of macro 'NODE_MODULE'
  1104. npm ERR!   503 |     NODE_MODULE(roboticscape, ModuleInit);
  1105. npm ERR!       |     ^~~~~~~~~~~
  1106. npm ERR! make: *** [roboticscape.target.mk:111: Release/obj.target/roboticscape/rc-node-bindings.o] Error 1
  1107. npm ERR! gyp ERR! build error
  1108. npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
  1109. npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/debian/node-roboticscape/node_modules/node-gyp/lib/build.js:203:23)
  1110. npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
  1111. npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
  1112. npm ERR! gyp ERR! System Linux 5.10.140-ti-r52
  1113. npm ERR! gyp ERR! command "/usr/bin/node" "/home/debian/node-roboticscape/node_modules/.bin/node-gyp" "rebuild"
  1114. npm ERR! gyp ERR! cwd /home/debian/node-roboticscape
  1115. npm ERR! gyp ERR! node -v v12.22.12
  1116. npm ERR! gyp ERR! node-gyp -v v9.3.1
  1117. npm ERR! gyp ERR! not ok
  1118.  
  1119. npm ERR! A complete log of this run can be found in:
  1120. npm ERR!     /root/.npm/_logs/2022-12-23T23_05_07_657Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement