Created
December 16, 2019 20:03
-
-
Save coetry/3754a8ef4b2780f1e60f1e713cc8502b to your computer and use it in GitHub Desktop.
nowtool install logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
▲ (trapbook) ~ npm i -g @zeit/nowtool | |
npm WARN deprecated @types/[email protected]: This is a stub types definition. jest-diff provides its own type definitions, so you do not need this installed. | |
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. | |
npm WARN deprecated [email protected]: use is-stream instead | |
/home/coetry/.nvm/versions/node/v12.13.1/bin/nowtool -> /home/coetry/.nvm/versions/node/v12.13.1/lib/node_modules/@zeit/nowtool/bin/nowtool | |
> [email protected] install /home/coetry/.nvm/versions/node/v12.13.1/lib/node_modules/@zeit/nowtool/node_modules/dtrace-provider | |
> node-gyp rebuild || node suppress-error.js | |
make: Entering directory '/home/coetry/.nvm/versions/node/v12.13.1/lib/node_modules/@zeit/nowtool/node_modules/dtrace-provider/build' | |
TOUCH Release/obj.target/DTraceProviderStub.stamp | |
make: Leaving directory '/home/coetry/.nvm/versions/node/v12.13.1/lib/node_modules/@zeit/nowtool/node_modules/dtrace-provider/build' | |
> [email protected] install /home/coetry/.nvm/versions/node/v12.13.1/lib/node_modules/@zeit/nowtool/node_modules/sha3 | |
> node-gyp rebuild | |
make: Entering directory '/home/coetry/.nvm/versions/node/v12.13.1/lib/node_modules/@zeit/nowtool/node_modules/sha3/build' | |
CXX(target) Release/obj.target/sha3/src/addon.o | |
In file included from ../node_modules/nan/nan_converters.h:67, | |
from ../node_modules/nan/nan.h:202, | |
from ../src/addon.cpp:4: | |
../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’: | |
../node_modules/nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations] | |
18 | val->To ## TYPE(isolate->GetCurrentContext()) \ | |
| ^ | |
../node_modules/nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’ | |
22 | X(Boolean) | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2568:59: note: declared here | |
2568 | V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean( | |
| ^~~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’ | |
311 | declarator __attribute__((deprecated(message))) | |
| ^~~~~~~~~~ | |
In file included from ../node_modules/nan/nan_converters.h:67, | |
from ../node_modules/nan/nan.h:202, | |
from ../src/addon.cpp:4: | |
../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’: | |
../node_modules/nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations] | |
37 | return val->NAME ## Value(isolate->GetCurrentContext()); \ | |
| ^ | |
../node_modules/nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’ | |
40 | X(bool, Boolean) | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2606:51: note: declared here | |
2606 | V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue( | |
| ^~~~~~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’ | |
311 | declarator __attribute__((deprecated(message))) | |
| ^~~~~~~~~~ | |
In file included from ../node_modules/nan/nan_new.h:189, | |
from ../node_modules/nan/nan.h:203, | |
from ../src/addon.cpp:4: | |
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’: | |
../node_modules/nan/nan_implementation_12_inl.h:103:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ | |
103 | return scope.Escape(v8::Function::New( isolate | |
| ^~~~~~~ | |
| | | |
| v8::Isolate* | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:4171:22: note: initializing argument 1 of ‘static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)’ | |
4171 | Local<Context> context, FunctionCallback callback, | |
| ~~~~~~~~~~~~~~~^~~~~~~ | |
In file included from ../node_modules/nan/nan_new.h:189, | |
from ../node_modules/nan/nan.h:203, | |
from ../src/addon.cpp:4: | |
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’: | |
../node_modules/nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’ | |
337 | return v8::StringObject::New(value).As<v8::StringObject>(); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:5426:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’ | |
5426 | static Local<Value> New(Isolate* isolate, Local<String> value); | |
| ^~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:5426:23: note: candidate expects 2 arguments, 1 provided | |
In file included from ../node_modules/nan/nan_new.h:189, | |
from ../node_modules/nan/nan.h:203, | |
from ../src/addon.cpp:4: | |
../node_modules/nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token | |
337 | return v8::StringObject::New(value).As<v8::StringObject>(); | |
| ^ | |
../node_modules/nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token | |
337 | return v8::StringObject::New(value).As<v8::StringObject>(); | |
| ^ | |
In file included from ../src/addon.cpp:4: | |
../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: | |
../node_modules/nan/nan.h:1034:53: error: no matching function for call to ‘v8::Value::ToString()’ | |
1034 | v8::Local<v8::String> string = from->ToString(); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2572:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ | |
2572 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( | |
| ^~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2572:44: note: candidate expects 1 argument, 0 provided | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2588:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ | |
2588 | Local<String> ToString(Isolate* isolate) const); | |
| ^~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’ | |
311 | declarator __attribute__((deprecated(message))) | |
| ^~~~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2588:31: note: candidate expects 1 argument, 0 provided | |
2588 | Local<String> ToString(Isolate* isolate) const); | |
| ^~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.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.cpp:4: | |
../node_modules/nan/nan.h:1044:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’ | |
1044 | length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags); | |
| ^~~~ | |
| | | |
| char* | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2782:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ | |
2782 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, | |
| ~~~~~~~~~^~~~~~~ | |
In file included from ../src/addon.cpp:4: | |
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’: | |
../node_modules/nan/nan.h:1818:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
1818 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:3403:22: note: declared here | |
3403 | bool Set(Local<Value> key, Local<Value> value)); | |
| ^~~ | |
/home/coetry/.cache/node-gyp/12.13.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.cpp:4: | |
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’: | |
../node_modules/nan/nan.h:1824:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
1824 | New(persistentHandle)->Set(key, value); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:3403:22: note: declared here | |
3403 | bool Set(Local<Value> key, Local<Value> value)); | |
| ^~~ | |
/home/coetry/.cache/node-gyp/12.13.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.cpp:4: | |
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’: | |
../node_modules/nan/nan.h:1830:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
1830 | New(persistentHandle)->Set(index, value); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:3412:22: note: declared here | |
3412 | bool Set(uint32_t index, Local<Value> value)); | |
| ^~~ | |
/home/coetry/.cache/node-gyp/12.13.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.cpp:4: | |
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’: | |
../node_modules/nan/nan.h:1836:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
1836 | New(persistentHandle)->Get(New(key).ToLocalChecked())); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:3457:51: note: declared here | |
3457 | V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key)); | |
| ^~~ | |
/home/coetry/.cache/node-gyp/12.13.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.cpp:4: | |
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’: | |
../node_modules/nan/nan.h:1842:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
1842 | return scope.Escape(New(persistentHandle)->Get(key)); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:3457:51: note: declared here | |
3457 | V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key)); | |
| ^~~ | |
/home/coetry/.cache/node-gyp/12.13.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.cpp:4: | |
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’: | |
../node_modules/nan/nan.h:1847:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
1847 | return scope.Escape(New(persistentHandle)->Get(index)); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:3461:51: note: declared here | |
3461 | V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index)); | |
| ^~~ | |
/home/coetry/.cache/node-gyp/12.13.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.cpp:4: | |
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: | |
../node_modules/nan/nan.h:2167: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] | |
2167 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) | |
| ^ | |
In file included from /usr/include/c++/9/cassert:44, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node_object_wrap.h:26, | |
from ../node_modules/nan/nan.h:53, | |
from ../src/addon.cpp:4: | |
../node_modules/nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’: | |
../node_modules/nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ | |
24 | assert(persistent().IsNearDeath()); | |
| ^~~~~~~~~~~ | |
In file included from ../node_modules/nan/nan.h:2657, | |
from ../src/addon.cpp:4: | |
../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’: | |
../node_modules/nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations] | |
67 | persistent().MarkIndependent(); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:567:22: note: declared here | |
567 | V8_INLINE void MarkIndependent()); | |
| ^~~~~~~~~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’ | |
311 | declarator __attribute__((deprecated(message))) | |
| ^~~~~~~~~~ | |
In file included from /usr/include/c++/9/cassert:44, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node_object_wrap.h:26, | |
from ../node_modules/nan/nan.h:53, | |
from ../src/addon.cpp:4: | |
../node_modules/nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’: | |
../node_modules/nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ | |
124 | assert(wrap->handle_.IsNearDeath()); | |
| ^~~~~~~~~~~ | |
../src/addon.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SHA3Hash::New(Nan::NAN_METHOD_ARGS_TYPE)’: | |
../src/addon.cpp:36:64: error: no matching function for call to ‘v8::Value::Int32Value()’ | |
36 | hashlen = info[0]->IsUndefined() ? 512 : info[0]->Int32Value(); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ | |
2613 | V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; | |
| ^~~~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided | |
../src/addon.cpp:49:23: warning: ‘new’ of type ‘SHA3Hash’ with extended alignment 32 [-Waligned-new=] | |
49 | obj = new SHA3Hash(); | |
| ^ | |
../src/addon.cpp:49:23: note: uses ‘void* operator new(std::size_t)’, which does not have an alignment parameter | |
../src/addon.cpp:49:23: note: use ‘-faligned-new’ to enable C++17 over-aligned new support | |
../src/addon.cpp: In static member function ‘static void SHA3Hash::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’: | |
../src/addon.cpp:76:36: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ | |
76 | constructor.Reset(t->GetFunction()); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ | |
5995 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( | |
| ^~~~~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided | |
../src/addon.cpp:77:77: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ | |
77 | an::New<String>("SHA3Hash").ToLocalChecked(), t->GetFunction()); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ | |
5995 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( | |
| ^~~~~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided | |
../src/addon.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SHA3Hash::Update(Nan::NAN_METHOD_ARGS_TYPE)’: | |
../src/addon.cpp:97:49: error: no matching function for call to ‘v8::Value::ToObject()’ | |
97 | Local<Object> buffer_obj = info[0]->ToObject(); | |
| ^ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’ | |
2576 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( | |
| ^~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:25, | |
from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’ | |
2590 | Local<Object> ToObject(Isolate* isolate) const); | |
| ^~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’ | |
311 | declarator __attribute__((deprecated(message))) | |
| ^~~~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided | |
2590 | Local<Object> ToObject(Isolate* isolate) const); | |
| ^~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.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.cpp:1: | |
../src/addon.cpp: At global scope: | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:566: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] | |
566 | (node::addon_register_func) (regfunc), \ | |
| ^ | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:600:3: note: in expansion of macro ‘NODE_MODULE_X’ | |
600 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | |
| ^~~~~~~~~~~~~ | |
../src/addon.cpp:164:1: note: in expansion of macro ‘NODE_MODULE’ | |
164 | NODE_MODULE(sha3, SHA3Hash::Init) | |
| ^~~~~~~~~~~ | |
In file included from /home/coetry/.cache/node-gyp/12.13.1/include/node/node.h:63, | |
from ../src/addon.cpp:1: | |
/home/coetry/.cache/node-gyp/12.13.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/coetry/.cache/node-gyp/12.13.1/include/node/node_object_wrap.h:84:78: required from here | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:10004: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] | |
10004 | reinterpret_cast<Callback>(callback), type); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/coetry/.cache/node-gyp/12.13.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>&)]’: | |
../node_modules/nan/nan_object_wrap.h:66:61: required from here | |
/home/coetry/.cache/node-gyp/12.13.1/include/node/v8.h:10004: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: *** [sha3.target.mk:113: Release/obj.target/sha3/src/addon.o] Error 1 | |
make: Leaving directory '/home/coetry/.nvm/versions/node/v12.13.1/lib/node_modules/@zeit/nowtool/node_modules/sha3/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/home/coetry/.nvm/versions/node/v12.13.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:210:5) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) | |
gyp ERR! System Linux 5.3.0-22-generic | |
gyp ERR! command "/home/coetry/.nvm/versions/node/v12.13.1/bin/node" "/home/coetry/.nvm/versions/node/v12.13.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /home/coetry/.nvm/versions/node/v12.13.1/lib/node_modules/@zeit/nowtool/node_modules/sha3 | |
gyp ERR! node -v v12.13.1 | |
gyp ERR! node-gyp -v v5.0.5 | |
gyp ERR! not ok | |
npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself. | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] install: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] 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/coetry/.npm/_logs/2019-12-16T20_01_29_013Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment