Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [kshitij@hp voting-app]$ npm install ganache-cli web3@1.0.0-beta.37 solc@0.5.3
- npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
- 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
- > scrypt@6.0.3 preinstall /home/kshitij/Documents/voting-app/node_modules/scrypt
- > node node-scrypt-preinstall.js
- > keccak@1.4.0 install /home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/keccak
- > npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
- > keccak@1.4.0 rebuild /home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/keccak
- > node-gyp rebuild
- make: Entering directory '/home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/keccak/build'
- CXX(target) Release/obj.target/keccak/src/addon.o
- In file included from ../src/addon.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- | ^
- ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Initialize(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/addon.cc:37:47: error: no matching function for call to ‘v8::Value::IntegerValue()’
- 37 | unsigned int rate = info[0]->IntegerValue();
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/addon.cc:1:
- /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’
- 2578 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
- | ^~~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
- ../src/addon.cc:38:51: error: no matching function for call to ‘v8::Value::IntegerValue()’
- 38 | unsigned int capacity = info[1]->IntegerValue();
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/addon.cc:1:
- /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’
- 2578 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
- | ^~~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
- ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::AbsorbLastFewBits(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/addon.cc:56:48: error: no matching function for call to ‘v8::Value::IntegerValue()’
- 56 | unsigned char bits = info[0]->IntegerValue();
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/addon.cc:1:
- /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’
- 2578 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
- | ^~~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
- ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Squeeze(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/addon.cc:64:43: error: no matching function for call to ‘v8::Value::IntegerValue()’
- 64 | size_t length = info[0]->IntegerValue();
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/addon.cc:1:
- /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’
- 2578 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
- | ^~~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
- ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Copy(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/addon.cc:75:82: error: no matching function for call to ‘v8::Value::ToObject()’
- 75 | o = Nan::ObjectWrap::Unwrap<KeccakWrapper>(info[0]->ToObject());
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/addon.cc:1:
- /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’
- 2545 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- | ^~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2545:44: note: candidate expects 1 argument, 0 provided
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/addon.cc:1:
- /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’
- 2559 | Local<Object> ToObject(Isolate* isolate) const);
- | ^~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- 311 | declarator __attribute__((deprecated(message)))
- | ^~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2559:31: note: candidate expects 1 argument, 0 provided
- 2559 | Local<Object> ToObject(Isolate* isolate) const);
- | ^~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- 311 | declarator __attribute__((deprecated(message)))
- | ^~~~~~~~~~
- In file included from ../src/addon.cc:1:
- ../src/addon.cc: At global scope:
- /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]
- 556 | (node::addon_register_func) (regfunc), \
- | ^
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:590:3: note: in expansion of macro ‘NODE_MODULE_X’
- 590 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
- | ^~~~~~~~~~~~~
- ../src/addon.cc:86:1: note: in expansion of macro ‘NODE_MODULE’
- 86 | NODE_MODULE(keccak, Init)
- | ^~~~~~~~~~~
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/addon.cc:1:
- /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>&)]’:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
- /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]
- 9893 | reinterpret_cast<Callback>(callback), type);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- make: *** [keccak.target.mk:123: Release/obj.target/keccak/src/addon.o] Error 1
- make: Leaving directory '/home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/keccak/build'
- gyp ERR! build error
- gyp ERR! stack Error: `make` failed with exit code: 2
- gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:190:23)
- gyp ERR! stack at ChildProcess.emit (events.js:209:13)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
- gyp ERR! System Linux 4.19.69-1-MANJARO
- gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- gyp ERR! cwd /home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/keccak
- gyp ERR! node -v v12.9.1
- gyp ERR! node-gyp -v v5.0.2
- gyp ERR! not ok
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the keccak@1.4.0 rebuild script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm WARN Local package.json exists, but node_modules missing, did you mean to install?
- npm ERR! A complete log of this run can be found in:
- npm ERR! /home/kshitij/.npm/_logs/2019-09-08T13_43_19_416Z-debug.log
- Keccak bindings compilation fail. Pure JS implementation will be used.
- > secp256k1@3.7.1 install /home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/secp256k1
- > npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
- > secp256k1@3.7.1 rebuild /home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/secp256k1
- > node-gyp rebuild
- make: Entering directory '/home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/secp256k1/build'
- CXX(target) Release/obj.target/secp256k1/src/addon.o
- In file included from ../src/addon.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- | ^
- In file included from ../src/addon.cc:1:
- ../src/addon.cc: At global scope:
- /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]
- 556 | (node::addon_register_func) (regfunc), \
- | ^
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:590:3: note: in expansion of macro ‘NODE_MODULE_X’
- 590 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
- | ^~~~~~~~~~~~~
- ../src/addon.cc:50:1: note: in expansion of macro ‘NODE_MODULE’
- 50 | NODE_MODULE(secp256k1, Init)
- | ^~~~~~~~~~~
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/addon.cc:1:
- /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>&)]’:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
- /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]
- 9893 | reinterpret_cast<Callback>(callback), type);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- CXX(target) Release/obj.target/secp256k1/src/privatekey.o
- In file included from ../src/privatekey.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/privatekey.cc:1:
- /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>&)]’:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
- /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]
- 9893 | reinterpret_cast<Callback>(callback), type);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- ../src/privatekey.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE privateKeyNegate(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../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]
- 73 | secp256k1_ec_privkey_negate(secp256k1ctx, &private_key[0]);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/secp256k1/src/publickey.o
- In file included from ../src/publickey.cc:3:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/publickey.cc:2:
- /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>&)]’:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
- /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]
- 9893 | reinterpret_cast<Callback>(callback), type);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- CXX(target) Release/obj.target/secp256k1/src/signature.o
- In file included from ../src/signature.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/signature.cc:1:
- /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>&)]’:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
- /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]
- 9893 | reinterpret_cast<Callback>(callback), type);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- CXX(target) Release/obj.target/secp256k1/src/ecdsa.o
- In file included from ../src/ecdsa.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- | ^
- ../src/ecdsa.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE sign(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../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]
- 88 | g>("signature").ToLocalChecked(), COPY_BUFFER(&output[0], 64));
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/ecdsa.cc:1:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3377:37: note: declared here
- 3377 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
- | ^~~
- ../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]
- 89 | ng>("recovery").ToLocalChecked(), Nan::New<v8::Number>(recid));
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/ecdsa.cc:1:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3377:37: note: declared here
- 3377 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
- | ^~~
- /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>&)]’:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
- /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]
- 9893 | reinterpret_cast<Callback>(callback), type);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- CXX(target) Release/obj.target/secp256k1/src/ecdh.o
- In file included from ../src/ecdh.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../src/ecdh.cc:1:
- /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>&)]’:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
- /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]
- 9893 | reinterpret_cast<Callback>(callback), type);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- CC(target) Release/obj.target/secp256k1/src/secp256k1-src/src/secp256k1.o
- CC(target) Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_parsing.o
- CC(target) Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_privatekey_parsing.o
- SOLINK_MODULE(target) Release/obj.target/secp256k1.node
- COPY Release/secp256k1.node
- make: Leaving directory '/home/kshitij/Documents/voting-app/node_modules/ganache-cli/node_modules/secp256k1/build'
- > scrypt@6.0.3 install /home/kshitij/Documents/voting-app/node_modules/scrypt
- > node-gyp rebuild
- make: Entering directory '/home/kshitij/Documents/voting-app/node_modules/scrypt/build'
- SOLINK_MODULE(target) Release/obj.target/copied_files.node
- COPY Release/copied_files.node
- CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.o
- CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o
- CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o
- CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o
- AR(target) Release/obj.target/scrypt_wrapper.a
- COPY Release/scrypt_wrapper.a
- CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt.o
- CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o
- CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/warnp.o
- CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/alg/sha256.o
- CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/insecure_memzero.o
- CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o
- AR(target) Release/obj.target/scrypt_lib.a
- COPY Release/scrypt_lib.a
- CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o
- In file included from ../src/node-boilerplate/scrypt_common.cc:28:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_common.cc:28:
- /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>&)]’:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
- /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]
- 9893 | reinterpret_cast<Callback>(callback), type);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o
- In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- | ^
- In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
- from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
- from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../src/node-boilerplate/inc/scrypt_common.h: In constructor ‘NodeScrypt::Params::Params(const v8::Local<v8::Object>&)’:
- ../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]
- 39 | N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3425:51: note: declared here
- 3425 | V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
- | ^~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- 311 | declarator __attribute__((deprecated(message)))
- | ^~~~~~~~~~
- In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
- from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
- from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../src/node-boilerplate/inc/scrypt_common.h:39:63: error: no matching function for call to ‘v8::Value::Uint32Value()’
- 39 | N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /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’
- 2580 | V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
- | ^~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: note: candidate expects 1 argument, 0 provided
- In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
- from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
- from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../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]
- 40 | r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3425:51: note: declared here
- 3425 | V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
- | ^~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- 311 | declarator __attribute__((deprecated(message)))
- | ^~~~~~~~~~
- In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
- from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
- from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../src/node-boilerplate/inc/scrypt_common.h:40:63: error: no matching function for call to ‘v8::Value::Uint32Value()’
- 40 | r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /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’
- 2580 | V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
- | ^~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: note: candidate expects 1 argument, 0 provided
- In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
- from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
- from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../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]
- 41 | p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3425:51: note: declared here
- 3425 | V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
- | ^~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- 311 | declarator __attribute__((deprecated(message)))
- | ^~~~~~~~~~
- In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
- from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
- from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../src/node-boilerplate/inc/scrypt_common.h:41:63: error: no matching function for call to ‘v8::Value::Uint32Value()’
- 41 | p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /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’
- 2580 | V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
- | ^~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2580:41: note: candidate expects 1 argument, 0 provided
- In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
- from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../src/node-boilerplate/inc/scrypt_async.h: In member function ‘virtual void ScryptAsyncWorker::HandleErrorCallback()’:
- ../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]
- 53 | callback->Call(1, argv);
- | ^
- In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:
- ../../nan/nan.h:1740:3: note: declared here
- 1740 | Call(int argc, v8::Local<v8::Value> argv[]) const {
- | ^~~~
- In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../src/node-boilerplate/inc/scrypt_params_async.h: In constructor ‘ScryptParamsAsyncWorker::ScryptParamsAsyncWorker(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/node-boilerplate/inc/scrypt_params_async.h:35:36: error: no matching function for call to ‘v8::Value::NumberValue()’
- 35 | maxtime(info[0]->NumberValue()),
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /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’
- 2577 | V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
- | ^~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: note: candidate expects 1 argument, 0 provided
- In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../src/node-boilerplate/inc/scrypt_params_async.h:36:39: error: no matching function for call to ‘v8::Value::NumberValue()’
- 36 | maxmemfrac(info[1]->NumberValue()),
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /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’
- 2577 | V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
- | ^~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2577:39: note: candidate expects 1 argument, 0 provided
- In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../src/node-boilerplate/inc/scrypt_params_async.h:37:36: error: no matching function for call to ‘v8::Value::IntegerValue()’
- 37 | maxmem(info[2]->IntegerValue()),
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /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’
- 2578 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
- | ^~~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
- In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
- ../src/node-boilerplate/inc/scrypt_params_async.h:38:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
- 38 | osfreemem(info[3]->IntegerValue())
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /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’
- 2578 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
- | ^~~~~~~~~~~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
- ../src/node-boilerplate/scrypt_params_async.cc: In member function ‘virtual void ScryptParamsAsyncWorker::HandleOKCallback()’:
- ../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]
- 23 | obj->Set(Nan::New("N").ToLocalChecked(), Nan::New<Integer>(logN));
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
- 3372 | bool Set(Local<Value> key, Local<Value> value));
- | ^~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- 311 | declarator __attribute__((deprecated(message)))
- | ^~~~~~~~~~
- ../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]
- 24 | obj->Set(Nan::New("r").ToLocalChecked(), Nan::New<Integer>(r));
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
- 3372 | bool Set(Local<Value> key, Local<Value> value));
- | ^~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- 311 | declarator __attribute__((deprecated(message)))
- | ^~~~~~~~~~
- ../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]
- 25 | obj->Set(Nan::New("p").ToLocalChecked(), Nan::New<Integer>(p));
- | ^
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8-internal.h:14,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:25,
- from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8.h:3372:22: note: declared here
- 3372 | bool Set(Local<Value> key, Local<Value> value));
- | ^~~
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- 311 | declarator __attribute__((deprecated(message)))
- | ^~~~~~~~~~
- ../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]
- 32 | callback->Call(2, argv);
- | ^
- In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:
- ../../nan/nan.h:1740:3: note: declared here
- 1740 | Call(int argc, v8::Local<v8::Value> argv[]) const {
- | ^~~~
- In file included from /home/kshitij/.cache/node-gyp/12.9.1/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/node-boilerplate/scrypt_params_async.cc:1:
- /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>&)]’:
- /home/kshitij/.cache/node-gyp/12.9.1/include/node/node_object_wrap.h:84:78: required from here
- /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]
- 9893 | reinterpret_cast<Callback>(callback), type);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- make: *** [scrypt.target.mk:125: Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1
- make: Leaving directory '/home/kshitij/Documents/voting-app/node_modules/scrypt/build'
- gyp ERR! build error
- gyp ERR! stack Error: `make` failed with exit code: 2
- gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:190:23)
- gyp ERR! stack at ChildProcess.emit (events.js:209:13)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
- gyp ERR! System Linux 4.19.69-1-MANJARO
- gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- gyp ERR! cwd /home/kshitij/Documents/voting-app/node_modules/scrypt
- gyp ERR! node -v v12.9.1
- gyp ERR! node-gyp -v v5.0.2
- gyp ERR! not ok
- npm WARN enoent ENOENT: no such file or directory, open '/home/kshitij/Documents/voting-app/package.json'
- npm WARN voting-app No description
- npm WARN voting-app No repository field.
- npm WARN voting-app No README data
- npm WARN voting-app No license field.
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! scrypt@6.0.3 install: `node-gyp rebuild`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the scrypt@6.0.3 install script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! /home/kshitij/.npm/_logs/2019-09-08T13_43_35_893Z-debug.log
Add Comment
Please, Sign In to add comment