KshitijV97

Untitled

Sep 8th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 51.00 KB | None | 0 0
  1. [kshitij@hp voting-app]$ npm install ganache-cli web3@1.0.0-beta.37 solc@0.5.3
  2. npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
  3. npm WARN deprecated tar.gz@1.0.7: ⚠️  WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
  4.  
  5. > scrypt@6.0.3 preinstall /home/kshitij/Documents/voting-app/node_modules/scrypt
  6. > node node-scrypt-preinstall.js
  7.  
  8.  
  9. > keccak@1.4.0 install /home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/keccak
  10. > npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
  11.  
  12.  
  13. > keccak@1.4.0 rebuild /home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/keccak
  14. > node-gyp rebuild
  15.  
  16. make: Entering directory '/home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/keccak/build'
  17.   CXX(target) Release/obj.target/keccak/src/addon.o
  18. In file included from ../src/addon.cc:2:
  19. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  20. ../../nan/nan.h:2298:62: 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]
  21.  2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  22.       |                                                              ^
  23. ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Initialize(Nan::NAN_METHOD_ARGS_TYPE)’:
  24. ../src/addon.cc:37:47: error: no matching function for call to ‘v8::Value::IntegerValue()
  25.    37 |     unsigned int rate = info[0]->IntegerValue();
  26.       |                                               ^
  27. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  28.                  from ../src/addon.cc:1:
  29. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
  30.  2578 |   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  31.       |                                        ^~~~~~~~~~~~
  32. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note:   candidate expects 1 argument, 0 provided
  33. ../src/addon.cc:38:51: error: no matching function for call to ‘v8::Value::IntegerValue()
  34.    38 |     unsigned int capacity = info[1]->IntegerValue();
  35.       |                                                   ^
  36. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  37.                  from ../src/addon.cc:1:
  38. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
  39.  2578 |   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  40.       |                                        ^~~~~~~~~~~~
  41. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note:   candidate expects 1 argument, 0 provided
  42. ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::AbsorbLastFewBits(Nan::NAN_METHOD_ARGS_TYPE)’:
  43. ../src/addon.cc:56:48: error: no matching function for call to ‘v8::Value::IntegerValue()
  44.    56 |     unsigned char bits = info[0]->IntegerValue();
  45.       |                                                ^
  46. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  47.                  from ../src/addon.cc:1:
  48. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
  49.  2578 |   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  50.       |                                        ^~~~~~~~~~~~
  51. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note:   candidate expects 1 argument, 0 provided
  52. ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Squeeze(Nan::NAN_METHOD_ARGS_TYPE)’:
  53. ../src/addon.cc:64:43: error: no matching function for call to ‘v8::Value::IntegerValue()
  54.    64 |     size_t length = info[0]->IntegerValue();
  55.       |                                           ^
  56. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  57.                  from ../src/addon.cc:1:
  58. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
  59.  2578 |   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  60.       |                                        ^~~~~~~~~~~~
  61. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note:   candidate expects 1 argument, 0 provided
  62. ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Copy(Nan::NAN_METHOD_ARGS_TYPE)’:
  63. ../src/addon.cc:75:82: error: no matching function for call to ‘v8::Value::ToObject()
  64.    75 | o = Nan::ObjectWrap::Unwrap<KeccakWrapper>(info[0]->ToObject());
  65.       |                                                              ^
  66.  
  67. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  68.                  from ../src/addon.cc:1:
  69. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
  70.  2545 |   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  71.       |                                            ^~~~~~~~
  72. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note:   candidate expects 1 argument, 0 provided
  73. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
  74.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
  75.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  76.                  from ../src/addon.cc:1:
  77. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’
  78.  2559 |                 Local<Object> ToObject(Isolate* isolate) const);
  79.       |                               ^~~~~~~~
  80. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  81.   311 |   declarator __attribute__((deprecated(message)))
  82.       |   ^~~~~~~~~~
  83. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note:   candidate expects 1 argument, 0 provided
  84.  2559 |                 Local<Object> ToObject(Isolate* isolate) const);
  85.       |                               ^~~~~~~~
  86. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  87.   311 |   declarator __attribute__((deprecated(message)))
  88.       |   ^~~~~~~~~~
  89. In file included from ../src/addon.cc:1:
  90. ../src/addon.cc: At global scope:
  91. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:556:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE){aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Object>)} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)} [-Wcast-function-type]
  92.   556 |       (node::addon_register_func) (regfunc),                          \
  93.       |                                           ^
  94. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:590:3: note: in expansion of macro ‘NODE_MODULE_X’
  95.   590 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
  96.       |   ^~~~~~~~~~~~~
  97. ../src/addon.cc:86:1: note: in expansion of macro ‘NODE_MODULE’
  98.    86 | NODE_MODULE(keccak, Init)
  99.       | ^~~~~~~~~~~
  100. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  101.                  from ../src/addon.cc:1:
  102. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  103. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78:   required from here
  104. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  105.  9893 |                reinterpret_cast<Callback>(callback), type);
  106.       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  107. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  108. ../../nan/nan_object_wrap.h:65:61:   required from here
  109. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  110. make: *** [keccak.target.mk:123: Release/obj.target/keccak/src/addon.o] Error 1
  111. make: Leaving directory '/home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/keccak/build'
  112. gyp ERR! build error
  113. gyp ERR! stack Error: `make` failed with exit code: 2
  114. gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:190:23)
  115. gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
  116. gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
  117. gyp ERR! System Linux 4.19.69-1-MANJARO
  118. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  119. gyp ERR! cwd /home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/keccak
  120. gyp ERR! node -v v12.9.1
  121. gyp ERR! node-gyp -v v5.0.2
  122. gyp ERR! not ok
  123. npm ERR! code ELIFECYCLE
  124. npm ERR! errno 1
  125. npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild`
  126. npm ERR! Exit status 1
  127. npm ERR!
  128. npm ERR! Failed at the keccak@1.4.0 rebuild script.
  129. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  130. npm WARN Local package.json exists, but node_modules missing, did you mean to install?
  131.  
  132. npm ERR! A complete log of this run can be found in:
  133. npm ERR!     /home/kshitij/.npm/_logs/2019-09-08T13_43_19_416Z-debug.log
  134. Keccak bindings compilation fail. Pure JS implementation will be used.
  135.  
  136. > secp256k1@3.7.1 install /home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/secp256k1
  137. > npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
  138.  
  139.  
  140. > secp256k1@3.7.1 rebuild /home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/secp256k1
  141. > node-gyp rebuild
  142.  
  143. make: Entering directory '/home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/secp256k1/build'
  144.   CXX(target) Release/obj.target/secp256k1/src/addon.o
  145. In file included from ../src/addon.cc:2:
  146. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  147. ../../nan/nan.h:2298:62: 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]
  148.  2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  149.       |                                                              ^
  150. In file included from ../src/addon.cc:1:
  151. ../src/addon.cc: At global scope:
  152. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:556:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE){aka ‘void (*)(v8::Local<v8::Object>)} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)} [-Wcast-function-type]
  153.   556 |       (node::addon_register_func) (regfunc),                          \
  154.       |                                           ^
  155. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:590:3: note: in expansion of macro ‘NODE_MODULE_X’
  156.   590 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
  157.       |   ^~~~~~~~~~~~~
  158. ../src/addon.cc:50:1: note: in expansion of macro ‘NODE_MODULE’
  159.    50 | NODE_MODULE(secp256k1, Init)
  160.       | ^~~~~~~~~~~
  161. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  162.                  from ../src/addon.cc:1:
  163. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  164. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78:   required from here
  165. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  166.  9893 |                reinterpret_cast<Callback>(callback), type);
  167.       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  168. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  169. ../../nan/nan_object_wrap.h:65:61:   required from here
  170. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  171.   CXX(target) Release/obj.target/secp256k1/src/privatekey.o
  172. In file included from ../src/privatekey.cc:2:
  173. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  174. ../../nan/nan.h:2298:62: 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]
  175.  2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  176.       |                                                              ^
  177. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  178.                  from ../src/privatekey.cc:1:
  179. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  180. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78:   required from here
  181. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  182.  9893 |                reinterpret_cast<Callback>(callback), type);
  183.       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  184. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  185. ../../nan/nan_object_wrap.h:65:61:   required from here
  186. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  187. ../src/privatekey.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE privateKeyNegate(Nan::NAN_METHOD_ARGS_TYPE)’:
  188. ../src/privatekey.cc:73:30: warning: ignoring return value of ‘int secp256k1_ec_privkey_negate(const secp256k1_context*, unsigned char*)’, declared with attribute warn_unused_result [-Wunused-result]
  189.    73 |   secp256k1_ec_privkey_negate(secp256k1ctx, &private_key[0]);
  190.       |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  191.   CXX(target) Release/obj.target/secp256k1/src/publickey.o
  192. In file included from ../src/publickey.cc:3:
  193. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  194. ../../nan/nan.h:2298:62: 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]
  195.  2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  196.       |                                                              ^
  197. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  198.                  from ../src/publickey.cc:2:
  199. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  200. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78:   required from here
  201. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  202.  9893 |                reinterpret_cast<Callback>(callback), type);
  203.       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  204. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  205. ../../nan/nan_object_wrap.h:65:61:   required from here
  206. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  207.   CXX(target) Release/obj.target/secp256k1/src/signature.o
  208. In file included from ../src/signature.cc:2:
  209. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  210. ../../nan/nan.h:2298:62: 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]
  211.  2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  212.       |                                                              ^
  213. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  214.                  from ../src/signature.cc:1:
  215. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  216. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78:   required from here
  217. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  218.  9893 |                reinterpret_cast<Callback>(callback), type);
  219.       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  220. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  221. ../../nan/nan_object_wrap.h:65:61:   required from here
  222. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  223.   CXX(target) Release/obj.target/secp256k1/src/ecdsa.o
  224. In file included from ../src/ecdsa.cc:2:
  225. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  226. ../../nan/nan.h:2298:62: 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]
  227.  2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  228.       |                                                              ^
  229. ../src/ecdsa.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE sign(Nan::NAN_METHOD_ARGS_TYPE)’:
  230. ../src/ecdsa.cc:88:131: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  231.    88 | g>("signature").ToLocalChecked(), COPY_BUFFER(&output[0], 64));
  232.       |                                                              ^
  233.  
  234. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  235.                  from ../src/ecdsa.cc:1:
  236. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3377:37: note: declared here
  237.  3377 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  238.       |                                     ^~~
  239. ../src/ecdsa.cc:89:130: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
  240.    89 | ng>("recovery").ToLocalChecked(), Nan::New<v8::Number>(recid));
  241.       |                                                              ^
  242.  
  243. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  244.                  from ../src/ecdsa.cc:1:
  245. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3377:37: note: declared here
  246.  3377 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  247.       |                                     ^~~
  248. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  249. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78:   required from here
  250. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  251.  9893 |                reinterpret_cast<Callback>(callback), type);
  252.       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  253. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  254. ../../nan/nan_object_wrap.h:65:61:   required from here
  255. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  256.   CXX(target) Release/obj.target/secp256k1/src/ecdh.o
  257. In file included from ../src/ecdh.cc:2:
  258. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  259. ../../nan/nan.h:2298:62: 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]
  260.  2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  261.       |                                                              ^
  262. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  263.                  from ../src/ecdh.cc:1:
  264. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  265. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78:   required from here
  266. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  267.  9893 |                reinterpret_cast<Callback>(callback), type);
  268.       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  269. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  270. ../../nan/nan_object_wrap.h:65:61:   required from here
  271. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  272.   CC(target) Release/obj.target/secp256k1/src/secp256k1-src/src/secp256k1.o
  273.   CC(target) Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_parsing.o
  274.   CC(target) Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_privatekey_parsing.o
  275.   SOLINK_MODULE(target) Release/obj.target/secp256k1.node
  276.   COPY Release/secp256k1.node
  277. make: Leaving directory '/home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/secp256k1/build'
  278.  
  279. > scrypt@6.0.3 install /home/kshitij/Documents/voting-app/node_modules/scrypt
  280. > node-gyp rebuild
  281.  
  282. make: Entering directory '/home/kshitij/Documents/voting-app/node_modules/scrypt/build'
  283.   SOLINK_MODULE(target) Release/obj.target/copied_files.node
  284.   COPY Release/copied_files.node
  285.   CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.o
  286.   CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o
  287.   CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o
  288.   CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o
  289.   AR(target) Release/obj.target/scrypt_wrapper.a
  290.   COPY Release/scrypt_wrapper.a
  291.   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt.o
  292.   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o
  293.   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/warnp.o
  294.   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/alg/sha256.o
  295.   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/insecure_memzero.o
  296.   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o
  297.   AR(target) Release/obj.target/scrypt_lib.a
  298.   COPY Release/scrypt_lib.a
  299.   CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o
  300. In file included from ../src/node-boilerplate/scrypt_common.cc:28:
  301. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  302. ../../nan/nan.h:2298:62: 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]
  303.  2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  304.       |                                                              ^
  305. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  306.                  from ../../nan/nan.h:54,
  307.                  from ../src/node-boilerplate/scrypt_common.cc:28:
  308. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  309. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78:   required from here
  310. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  311.  9893 |                reinterpret_cast<Callback>(callback), type);
  312.       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  313. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  314. ../../nan/nan_object_wrap.h:65:61:   required from here
  315. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  316.   CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o
  317. In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:
  318. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  319. ../../nan/nan.h:2298:62: 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]
  320.  2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  321.       |                                                              ^
  322. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
  323.                  from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  324.                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
  325. ../src/node-boilerplate/inc/scrypt_common.h: In constructor ‘NodeScrypt::Params::Params(const v8::Local<v8::Object>&)’:
  326. ../src/node-boilerplate/inc/scrypt_common.h:39:48: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  327.    39 |       N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
  328.       |                                                ^
  329. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
  330.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
  331.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  332.                  from ../../nan/nan.h:54,
  333.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  334. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3425:51: note: declared here
  335.  3425 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
  336.       |                                                   ^~~
  337. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  338.   311 |   declarator __attribute__((deprecated(message)))
  339.       |   ^~~~~~~~~~
  340. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
  341.                  from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  342.                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
  343. ../src/node-boilerplate/inc/scrypt_common.h:39:63: error: no matching function for call to ‘v8::Value::Uint32Value()
  344.    39 |       N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
  345.       |                                                               ^
  346. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  347.                  from ../../nan/nan.h:54,
  348.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  349. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’
  350.  2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  351.       |                                         ^~~~~~~~~~~
  352. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: note:   candidate expects 1 argument, 0 provided
  353. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
  354.                  from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  355.                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
  356. ../src/node-boilerplate/inc/scrypt_common.h:40:48: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  357.    40 |       r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
  358.       |                                                ^
  359. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
  360.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
  361.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  362.                  from ../../nan/nan.h:54,
  363.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  364. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3425:51: note: declared here
  365.  3425 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
  366.       |                                                   ^~~
  367. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  368.   311 |   declarator __attribute__((deprecated(message)))
  369.       |   ^~~~~~~~~~
  370. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
  371.                  from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  372.                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
  373. ../src/node-boilerplate/inc/scrypt_common.h:40:63: error: no matching function for call to ‘v8::Value::Uint32Value()
  374.    40 |       r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
  375.       |                                                               ^
  376. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  377.                  from ../../nan/nan.h:54,
  378.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  379. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’
  380.  2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  381.       |                                         ^~~~~~~~~~~
  382. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: note:   candidate expects 1 argument, 0 provided
  383. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
  384.                  from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  385.                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
  386. ../src/node-boilerplate/inc/scrypt_common.h:41:48: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  387.    41 |       p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
  388.       |                                                ^
  389. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
  390.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
  391.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  392.                  from ../../nan/nan.h:54,
  393.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  394. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3425:51: note: declared here
  395.  3425 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
  396.       |                                                   ^~~
  397. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  398.   311 |   declarator __attribute__((deprecated(message)))
  399.       |   ^~~~~~~~~~
  400. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
  401.                  from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  402.                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
  403. ../src/node-boilerplate/inc/scrypt_common.h:41:63: error: no matching function for call to ‘v8::Value::Uint32Value()
  404.    41 |       p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
  405.       |                                                               ^
  406. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  407.                  from ../../nan/nan.h:54,
  408.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  409. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’
  410.  2580 |   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  411.       |                                         ^~~~~~~~~~~
  412. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: note:   candidate expects 1 argument, 0 provided
  413. In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  414.                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
  415. ../src/node-boilerplate/inc/scrypt_async.h: In member function ‘virtual void ScryptAsyncWorker::HandleErrorCallback()’:
  416. ../src/node-boilerplate/inc/scrypt_async.h:53:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  417.    53 |       callback->Call(1, argv);
  418.       |                             ^
  419. In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:
  420. ../../nan/nan.h:1740:3: note: declared here
  421.  1740 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
  422.       |   ^~~~
  423. In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
  424. ../src/node-boilerplate/inc/scrypt_params_async.h: In constructor ‘ScryptParamsAsyncWorker::ScryptParamsAsyncWorker(Nan::NAN_METHOD_ARGS_TYPE)’:
  425. ../src/node-boilerplate/inc/scrypt_params_async.h:35:36: error: no matching function for call to ‘v8::Value::NumberValue()
  426.    35 |       maxtime(info[0]->NumberValue()),
  427.       |                                    ^
  428. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  429.                  from ../../nan/nan.h:54,
  430.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  431. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: note: candidate: ‘v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const’
  432.  2577 |   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
  433.       |                                       ^~~~~~~~~~~
  434. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: note:   candidate expects 1 argument, 0 provided
  435. In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
  436. ../src/node-boilerplate/inc/scrypt_params_async.h:36:39: error: no matching function for call to ‘v8::Value::NumberValue()
  437.    36 |       maxmemfrac(info[1]->NumberValue()),
  438.       |                                       ^
  439. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  440.                  from ../../nan/nan.h:54,
  441.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  442. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: note: candidate: ‘v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const’
  443.  2577 |   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
  444.       |                                       ^~~~~~~~~~~
  445. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: note:   candidate expects 1 argument, 0 provided
  446. In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
  447. ../src/node-boilerplate/inc/scrypt_params_async.h:37:36: error: no matching function for call to ‘v8::Value::IntegerValue()
  448.    37 |       maxmem(info[2]->IntegerValue()),
  449.       |                                    ^
  450. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  451.                  from ../../nan/nan.h:54,
  452.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  453. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
  454.  2578 |   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  455.       |                                        ^~~~~~~~~~~~
  456. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note:   candidate expects 1 argument, 0 provided
  457. In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
  458. ../src/node-boilerplate/inc/scrypt_params_async.h:38:39: error: no matching function for call to ‘v8::Value::IntegerValue()
  459.    38 |       osfreemem(info[3]->IntegerValue())
  460.       |                                       ^
  461. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  462.                  from ../../nan/nan.h:54,
  463.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  464. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
  465.  2578 |   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  466.       |                                        ^~~~~~~~~~~~
  467. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note:   candidate expects 1 argument, 0 provided
  468. ../src/node-boilerplate/scrypt_params_async.cc: In member function ‘virtual void ScryptParamsAsyncWorker::HandleOKCallback()’:
  469. ../src/node-boilerplate/scrypt_params_async.cc:23:67: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  470.    23 |   obj->Set(Nan::New("N").ToLocalChecked(), Nan::New<Integer>(logN));
  471.       |                                                                   ^
  472. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
  473.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
  474.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  475.                  from ../../nan/nan.h:54,
  476.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  477. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
  478.  3372 |                 bool Set(Local<Value> key, Local<Value> value));
  479.       |                      ^~~
  480. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  481.   311 |   declarator __attribute__((deprecated(message)))
  482.       |   ^~~~~~~~~~
  483. ../src/node-boilerplate/scrypt_params_async.cc:24:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  484.    24 |   obj->Set(Nan::New("r").ToLocalChecked(), Nan::New<Integer>(r));
  485.       |                                                                ^
  486. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
  487.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
  488.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  489.                  from ../../nan/nan.h:54,
  490.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  491. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
  492.  3372 |                 bool Set(Local<Value> key, Local<Value> value));
  493.       |                      ^~~
  494. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  495.   311 |   declarator __attribute__((deprecated(message)))
  496.       |   ^~~~~~~~~~
  497. ../src/node-boilerplate/scrypt_params_async.cc:25:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  498.    25 |   obj->Set(Nan::New("p").ToLocalChecked(), Nan::New<Integer>(p));
  499.       |                                                                ^
  500. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
  501.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
  502.                  from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  503.                  from ../../nan/nan.h:54,
  504.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  505. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
  506.  3372 |                 bool Set(Local<Value> key, Local<Value> value));
  507.       |                      ^~~
  508. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  509.   311 |   declarator __attribute__((deprecated(message)))
  510.       |   ^~~~~~~~~~
  511. ../src/node-boilerplate/scrypt_params_async.cc:32:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  512.    32 |   callback->Call(2, argv);
  513.       |                         ^
  514. In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:
  515. ../../nan/nan.h:1740:3: note: declared here
  516.  1740 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
  517.       |   ^~~~
  518. In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
  519.                  from ../../nan/nan.h:54,
  520.                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
  521. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  522. /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78:   required from here
  523. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  524.  9893 |                reinterpret_cast<Callback>(callback), type);
  525.       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  526. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  527. ../../nan/nan_object_wrap.h:65:61:   required from here
  528. /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:9893:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  529. make: *** [scrypt.target.mk:125: Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1
  530. make: Leaving directory '/home/kshitij/Documents/voting-app/node_modules/scrypt/build'
  531. gyp ERR! build error
  532. gyp ERR! stack Error: `make` failed with exit code: 2
  533. gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:190:23)
  534. gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
  535. gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
  536. gyp ERR! System Linux 4.19.69-1-MANJARO
  537. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  538. gyp ERR! cwd /home/kshitij/Documents/voting-app/node_modules/scrypt
  539. gyp ERR! node -v v12.9.1
  540. gyp ERR! node-gyp -v v5.0.2
  541. gyp ERR! not ok
  542. npm WARN enoent ENOENT: no such file or directory, open '/home/kshitij/Documents/voting-app/package.json'
  543. npm WARN voting-app No description
  544. npm WARN voting-app No repository field.
  545. npm WARN voting-app No README data
  546. npm WARN voting-app No license field.
  547.  
  548. npm ERR! code ELIFECYCLE
  549. npm ERR! errno 1
  550. npm ERR! scrypt@6.0.3 install: `node-gyp rebuild`
  551. npm ERR! Exit status 1
  552. npm ERR!
  553. npm ERR! Failed at the scrypt@6.0.3 install script.
  554. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  555.  
  556. npm ERR! A complete log of this run can be found in:
  557. npm ERR!     /home/kshitij/.npm/_logs/2019-09-08T13_43_35_893Z-debug.log
Add Comment
Please, Sign In to add comment