Skip to content

Instantly share code, notes, and snippets.

@lighth7015
Created June 25, 2020 10:23
Show Gist options
  • Save lighth7015/6d163c8f3ee9029aeb15e051d50eb9de to your computer and use it in GitHub Desktop.
Save lighth7015/6d163c8f3ee9029aeb15e051d50eb9de to your computer and use it in GitHub Desktop.
node-gyp sqlite3 failure
warning Error running install script for optional dependency: "/usr/share/.config/yarn/global/node_modules/bufferutil: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /usr/share/.config/yarn/global/node_modules/bufferutil
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.8.3 found at \"/usr/bin/python3\"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/bufferutil/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/14.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/14.3.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/14.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/share/.config/yarn/global/node_modules/bufferutil',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/usr/share/.config/yarn/global/node_modules/bufferutil/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../node_modules/nan/nan.h:190,
from ../src/bufferutil.cc:16:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
88 | return obj->ForceSet(GetCurrentContext(), key, value, attribs);
| ^~~~~~~~
In file included from ../node_modules/nan/nan_converters.h:59,
from ../node_modules/nan/nan.h:195,
from ../src/bufferutil.cc:16:
../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:15:43: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
15 | return val->To ## TYPE(GetCurrentContext()); \\\n | ~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../node_modules/nan/nan_converters_43_inl.h:18:1: note: in expansion of macro ‘X’
18 | X(Boolean)
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2845:37: note: initializing argument 1 of ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
2845 | Local<Boolean> ToBoolean(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_converters.h:59,
from ../node_modules/nan/nan.h:195,
from ../src/bufferutil.cc:16:
../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:31:46: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
31 | return val->NAME ## Value(GetCurrentContext()); \\\n | ~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../node_modules/nan/nan_converters_43_inl.h:34:1: note: in expansion of macro ‘X’
34 | X(bool, Boolean)
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2855:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
2855 | bool BooleanValue(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:196,
from ../src/bufferutil.cc:16:
../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:107:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
107 | return scope.Escape(v8::Function::New( isolate
| ^~~~~~~
| |
| v8::Isolate*
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:4408: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)’
4408 | Local<Context> context, FunctionCallback callback,
| ~~~~~~~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:196,
from ../src/bufferutil.cc:16:
../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:345:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
345 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:5784:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’
5784 | static Local<Value> New(Isolate* isolate, Local<String> value);
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:5784: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:196,
from ../src/bufferutil.cc:16:
../node_modules/nan/nan_implementation_12_inl.h:345:58: error: expected primary-expression before ‘>’ token
345 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
../node_modules/nan/nan_implementation_12_inl.h:345:60: error: expected primary-expression before ‘)’ token
345 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
817 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/bufferutil.cc:8:
/root/.cache/node-gyp/14.3.0/include/node/node.h:189:50: note: declared here
189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
831 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/bufferutil.cc:8:
/root/.cache/node-gyp/14.3.0/include/node/node.h:182:50: note: declared here
182 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
845 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/bufferutil.cc:8:
/root/.cache/node-gyp/14.3.0/include/node/node.h:175:50: note: declared here
175 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:890:53: error: no matching function for call to ‘v8::Value::ToString()’
890 | v8::Local<v8::String> string = from->ToString();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2807:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
2807 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2807:44: note: candidate expects 1 argument, 0 provided
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:900:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’
900 | length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
| ^~~~
| |
| char*
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3034:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
3034 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
| ~~~~~~~~~^~~~~~~
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1453:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1453 | ));
| ^
In file included from ../src/bufferutil.cc:8:
/root/.cache/node-gyp/14.3.0/include/node/node.h:189:50: note: declared here
189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../node_modules/nan/nan.h:1507:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
1507 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/bufferutil.cc:16:
../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:1513:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
1513 | New(persistentHandle)->Set(key, value);
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
../node_modules/nan/nan.h:1519:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
1519 | New(persistentHandle)->Set(index, value);
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../node_modules/nan/nan.h:1525:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
1525 | New(persistentHandle)->Get(New(key).ToLocalChecked()));
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/bufferutil.cc:16:
../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:1531:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
1531 | return scope.Escape(New(persistentHandle)->Get(key));
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../node_modules/nan/nan.h:1536:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
1536 | return scope.Escape(New(persistentHandle)->Get(index));
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1704:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1704 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10.1.0/cassert:44,
from /root/.cache/node-gyp/14.3.0/include/node/node_object_wrap.h:26,
from ../src/bufferutil.cc:11:
../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:2190,
from ../src/bufferutil.cc:16:
../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../node_modules/nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
67 | persistent().MarkIndependent();
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/10.1.0/cassert:44,
from /root/.cache/node-gyp/14.3.0/include/node/node_object_wrap.h:26,
from ../src/bufferutil.cc:11:
../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/bufferutil.cc: At global scope:
../src/bufferutil.cc:25:30: error: ‘v8::Handle’ has not been declared
25 | static void Initialize(v8::Handle<v8::Object> target)
| ^~~~~~
../src/bufferutil.cc:25:36: error: expected ‘,’ or ‘...’ before ‘<’ token
25 | static void Initialize(v8::Handle<v8::Object> target)
| ^
../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(int)’:
../src/bufferutil.cc:33:14: error: ‘target’ was not declared in this scope
33 | Nan::Set(target, Nan::New<String>(\"BufferUtil\").ToLocalChecked(), t->GetFunction());
| ^~~~~~
../src/bufferutil.cc:33:86: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
33 | Nan::Set(target, Nan::New<String>(\"BufferUtil\").ToLocalChecked(), t->GetFunction());
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:6404:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
6404 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:6404:46: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Merge(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bufferutil.cc:49:49: error: no matching function for call to ‘v8::Value::ToObject()’
49 | Local<Object> bufferObj = info[0]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:56:39: error: no matching function for call to ‘v8::Array::Get(unsigned int&)’
56 | Local<Object> src = array->Get(i)->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Unmask(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bufferutil.cc:67:50: error: no matching function for call to ‘v8::Value::ToObject()’
67 | Local<Object> buffer_obj = info[0]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:68:48: error: no matching function for call to ‘v8::Value::ToObject()’
68 | Local<Object> mask_obj = info[1]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Mask(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bufferutil.cc:109:50: error: no matching function for call to ‘v8::Value::ToObject()’
109 | Local<Object> buffer_obj = info[0]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:110:48: error: no matching function for call to ‘v8::Value::ToObject()’
110 | Local<Object> mask_obj = info[1]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:111:50: error: no matching function for call to ‘v8::Value::ToObject()’
111 | Local<Object> output_obj = info[2]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:112:45: error: no matching function for call to ‘v8::Value::Int32Value()’
112 | size_t dataOffset = info[3]->Int32Value();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2866:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2866 | V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
| ^~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2866:40: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:113:41: error: no matching function for call to ‘v8::Value::Int32Value()’
113 | size_t length = info[4]->Int32Value();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2866:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2866 | V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
| ^~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2866:40: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc: At global scope:
../src/bufferutil.cc:158:6: error: variable or field ‘init’ declared void
158 | void init (Handle<Object> target)
| ^~~~
../src/bufferutil.cc:158:12: error: ‘Handle’ was not declared in this scope
158 | void init (Handle<Object> target)
| ^~~~~~
../src/bufferutil.cc:158:25: error: expected primary-expression before ‘>’ token
158 | void init (Handle<Object> target)
| ^
../src/bufferutil.cc:158:27: error: ‘target’ was not declared in this scope
158 | void init (Handle<Object> target)
| ^~~~~~
In file included from ../src/bufferutil.cc:8:
../src/bufferutil.cc:164:25: error: ‘init’ was not declared in this scope; did you mean ‘int’?
164 | NODE_MODULE(bufferutil, init)
| ^~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:729:36: note: in definition of macro ‘NODE_MODULE_X’
729 | (node::addon_register_func) (regfunc), \\\n | ^~~~~~~
../src/bufferutil.cc:164:1: note: in expansion of macro ‘NODE_MODULE’
164 | NODE_MODULE(bufferutil, init)
| ^~~~~~~~~~~
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/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>&)]’:
/root/.cache/node-gyp/14.3.0/include/node/node_object_wrap.h:85:78: required from here
/root/.cache/node-gyp/14.3.0/include/node/v8.h:10745: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]
10745 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/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
/root/.cache/node-gyp/14.3.0/include/node/v8.h:10745: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: *** [bufferutil.target.mk:107: Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory '/usr/share/.config/yarn/global/node_modules/bufferutil/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:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.6.13-arch1-1
gyp ERR! command \"/usr/bin/node\" \"/usr/bin/node-gyp\" \"rebuild\"
gyp ERR! cwd /usr/share/.config/yarn/global/node_modules/bufferutil
[1/8] ⠈ bufferutil
[2/8] ⠈ utf-8-validate
gyp ERR! not ok"
[4/8] ⠁ bufferutil
warning Error running install script for optional dependency: "/usr/share/.config/yarn/global/node_modules/strong-arc/node_modules/bufferutil, /usr/share/.config/yarn/global/node_modules/strongloop/node_modules/ws/node_modules/bufferutil: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /usr/share/.config/yarn/global/node_modules/strong-arc/node_modules/bufferutil
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.8.3 found at \"/usr/bin/python3\"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/strong-arc/node_modules/bufferutil/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/14.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/14.3.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/14.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/share/.config/yarn/global/node_modules/strong-arc/node_modules/bufferutil',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/usr/share/.config/yarn/global/node_modules/strong-arc/node_modules/bufferutil/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:
../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../../nan/nan.h:2298:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/bufferutil.cc: At global scope:
../src/bufferutil.cc:25:30: error: ‘v8::Handle’ has not been declared
25 | static void Initialize(v8::Handle<v8::Object> target)
| ^~~~~~
../src/bufferutil.cc:25:36: error: expected ‘,’ or ‘...’ before ‘<’ token
25 | static void Initialize(v8::Handle<v8::Object> target)
| ^
../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(int)’:
../src/bufferutil.cc:33:14: error: ‘target’ was not declared in this scope
33 | Nan::Set(target, Nan::New<String>(\"BufferUtil\").ToLocalChecked(), t->GetFunction());
| ^~~~~~
../src/bufferutil.cc:33:86: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
33 | Nan::Set(target, Nan::New<String>(\"BufferUtil\").ToLocalChecked(), t->GetFunction());
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:6404:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
6404 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:6404:46: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Merge(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bufferutil.cc:49:49: error: no matching function for call to ‘v8::Value::ToObject()’
49 | Local<Object> bufferObj = info[0]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:56:39: error: no matching function for call to ‘v8::Array::Get(unsigned int&)’
56 | Local<Object> src = array->Get(i)->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Unmask(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bufferutil.cc:67:50: error: no matching function for call to ‘v8::Value::ToObject()’
67 | Local<Object> buffer_obj = info[0]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:69:48: error: no matching function for call to ‘v8::Value::ToObject()’
69 | Local<Object> mask_obj = info[1]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BufferUtil::Mask(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bufferutil.cc:88:50: error: no matching function for call to ‘v8::Value::ToObject()’
88 | Local<Object> buffer_obj = info[0]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:89:48: error: no matching function for call to ‘v8::Value::ToObject()’
89 | Local<Object> mask_obj = info[1]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:91:50: error: no matching function for call to ‘v8::Value::ToObject()’
91 | Local<Object> output_obj = info[2]->ToObject();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:92:51: error: no matching function for call to ‘v8::Value::Int32Value()’
92 | unsigned int dataOffset = info[3]->Int32Value();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2866:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2866 | V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
| ^~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2866:40: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc:93:47: error: no matching function for call to ‘v8::Value::Int32Value()’
93 | unsigned int length = info[4]->Int32Value();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2866:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2866 | V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
| ^~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2866:40: note: candidate expects 1 argument, 0 provided
../src/bufferutil.cc: At global scope:
../src/bufferutil.cc:114:6: error: variable or field ‘init’ declared void
114 | void init (Handle<Object> target)
| ^~~~
../src/bufferutil.cc:114:12: error: ‘Handle’ was not declared in this scope
114 | void init (Handle<Object> target)
| ^~~~~~
../src/bufferutil.cc:114:25: error: expected primary-expression before ‘>’ token
114 | void init (Handle<Object> target)
| ^
../src/bufferutil.cc:114:27: error: ‘target’ was not declared in this scope
114 | void init (Handle<Object> target)
| ^~~~~~
In file included from ../src/bufferutil.cc:8:
../src/bufferutil.cc:120:25: error: ‘init’ was not declared in this scope; did you mean ‘int’?
120 | NODE_MODULE(bufferutil, init)
| ^~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:729:36: note: in definition of macro ‘NODE_MODULE_X’
729 | (node::addon_register_func) (regfunc), \\\n | ^~~~~~~
../src/bufferutil.cc:120:1: note: in expansion of macro ‘NODE_MODULE’
120 | NODE_MODULE(bufferutil, init)
| ^~~~~~~~~~~
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/14.3.0/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>&)]’:
/root/.cache/node-gyp/14.3.0/include/node/node_object_wrap.h:85:78: required from here
/root/.cache/node-gyp/14.3.0/include/node/v8.h:10745: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]
10745 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/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
/root/.cache/node-gyp/14.3.0/include/node/v8.h:10745: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: *** [bufferutil.target.mk:108: Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory '/usr/share/.config/yarn/global/node_modules/strong-arc/node_modules/bufferutil/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:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.6.13-arch1-1
gyp ERR! command \"/usr/bin/node\" \"/usr/bin/node-gyp\" \"rebuild\"
gyp ERR! cwd /usr/share/.config/yarn/global/node_modules/strong-arc/node_modules/bufferutil
gyp ERR! node -v v14.3.0
gyp ERR! node-gyp -v v6.1.0
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
warning Error running install script for optional dependency: "/usr/share/.config/yarn/global/node_modules/utf-8-validate: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /usr/share/.config/yarn/global/node_modules/utf-8-validate
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.8.3 found at \"/usr/bin/python3\"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/utf-8-validate/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/14.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/14.3.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/14.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/share/.config/yarn/global/node_modules/utf-8-validate',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/usr/share/.config/yarn/global/node_modules/utf-8-validate/build'
CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../node_modules/nan/nan.h:190,
from ../src/validation.cc:15:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
88 | return obj->ForceSet(GetCurrentContext(), key, value, attribs);
| ^~~~~~~~
In file included from ../node_modules/nan/nan_converters.h:59,
from ../node_modules/nan/nan.h:195,
from ../src/validation.cc:15:
../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:15:43: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
15 | return val->To ## TYPE(GetCurrentContext()); \\\n | ~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../node_modules/nan/nan_converters_43_inl.h:18:1: note: in expansion of macro ‘X’
18 | X(Boolean)
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2845:37: note: initializing argument 1 of ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
2845 | Local<Boolean> ToBoolean(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_converters.h:59,
from ../node_modules/nan/nan.h:195,
from ../src/validation.cc:15:
../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:31:46: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
31 | return val->NAME ## Value(GetCurrentContext()); \\\n | ~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../node_modules/nan/nan_converters_43_inl.h:34:1: note: in expansion of macro ‘X’
34 | X(bool, Boolean)
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2855:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
2855 | bool BooleanValue(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:196,
from ../src/validation.cc:15:
../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:107:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
107 | return scope.Escape(v8::Function::New( isolate
| ^~~~~~~
| |
| v8::Isolate*
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:4408: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)’
4408 | Local<Context> context, FunctionCallback callback,
| ~~~~~~~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:196,
from ../src/validation.cc:15:
../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:345:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
345 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:5784:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’
5784 | static Local<Value> New(Isolate* isolate, Local<String> value);
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:5784: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:196,
from ../src/validation.cc:15:
../node_modules/nan/nan_implementation_12_inl.h:345:58: error: expected primary-expression before ‘>’ token
345 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
../node_modules/nan/nan_implementation_12_inl.h:345:60: error: expected primary-expression before ‘)’ token
345 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
817 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/validation.cc:8:
/root/.cache/node-gyp/14.3.0/include/node/node.h:189:50: note: declared here
189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
831 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/validation.cc:8:
/root/.cache/node-gyp/14.3.0/include/node/node.h:182:50: note: declared here
182 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
845 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/validation.cc:8:
/root/.cache/node-gyp/14.3.0/include/node/node.h:175:50: note: declared here
175 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:890:53: error: no matching function for call to ‘v8::Value::ToString()’
890 | v8::Local<v8::String> string = from->ToString();
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2807:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
2807 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2807:44: note: candidate expects 1 argument, 0 provided
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:900:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’
900 | length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
| ^~~~
| |
| char*
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3034:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
3034 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
| ~~~~~~~~~^~~~~~~
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1453:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1453 | ));
| ^
In file included from ../src/validation.cc:8:
/root/.cache/node-gyp/14.3.0/include/node/node.h:189:50: note: declared here
189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../node_modules/nan/nan.h:1507:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
1507 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/validation.cc:15:
../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:1513:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
1513 | New(persistentHandle)->Set(key, value);
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
../node_modules/nan/nan.h:1519:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
1519 | New(persistentHandle)->Set(index, value);
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../node_modules/nan/nan.h:1525:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
1525 | New(persistentHandle)->Get(New(key).ToLocalChecked()));
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/validation.cc:15:
../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:1531:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
1531 | return scope.Escape(New(persistentHandle)->Get(key));
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../node_modules/nan/nan.h:1536:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
1536 | return scope.Escape(New(persistentHandle)->Get(index));
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1704:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1704 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10.1.0/cassert:44,
from /root/.cache/node-gyp/14.3.0/include/node/node_object_wrap.h:26,
from ../src/validation.cc:11:
../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:2190,
from ../src/validation.cc:15:
../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../node_modules/nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
67 | persistent().MarkIndependent();
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/10.1.0/cassert:44,
from /root/.cache/node-gyp/14.3.0/include/node/node_object_wrap.h:26,
from ../src/validation.cc:11:
../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/validation.cc: At global scope:
../src/validation.cc:106:30: error: ‘v8::Handle’ has not been declared
106 | static void Initialize(v8::Handle<v8::Object> target)
| ^~~~~~
../src/validation.cc:106:36: error: expected ‘,’ or ‘...’ before ‘<’ token
106 | static void Initialize(v8::Handle<v8::Object> target)
| ^
../src/validation.cc: In static member function ‘static void Validation::Initialize(int)’:
../src/validation.cc:112:14: error: ‘target’ was not declared in this scope
112 | Nan::Set(target, Nan::New<String>(\"Validation\").ToLocalChecked(), t->GetFunction());
| ^~~~~~
../src/validation.cc:112:86: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
112 | Nan::Set(target, Nan::New<String>(\"Validation\").ToLocalChecked(), t->GetFunction());
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:6404:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
6404 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:6404:46: note: candidate expects 1 argument, 0 provided
../src/validation.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Validation::IsValidUTF8(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/validation.cc:131:50: error: no matching function for call to ‘v8::Value::ToObject()’
131 | Local<Object> buffer_obj = info[0]->ToObject();
| ^
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2819 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2819:44: note: candidate expects 1 argument, 0 provided
../src/validation.cc: At global scope:
../src/validation.cc:140:6: error: variable or field ‘init’ declared void
140 | void init (Handle<Object> target)
| ^~~~
../src/validation.cc:140:12: error: ‘Handle’ was not declared in this scope
140 | void init (Handle<Object> target)
| ^~~~~~
../src/validation.cc:140:25: error: expected primary-expression before ‘>’ token
140 | void init (Handle<Object> target)
| ^
../src/validation.cc:140:27: error: ‘target’ was not declared in this scope
140 | void init (Handle<Object> target)
| ^~~~~~
In file included from ../src/validation.cc:8:
../src/validation.cc:146:25: error: ‘init’ was not declared in this scope; did you mean ‘int’?
146 | NODE_MODULE(validation, init)
| ^~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:729:36: note: in definition of macro ‘NODE_MODULE_X’
729 | (node::addon_register_func) (regfunc), \\\n | ^~~~~~~
../src/validation.cc:146:1: note: in expansion of macro ‘NODE_MODULE’
146 | NODE_MODULE(validation, init)
| ^~~~~~~~~~~
In file included from ../src/validation.cc:7:
/root/.cache/node-gyp/14.3.0/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>&)]’:
/root/.cache/node-gyp/14.3.0/include/node/node_object_wrap.h:85:78: required from here
/root/.cache/node-gyp/14.3.0/include/node/v8.h:10745: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]
10745 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/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
/root/.cache/node-gyp/14.3.0/include/node/v8.h:10745: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/validation.cc: In function ‘int is_valid_utf8(size_t, char*)’:
../src/validation.cc:81:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
81 | case 5 : ch += (uint8_t) value[i++]; ch <<= 6;
| ~~~^~~~~
../src/validation.cc:82:7: note: here
82 | case 4 : ch += (uint8_t) value[i++]; ch <<= 6;
| ^~~~
../src/validation.cc:82:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
82 | case 4 : ch += (uint8_t) value[i++]; ch <<= 6;
| ~~~^~~~~
../src/validation.cc:83:7: note: here
83 | case 3 : ch += (uint8_t) value[i++]; ch <<= 6;
| ^~~~
../src/validation.cc:83:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
83 | case 3 : ch += (uint8_t) value[i++]; ch <<= 6;
| ~~~^~~~~
../src/validation.cc:84:7: note: here
84 | case 2 : ch += (uint8_t) value[i++]; ch <<= 6;
| ^~~~
../src/validation.cc:84:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
84 | case 2 : ch += (uint8_t) value[i++]; ch <<= 6;
| ~~~^~~~~
../src/validation.cc:85:7: note: here
85 | case 1 : ch += (uint8_t) value[i++]; ch <<= 6;
| ^~~~
../src/validation.cc:85:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
85 | case 1 : ch += (uint8_t) value[i++]; ch <<= 6;
| ~~~^~~~~
../src/validation.cc:86:7: note: here
86 | case 0 : ch += (uint8_t) value[i];
| ^~~~
../src/validation.cc: In function ‘int isLegalUTF8(const uint8_t*, int)’:
../src/validation.cc:51:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
51 | case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
| ^~
../src/validation.cc:52:5: note: here
52 | case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
| ^~~~
../src/validation.cc:52:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
52 | case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
| ^~
../src/validation.cc:53:5: note: here
53 | case 2: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
| ^~~~
../src/validation.cc:54:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
54 | switch (*source) {
| ^~~~~~
../src/validation.cc:62:5: note: here
62 | case 1: if (*source >= 0x80 && *source < 0xC2) return 0;
| ^~~~
make: *** [validation.target.mk:108: Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory '/usr/share/.config/yarn/global/node_modules/utf-8-validate/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:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.6.13-arch1-1
gyp ERR! command \"/usr/bin/node\" \"/usr/bin/node-gyp\" \"rebuild\"
gyp ERR! cwd /usr/share/.config/yarn/global/node_modules/utf-8-validate
[-/8] ⠠ waiting...
[-/8] ⠠ waiting...
[3/8] ⠐ sqlite3
[6/8] ⠐ strong-debugger
warning Error running install script for optional dependency: "/usr/share/.config/yarn/global/node_modules/strong-debugger: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /usr/share/.config/yarn/global/node_modules/strong-debugger
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.8.3 found at \"/usr/bin/python3\"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/strong-debugger/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/14.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/14.3.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/14.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/share/.config/yarn/global/node_modules/strong-debugger',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/usr/share/.config/yarn/global/node_modules/strong-debugger/build'
CXX(target) Release/obj.target/debugger/src/mutex-wrap.o
CXX(target) Release/obj.target/debugger/src/debugger.o
In file included from ../src/debugger.cc:4:
../src/controller.h:7:10: fatal error: v8-debug.h: No such file or directory
7 | #include <v8-debug.h>
| ^~~~~~~~~~~~
compilation terminated.
make: *** [debugger.target.mk:111: Release/obj.target/debugger/src/debugger.o] Error 1
make: Leaving directory '/usr/share/.config/yarn/global/node_modules/strong-debugger/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:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.6.13-arch1-1
gyp ERR! command \"/usr/bin/node\" \"/usr/bin/node-gyp\" \"rebuild\"
gyp ERR! cwd /usr/share/.config/yarn/global/node_modules/strong-debugger
[-/8] ⠁ waiting...
[-/8] ⠁ waiting...
[3/8] ⠂ sqlite3
[-/8] ⠂ waiting...
warning Error running install script for optional dependency: "/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | linux | x64
node-pre-gyp info check checked for \"/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node\" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v83-linux-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v83-linux-x64.tar.gz
node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v83-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v83-linux-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v83-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info ok
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.8.3 found at \"/usr/bin/python\"
gyp info find Python using Python version 3.8.3 found at \"/usr/bin/python\"
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/14.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/14.3.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/share/.config/yarn/global/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/14.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/14.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/14.3.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/share/.config/yarn/global/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/14.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info ok
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/build'
make: Entering directory '/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/build'
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c
TOUCH Release/obj.target/deps/action_before_build.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3090100/sqlite3.o
TOUCH Release/obj.target/deps/action_before_build.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3090100/sqlite3.o
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘strftimeFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:17101:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
17101 | z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘strftimeFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:17101:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
17101 | z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:24731:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
24731 | sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:24731:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
24731 | sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:65870:19: note: in expansion of macro ‘SQLITE_DYNAMIC’
65870 | }else if( xDel==SQLITE_DYNAMIC ){
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:65870:19: note: in expansion of macro ‘SQLITE_DYNAMIC’
65870 | }else if( xDel==SQLITE_DYNAMIC ){
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘valueFromExpr’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:66288:55: note: in expansion of macro ‘SQLITE_DYNAMIC’
66288 | sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘valueFromExpr’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:66288:55: note: in expansion of macro ‘SQLITE_DYNAMIC’
66288 | sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:66330:29: note: in expansion of macro ‘SQLITE_DYNAMIC’
66330 | 0, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:66330:29: note: in expansion of macro ‘SQLITE_DYNAMIC’
66330 | 0, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘renameTableFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:89267:44: note: in expansion of macro ‘SQLITE_DYNAMIC’
89267 | sqlite3_result_text(context, zRet, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘renameParentFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:89331:45: note: in expansion of macro ‘SQLITE_DYNAMIC’
89331 | sqlite3_result_text(context, zResult, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘renameTriggerFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:89408:44: note: in expansion of macro ‘SQLITE_DYNAMIC’
89408 | sqlite3_result_text(context, zRet, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘renameTableFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:89267:44: note: in expansion of macro ‘SQLITE_DYNAMIC’
89267 | sqlite3_result_text(context, zRet, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘renameParentFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:89331:45: note: in expansion of macro ‘SQLITE_DYNAMIC’
89331 | sqlite3_result_text(context, zResult, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘renameTriggerFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:89408:44: note: in expansion of macro ‘SQLITE_DYNAMIC’
89408 | sqlite3_result_text(context, zRet, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘printfFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘printfFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:98816:25: note: in expansion of macro ‘SQLITE_DYNAMIC’
98816 | SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:98816:25: note: in expansion of macro ‘SQLITE_DYNAMIC’
98816 | SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘generateColumnNames’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:110197:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
110197 | sqlite3DbStrDup(db, pEList->a[i].zSpan), SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:110201:58: note: in expansion of macro ‘SQLITE_DYNAMIC’
110201 | sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:110208:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
110208 | sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘generateColumnNames’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:110197:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
110197 | sqlite3DbStrDup(db, pEList->a[i].zSpan), SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:110201:58: note: in expansion of macro ‘SQLITE_DYNAMIC’
110201 | sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9888:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
9888 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:110208:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
110208 | sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘freeP4’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘freeP4’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:67434:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
67434 | freeEphemeralFunction(db, ((sqlite3_context*)p4)->pFunc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:67434:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
67434 | freeEphemeralFunction(db, ((sqlite3_context*)p4)->pFunc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:67437:7: note: here
67437 | case P4_REAL:
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:67437:7: note: here
67437 | case P4_REAL:
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3VXPrintf’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3VXPrintf’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:22465:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
22465 | flag_long = sizeof(char*)==sizeof(long int);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:22465:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
22465 | flag_long = sizeof(char*)==sizeof(long int);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:22467:7: note: here
22467 | case etORDINAL:
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:22467:7: note: here
22467 | case etORDINAL:
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3RunParser’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3RunParser’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130313:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
130313 | pParse->zTail = &zSql[i];
| ~~~~~~~~~~~~~~^~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130313:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
130313 | pParse->zTail = &zSql[i];
| ~~~~~~~~~~~~~~^~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130316:7: note: here
130316 | default: {
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130316:7: note: here
130316 | default: {
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3GetToken’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3GetToken’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130132:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
130132 | if( !sqlite3Isdigit(z[1]) )
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130132:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
130132 | if( !sqlite3Isdigit(z[1]) )
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130141:5: note: here
130141 | case '0': case '1': case '2': case '3': case '4':
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130141:5: note: here
130141 | case '0': case '1': case '2': case '3': case '4':
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130224:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
130224 | if( z[1]=='\\'' ){
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130224:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
130224 | if( z[1]=='\\'' ){
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130237:5: note: here
130237 | default: {
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:130237:5: note: here
130237 | default: {
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3ExprCodeTarget’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3ExprCodeTarget’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:87602:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
87602 | case TK_AGG_COLUMN: {
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:87602:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
87602 | case TK_AGG_COLUMN: {
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:87616:5: note: here
87616 | case TK_COLUMN: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:87616:5: note: here
87616 | case TK_COLUMN: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘resolveP2Values’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘resolveP2Values’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:67219:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
67219 | if( pOp->p2!=0 ) p->readOnly = 0;
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:67219:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
67219 | if( pOp->p2!=0 ) p->readOnly = 0;
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:67222:7: note: here
67222 | case OP_AutoCommit:
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:67222:7: note: here
67222 | case OP_AutoCommit:
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘fkActionTrigger’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘fkActionTrigger’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:101691:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
101691 | if( !pChanges ){
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:101691:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
101691 | if( !pChanges ){
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:101695:7: note: here
101695 | default:
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:101695:7: note: here
101695 | default:
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3GenerateConstraintChecks’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3GenerateConstraintChecks’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:103095:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
103095 | onError = OE_Abort;
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:103095:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
103095 | onError = OE_Abort;
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:103098:7: note: here
103098 | case OE_Rollback:
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:103098:7: note: here
103098 | case OE_Rollback:
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:73785:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
73785 | if( (pIn3->flags & MEM_Null)==0 ) break;
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:73785:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
73785 | if( (pIn3->flags & MEM_Null)==0 ) break;
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:73819:1: note: here
73819 | case OP_Halt: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:73819:1: note: here
73819 | case OP_Halt: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:73957:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
73957 | if( pOp->p1>db->aLimit[SQLITE_LIMIT_LENGTH] ){
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:73957:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
73957 | if( pOp->p1>db->aLimit[SQLITE_LIMIT_LENGTH] ){
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:73973:1: note: here
73973 | case OP_String: { /* out2 */
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:74507:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
74507 | pOp->opcode = OP_Function;
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:73973:1: note: here
73973 | case OP_String: { /* out2 */
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:74507:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
74507 | pOp->opcode = OP_Function;
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:74510:1: note: here
74510 | case OP_Function: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:74510:1: note: here
74510 | case OP_Function: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:77530:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
77530 | p->aCounter[SQLITE_STMTSTATUS_SORT]++;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:77530:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
77530 | p->aCounter[SQLITE_STMTSTATUS_SORT]++;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:77545:1: note: here
77545 | case OP_Rewind: { /* jump */
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:77545:1: note: here
77545 | case OP_Rewind: { /* jump */
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:78707:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
78707 | pOp->opcode = OP_AggStep;
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:78707:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
78707 | pOp->opcode = OP_AggStep;
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:78710:1: note: here
78710 | case OP_AggStep: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:78710:1: note: here
78710 | case OP_AggStep: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘fts3SnippetFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘fts3SnippetFunc’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139409:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
139409 | case 6: nToken = sqlite3_value_int(apVal[5]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139409:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
139409 | case 6: nToken = sqlite3_value_int(apVal[5]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139410:5: note: here
139410 | case 5: iCol = sqlite3_value_int(apVal[4]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139410:5: note: here
139410 | case 5: iCol = sqlite3_value_int(apVal[4]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139410:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
139410 | case 5: iCol = sqlite3_value_int(apVal[4]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139410:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
139410 | case 5: iCol = sqlite3_value_int(apVal[4]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139411:5: note: here
139411 | case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139411:5: note: here
139411 | case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139411:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
139411 | case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139411:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
139411 | case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139412:5: note: here
139412 | case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139412:5: note: here
139412 | case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139412:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
139412 | case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139413:5: note: here
139413 | case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139412:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
139412 | case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:139413:5: note: here
139413 | case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘rtreeNonleafConstraint’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:155038:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
155038 | if( p->op!=RTREE_EQ ) break; /* RTREE_LE and RTREE_LT end here */
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘rtreeNonleafConstraint’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:155041:5: note: here
155041 | default: /* RTREE_GT or RTREE_GE, or fallthrough of RTREE_EQ */
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:155038:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
155038 | if( p->op!=RTREE_EQ ) break; /* RTREE_LE and RTREE_LT end here */
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘jsonRenderNode’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:155041:5: note: here
155041 | default: /* RTREE_GT or RTREE_GE, or fallthrough of RTREE_EQ */
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:163932:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
163932 | if( pNode->jnFlags & JNODE_RAW ){
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘jsonRenderNode’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:163938:5: note: here
163938 | case JSON_REAL:
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘jsonReturn’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:163932:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
163932 | if( pNode->jnFlags & JNODE_RAW ){
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:164055:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
164055 | int_as_real: /* fall through to real */;
| ^~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:163938:5: note: here
163938 | case JSON_REAL:
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘jsonReturn’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:164057:5: note: here
164057 | case JSON_REAL: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘jsonEachColumn’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:164055:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
164055 | int_as_real: /* fall through to real */;
| ^~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:165304:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
165304 | if( p->bRecursive ){
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:164057:5: note: here
164057 | case JSON_REAL: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘jsonEachColumn’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:165314:5: note: here
165314 | case JEACH_ROOT: {
| ^~~~
At top level:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9704:26: warning: ‘sqlite3one’ defined but not used [-Wunused-const-variable=]
9704 | SQLITE_PRIVATE const int sqlite3one = 1;
| ^~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:165304:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
165304 | if( p->bRecursive ){
| ^
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:165314:5: note: here
165314 | case JEACH_ROOT: {
| ^~~~
At top level:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9704:26: warning: ‘sqlite3one’ defined but not used [-Wunused-const-variable=]
9704 | SQLITE_PRIVATE const int sqlite3one = 1;
| ^~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3SelectNew.isra’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:108780:10: warning: function may return address of local variable [-Wreturn-local-addr]
108780 | return pNew;
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:108748:10: note: declared here
108748 | Select standin;
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c: In function ‘sqlite3SelectNew.isra’:
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:108780:10: warning: function may return address of local variable [-Wreturn-local-addr]
108780 | return pNew;
| ^~~~
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:108748:10: note: declared here
108748 | Select standin;
| ^~~~~~~
AR(target) Release/obj.target/deps/sqlite3.a
AR(target) Release/obj.target/deps/sqlite3.a
COPY Release/sqlite3.a
COPY Release/sqlite3.a
cp: cannot create regular file 'Release/sqlite3.a': File exists
make: *** [deps/sqlite3.target.mk:173: Release/sqlite3.a] Error 1
make: Leaving directory '/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/.config/yarn/global/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.6.13-arch1-1
gyp ERR! command \"/usr/bin/node\" \"/usr/share/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node\" \"--module_name=node_sqlite3\" \"--module_path=/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/lib/binding/node-v83-linux-x64\"
gyp ERR! cwd /usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3
gyp ERR! node -v v14.3.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
CXX(target) Release/obj.target/node_sqlite3/src/database.o
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/share/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/lib/binding/node-v83-linux-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/share/.config/yarn/global/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1051:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
node-pre-gyp ERR! System Linux 5.6.13-arch1-1
node-pre-gyp ERR! command \"/usr/bin/node\" \"/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3
node-pre-gyp ERR! node -v v14.3.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/share/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/lib/binding/node-v83-linux-x64' (1)
In file included from ../../nan/nan.h:190,
from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
88 | return obj->ForceSet(GetCurrentContext(), key, value, attribs);
| ^~~~~~~~
In file included from ../../nan/nan_converters.h:59,
from ../../nan/nan.h:195,
from ../src/database.h:10,
from ../src/database.cc:4:
../../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>)’:
../../nan/nan_converters_43_inl.h:15:43: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
15 | return val->To ## TYPE(GetCurrentContext()); \\\n | ~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../../nan/nan_converters_43_inl.h:18:1: note: in expansion of macro ‘X’
18 | X(Boolean)
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2845:37: note: initializing argument 1 of ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
2845 | Local<Boolean> ToBoolean(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../../nan/nan_converters.h:59,
from ../../nan/nan.h:195,
from ../src/database.h:10,
from ../src/database.cc:4:
../../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>)’:
../../nan/nan_converters_43_inl.h:31:46: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
31 | return val->NAME ## Value(GetCurrentContext()); \\\n | ~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../../nan/nan_converters_43_inl.h:34:1: note: in expansion of macro ‘X’
34 | X(bool, Boolean)
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2855:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
2855 | bool BooleanValue(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:196,
from ../src/database.h:10,
from ../src/database.cc:4:
../../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>)’:
../../nan/nan_implementation_12_inl.h:107:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
107 | return scope.Escape(v8::Function::New( isolate
| ^~~~~~~
| |
| v8::Isolate*
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:4408: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)’
4408 | Local<Context> context, FunctionCallback callback,
| ~~~~~~~~~~~~~~~^~~~~~~
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:196,
from ../src/database.h:10,
from ../src/database.cc:4:
../../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>)’:
../../nan/nan_implementation_12_inl.h:345:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
345 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:5784:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’
5784 | static Local<Value> New(Isolate* isolate, Local<String> value);
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:5784:23: note: candidate expects 2 arguments, 1 provided
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:196,
from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan_implementation_12_inl.h:345:58: error: expected primary-expression before ‘>’ token
345 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
../../nan/nan_implementation_12_inl.h:345:60: error: expected primary-expression before ‘)’ token
345 | return v8::StringObject::New(value).As<v8::StringObject>();
| ^
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
817 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:189:50: note: declared here
189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
831 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:182:50: note: declared here
182 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
845 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:175:50: note: declared here
175 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../../nan/nan.h:890:53: error: no matching function for call to ‘v8::Value::ToString()’
890 | v8::Local<v8::String> string = from->ToString();
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2807:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
2807 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2807:44: note: candidate expects 1 argument, 0 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h:900:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’
900 | length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
| ^~~~
| |
| char*
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3034:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
3034 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
| ~~~~~~~~~^~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In member function ‘bool Nan::Callback::operator==(const Nan::Callback&) const’:
../../nan/nan.h:1371:61: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’
1371 | v8::Local<v8::Value> a = New(handle)->Get(kCallbackIndex);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h:1372:67: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’
1372 | v8::Local<v8::Value> b = New(other.handle)->Get(kCallbackIndex);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In member function ‘v8::Local<v8::Function> Nan::Callback::GetFunction() const’:
../../nan/nan.h:1403:56: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’
1403 | return scope.Escape(New(handle)->Get(kCallbackIndex)
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h:1404:25: error: expected primary-expression before ‘>’ token
1404 | .As<v8::Function>());
| ^
../../nan/nan.h:1404:27: error: expected primary-expression before ‘)’ token
1404 | .As<v8::Function>());
| ^
../../nan/nan.h: In member function ‘bool Nan::Callback::IsEmpty() const’:
../../nan/nan.h:1409:43: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’
1409 | return New(handle)->Get(kCallbackIndex)->IsUndefined();
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../../nan/nan.h:1447:27: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’
1447 | Get(kCallbackIndex).As<v8::Function>();
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h:1447:44: error: expected primary-expression before ‘>’ token
1447 | Get(kCallbackIndex).As<v8::Function>();
| ^
../../nan/nan.h:1447:46: error: expected primary-expression before ‘)’ token
1447 | Get(kCallbackIndex).As<v8::Function>();
| ^
../../nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1463 | ));
| ^
In file included from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:189:50: note: declared here
189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1518:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
1518 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1524:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
1524 | New(persistentHandle)->Set(key, value);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1530:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
1530 | New(persistentHandle)->Set(index, value);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1536:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
1536 | New(persistentHandle)->Get(New(key).ToLocalChecked()));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
../../nan/nan.h:1542:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
1542 | return scope.Escape(New(persistentHandle)->Get(key));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../../nan/nan.h:1547:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
1547 | return scope.Escape(New(persistentHandle)->Get(index));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:1706:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1706 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:2192,
from ../src/database.h:10,
from ../src/database.cc:4:
../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../../nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
67 | persistent().MarkIndependent();
| ^~~~~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In member function ‘void node_sqlite3::Database::Process()’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:39:9: note: in expansion of macro ‘EXCEPTION’
39 | EXCEPTION(Nan::New(\"Database handle is closed\").ToLocalChecked(), SQLITE_MISUSE, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.cc:3:
../src/database.cc: In member function ‘void node_sqlite3::Database::Schedule(node_sqlite3::Database::Work_Callback, node_sqlite3::Database::Baton*, bool)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:87:9: note: in expansion of macro ‘EXCEPTION’
87 | EXCEPTION(Nan::New(\"Database is closed\").ToLocalChecked(), SQLITE_MISUSE, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Database::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/database.cc:132:18: error: ‘class v8::Object’ has no member named ‘ForceSet’
132 | info.This()->ForceSet(Nan::New(\"filename\").ToLocalChecked(), info[0].As<String>(), ReadOnly);
| ^~~~~~~~
../src/database.cc:133:18: error: ‘class v8::Object’ has no member named ‘ForceSet’
133 | info.This()->ForceSet(Nan::New(\"mode\").ToLocalChecked(), Nan::New(mode), ReadOnly);
| ^~~~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)’:
../src/database.cc:144:37: 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]
144 | &baton->request, Work_Open, (uv_after_work_cb)Work_AfterOpen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:143:9: warning: unused variable ‘status’ [-Wunused-variable]
143 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterOpen(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:178:9: note: in expansion of macro ‘EXCEPTION’
178 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)’:
../src/database.cc:228:38: 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]
228 | &baton->request, Work_Close, (uv_after_work_cb)Work_AfterClose);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:227:9: warning: unused variable ‘status’ [-Wunused-variable]
227 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterClose(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:254:9: note: in expansion of macro ‘EXCEPTION’
254 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Database::Configure(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/database.cc:346:9: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
346 | )));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)’:
../src/database.cc:506:37: 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]
506 | &baton->request, Work_Exec, (uv_after_work_cb)Work_AfterExec);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:505:9: warning: unused variable ‘status’ [-Wunused-variable]
505 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterExec(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:537:9: note: in expansion of macro ‘EXCEPTION’
537 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)’:
../src/database.cc:606:46: 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]
606 | &baton->request, Work_LoadExtension, reinterpret_cast<uv_after_work_cb>(Work_AfterLoadExtension));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:605:9: warning: unused variable ‘status’ [-Wunused-variable]
605 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterLoadExtension(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:639:9: note: in expansion of macro ‘EXCEPTION’
639 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../../nan/nan.h:47,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:12,
from ../src/database.cc:4:
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = std::__cxx11::basic_string<char>; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, std::__cxx11::basic_string<char>*)]’:
../src/database.cc:371:59: required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
29 | uv_async_init(uv_default_loop(), &watcher, reinterpret_cast<uv_async_cb>(listener));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = node_sqlite3::Database::ProfileInfo; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, node_sqlite3::Database::ProfileInfo*)]’:
../src/database.cc:409:65: required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = node_sqlite3::Database::UpdateInfo; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, node_sqlite3::Database::UpdateInfo*)]’:
../src/database.cc:450:62: required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
make: *** [node_sqlite3.target.mk:125: Release/obj.target/node_sqlite3/src/database.o] Error 1
make: Leaving directory '/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/.config/yarn/global/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.6.13-arch1-1
gyp ERR! command \"/usr/bin/node\" \"/usr/share/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node\" \"--module_name=node_sqlite3\" \"--module_path=/usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3/lib/binding/node-v83-linux-x64\"
gyp ERR! cwd /usr/share/.config/yarn/global/node_modules/strongloop/node_modules/sqlite3
[-/8] ⢀ waiting...
[-/8] ⢀ waiting...
[3/8] ⠠ sqlite3
[-/8] ⠠ waiting...
warning Error running install script for optional dependency: "/usr/share/.config/yarn/global/node_modules/sqlite3: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /usr/share/.config/yarn/global/node_modules/sqlite3
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | linux | x64
node-pre-gyp info check checked for \"/usr/share/.config/yarn/global/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node\" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v83-linux-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v83-linux-x64.tar.gz
node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v83-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v83-linux-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v83-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info ok
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.8.3 found at \"/usr/bin/python\"
gyp info find Python using Python version 3.8.3 found at \"/usr/bin/python\"
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/sqlite3/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/14.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/14.3.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/share/.config/yarn/global/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/14.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/share/.config/yarn/global/node_modules/sqlite3',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/sqlite3/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/.config/yarn/global/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/14.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/14.3.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/share/.config/yarn/global/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/14.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/share/.config/yarn/global/node_modules/sqlite3',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info ok
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/usr/share/.config/yarn/global/node_modules/sqlite3/build'
make: Entering directory '/usr/share/.config/yarn/global/node_modules/sqlite3/build'
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c
TOUCH Release/obj.target/deps/action_before_build.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3150000/sqlite3.o
TOUCH Release/obj.target/deps/action_before_build.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3150000/sqlite3.o
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘strftimeFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:19615:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
19615 | z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘strftimeFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:19615:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
19615 | z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:27452:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
27452 | sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:27452:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
27452 | sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:69652:19: note: in expansion of macro ‘SQLITE_DYNAMIC’
69652 | }else if( xDel==SQLITE_DYNAMIC ){
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘valueFromExpr’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:70058:55: note: in expansion of macro ‘SQLITE_DYNAMIC’
70058 | sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:69652:19: note: in expansion of macro ‘SQLITE_DYNAMIC’
69652 | }else if( xDel==SQLITE_DYNAMIC ){
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘valueFromExpr’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:70100:29: note: in expansion of macro ‘SQLITE_DYNAMIC’
70100 | 0, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:70058:55: note: in expansion of macro ‘SQLITE_DYNAMIC’
70058 | sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:70100:29: note: in expansion of macro ‘SQLITE_DYNAMIC’
70100 | 0, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:84132:38: warning: cast between incompatible function types from ‘int (*)(u32, void *, void *, void *)’ {aka ‘int (*)(unsigned int, void *, void *, void *)’} to ‘void (*)(void *, const char *)’ [-Wcast-function-type]
84132 | void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:84132:38: warning: cast between incompatible function types from ‘int (*)(u32, void *, void *, void *)’ {aka ‘int (*)(unsigned int, void *, void *, void *)’} to ‘void (*)(void *, const char *)’ [-Wcast-function-type]
84132 | void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘renameTableFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:94798:44: note: in expansion of macro ‘SQLITE_DYNAMIC’
94798 | sqlite3_result_text(context, zRet, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘renameTableFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘renameParentFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:94798:44: note: in expansion of macro ‘SQLITE_DYNAMIC’
94798 | sqlite3_result_text(context, zRet, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:94862:45: note: in expansion of macro ‘SQLITE_DYNAMIC’
94862 | sqlite3_result_text(context, zResult, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘renameTriggerFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘renameParentFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:94939:44: note: in expansion of macro ‘SQLITE_DYNAMIC’
94939 | sqlite3_result_text(context, zRet, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:94862:45: note: in expansion of macro ‘SQLITE_DYNAMIC’
94862 | sqlite3_result_text(context, zResult, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘renameTriggerFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:94939:44: note: in expansion of macro ‘SQLITE_DYNAMIC’
94939 | sqlite3_result_text(context, zRet, -1, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘printfFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:104325:25: note: in expansion of macro ‘SQLITE_DYNAMIC’
104325 | SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘printfFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:104325:25: note: in expansion of macro ‘SQLITE_DYNAMIC’
104325 | SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘generateColumnNames’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:115928:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
115928 | sqlite3DbStrDup(db, pEList->a[i].zSpan), SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:115932:58: note: in expansion of macro ‘SQLITE_DYNAMIC’
115932 | sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:115939:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
115939 | sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘generateColumnNames’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:115928:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
115928 | sqlite3DbStrDup(db, pEList->a[i].zSpan), SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:115932:58: note: in expansion of macro ‘SQLITE_DYNAMIC’
115932 | sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:11909:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
11909 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize)
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:115939:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
115939 | sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
| ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3_trace’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:139629:16: warning: cast between incompatible function types from ‘void (*)(void *, const char *)’ to ‘int (*)(u32, void *, void *, void *)’ {aka ‘int (*)(unsigned int, void *, void *, void *)’} [-Wcast-function-type]
139629 | db->xTrace = (int(*)(u32,void*,void*,void*))xTrace;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3_trace’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:139629:16: warning: cast between incompatible function types from ‘void (*)(void *, const char *)’ to ‘int (*)(u32, void *, void *, void *)’ {aka ‘int (*)(unsigned int, void *, void *, void *)’} [-Wcast-function-type]
139629 | db->xTrace = (int(*)(u32,void*,void*,void*))xTrace;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3VXPrintf’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:25065:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
25065 | flag_long = sizeof(char*)==sizeof(long int);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:25067:7: note: here
25067 | case etORDINAL:
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3VXPrintf’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:25065:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
25065 | flag_long = sizeof(char*)==sizeof(long int);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:25067:7: note: here
25067 | case etORDINAL:
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3GetToken’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:137154:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
137154 | if( !sqlite3Isdigit(z[1]) )
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3GetToken’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:137163:5: note: here
137163 | case CC_DIGIT: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:137154:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
137154 | if( !sqlite3Isdigit(z[1]) )
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:137253:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
137253 | if( z[1]=='\\'' ){
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:137163:5: note: here
137163 | case CC_DIGIT: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:137267:5: note: here
137267 | case CC_ID: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:137253:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
137253 | if( z[1]=='\\'' ){
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:137267:5: note: here
137267 | case CC_ID: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3ExprCodeTarget’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:93034:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
93034 | case TK_AGG_COLUMN: {
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:93047:5: note: here
93047 | case TK_COLUMN: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3ExprCodeTarget’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘resolveP2Values’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:93034:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
93034 | case TK_AGG_COLUMN: {
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:71026:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
71026 | if( pOp->p2!=0 ) p->readOnly = 0;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:93047:5: note: here
93047 | case TK_COLUMN: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:71029:9: note: here
71029 | case OP_AutoCommit:
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘resolveP2Values’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:71026:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
71026 | if( pOp->p2!=0 ) p->readOnly = 0;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:71029:9: note: here
71029 | case OP_AutoCommit:
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘fkActionTrigger’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:107247:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
107247 | if( !pChanges ){
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘fkActionTrigger’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:107251:7: note: here
107251 | default:
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3GenerateConstraintChecks’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:107247:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
107247 | if( !pChanges ){
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:108736:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
108736 | onError = OE_Abort;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:107251:7: note: here
107251 | default:
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3GenerateConstraintChecks’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:108739:7: note: here
108739 | case OE_Rollback:
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:108736:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
108736 | onError = OE_Abort;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:108739:7: note: here
108739 | case OE_Rollback:
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78202:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
78202 | if( (pIn3->flags & MEM_Null)==0 ) break;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78236:1: note: here
78236 | case OP_Halt: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78202:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
78202 | if( (pIn3->flags & MEM_Null)==0 ) break;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78367:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
78367 | if( pOp->p1>db->aLimit[SQLITE_LIMIT_LENGTH] ){
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78236:1: note: here
78236 | case OP_Halt: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78386:1: note: here
78386 | case OP_String: { /* out2 */
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78367:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
78367 | if( pOp->p1>db->aLimit[SQLITE_LIMIT_LENGTH] ){
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78941:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
78941 | pOp->opcode = OP_Function;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78386:1: note: here
78386 | case OP_String: { /* out2 */
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78944:1: note: here
78944 | case OP_Function: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78941:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
78941 | pOp->opcode = OP_Function;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:78944:1: note: here
78944 | case OP_Function: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:82140:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
82140 | p->aCounter[SQLITE_STMTSTATUS_SORT]++;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:82140:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
82140 | p->aCounter[SQLITE_STMTSTATUS_SORT]++;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:82155:1: note: here
82155 | case OP_Rewind: { /* jump */
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:83361:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
83361 | pOp->opcode = OP_AggStep;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:82155:1: note: here
82155 | case OP_Rewind: { /* jump */
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:83361:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
83361 | pOp->opcode = OP_AggStep;
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:83364:1: note: here
83364 | case OP_AggStep: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:83364:1: note: here
83364 | case OP_AggStep: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘fts3SnippetFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘fts3SnippetFunc’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146657:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
146657 | case 6: nToken = sqlite3_value_int(apVal[5]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146657:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
146657 | case 6: nToken = sqlite3_value_int(apVal[5]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146658:5: note: here
146658 | case 5: iCol = sqlite3_value_int(apVal[4]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146658:5: note: here
146658 | case 5: iCol = sqlite3_value_int(apVal[4]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146658:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
146658 | case 5: iCol = sqlite3_value_int(apVal[4]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146658:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
146658 | case 5: iCol = sqlite3_value_int(apVal[4]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146659:5: note: here
146659 | case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146659:5: note: here
146659 | case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146659:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
146659 | case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146659:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
146659 | case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146660:5: note: here
146660 | case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146660:5: note: here
146660 | case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146660:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
146660 | case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146660:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
146660 | case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146661:5: note: here
146661 | case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:146661:5: note: here
146661 | case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘rtreeNonleafConstraint’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘rtreeNonleafConstraint’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:162310:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
162310 | if( p->op!=RTREE_EQ ) break; /* RTREE_LE and RTREE_LT end here */
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:162310:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
162310 | if( p->op!=RTREE_EQ ) break; /* RTREE_LE and RTREE_LT end here */
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:162313:5: note: here
162313 | default: /* RTREE_GT or RTREE_GE, or fallthrough of RTREE_EQ */
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:162313:5: note: here
162313 | default: /* RTREE_GT or RTREE_GE, or fallthrough of RTREE_EQ */
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘jsonRenderNode’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘jsonRenderNode’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:176768:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
176768 | if( pNode->jnFlags & JNODE_RAW ){
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:176768:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
176768 | if( pNode->jnFlags & JNODE_RAW ){
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:176774:5: note: here
176774 | case JSON_REAL:
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘jsonReturn’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:176774:5: note: here
176774 | case JSON_REAL:
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘jsonReturn’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:176891:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
176891 | int_as_real: /* fall through to real */;
| ^~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:176891:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
176891 | int_as_real: /* fall through to real */;
| ^~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:176893:5: note: here
176893 | case JSON_REAL: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘jsonEachColumn’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:176893:5: note: here
176893 | case JSON_REAL: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘jsonEachColumn’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:178258:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
178258 | if( p->bRecursive ){
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:178258:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
178258 | if( p->bRecursive ){
| ^
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:178268:5: note: here
178268 | case JEACH_ROOT: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:178268:5: note: here
178268 | case JEACH_ROOT: {
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3SelectNew.isra’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:114505:10: warning: function may return address of local variable [-Wreturn-local-addr]
114505 | return pNew;
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:114465:10: note: declared here
114465 | Select standin;
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:114465:10: note: declared here
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3SelectNew.isra’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:114505:10: warning: function may return address of local variable [-Wreturn-local-addr]
114505 | return pNew;
| ^~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:114465:10: note: declared here
114465 | Select standin;
| ^~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:114465:10: note: declared here
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3Fts5IndexQuery’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:191826:5: warning: ‘memcpy’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
191826 | memcpy(&buf.p[1], pToken, nToken);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c: In function ‘sqlite3Fts5IndexQuery’:
Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c:191826:5: warning: ‘memcpy’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
191826 | memcpy(&buf.p[1], pToken, nToken);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AR(target) Release/obj.target/deps/sqlite3.a
COPY Release/sqlite3.a
CXX(target) Release/obj.target/node_sqlite3/src/database.o
AR(target) Release/obj.target/deps/sqlite3.a
COPY Release/sqlite3.a
CXX(target) Release/obj.target/node_sqlite3/src/database.o
In file included from ../node_modules/nan/nan.h:192,
from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
112 | return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
| ^~~~~~~~
In file included from ../node_modules/nan/nan_converters.h:67,
from ../node_modules/nan/nan.h:197,
from ../src/database.h:10,
from ../src/database.cc: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:67: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
18 | val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \\\n | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../node_modules/nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
22 | X(Boolean)
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2845:37: note: initializing argument 1 of ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
2845 | Local<Boolean> ToBoolean(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_converters.h:67,
from ../node_modules/nan/nan.h:197,
from ../src/database.h:10,
from ../src/database.cc: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:55: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
37 | return val->NAME ## Value(isolate->GetCurrentContext()); \\\n | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../node_modules/nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
40 | X(bool, Boolean)
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2855:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
2855 | bool BooleanValue(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:198,
from ../src/database.h:10,
from ../src/database.cc: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 /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:4408: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)’
4408 | Local<Context> context, FunctionCallback callback,
| ~~~~~~~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:198,
from ../src/database.h:10,
from ../src/database.cc: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 /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:5784:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’
5784 | static Local<Value> New(Isolate* isolate, Local<String> value);
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:5784: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:198,
from ../src/database.h:10,
from ../src/database.cc: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/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
835 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:189:50: note: declared here
189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
850 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:182:50: note: declared here
182 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
865 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:175:50: note: declared here
175 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:911:53: error: no matching function for call to ‘v8::Value::ToString()’
911 | v8::Local<v8::String> string = from->ToString();
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2807:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
2807 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2807:44: note: candidate expects 1 argument, 0 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h:921:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’
921 | length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
| ^~~~
| |
| char*
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3034:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
3034 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
| ~~~~~~~~~^~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1479 | ));
| ^
In file included from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:189:50: note: declared here
189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc: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:1533:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
1533 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc: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:1539:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
1539 | New(persistentHandle)->Set(key, value);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc: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:1545:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
1545 | New(persistentHandle)->Set(index, value);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../node_modules/nan/nan.h:1551:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
1551 | New(persistentHandle)->Get(New(key).ToLocalChecked()));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc: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:1557:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
1557 | return scope.Escape(New(persistentHandle)->Get(key));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../node_modules/nan/nan.h:1562:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
1562 | return scope.Escape(New(persistentHandle)->Get(index));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1732:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1732 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../node_modules/nan/nan.h:2222,
from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../node_modules/nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
67 | persistent().MarkIndependent();
| ^~~~~~~~~~~~~~~
In file included from ../node_modules/nan/nan.h:192,
from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
112 | return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
| ^~~~~~~~
In file included from ../node_modules/nan/nan_converters.h:67,
from ../node_modules/nan/nan.h:197,
from ../src/database.h:10,
from ../src/database.cc: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:67: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
18 | val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \\\n | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../node_modules/nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
22 | X(Boolean)
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2845:37: note: initializing argument 1 of ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
2845 | Local<Boolean> ToBoolean(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_converters.h:67,
from ../node_modules/nan/nan.h:197,
from ../src/database.h:10,
from ../src/database.cc: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:55: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
37 | return val->NAME ## Value(isolate->GetCurrentContext()); \\\n | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| v8::Local<v8::Context>
../node_modules/nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
40 | X(bool, Boolean)
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2855:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
2855 | bool BooleanValue(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:198,
from ../src/database.h:10,
from ../src/database.cc: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 /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:4408: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)’
4408 | Local<Context> context, FunctionCallback callback,
| ~~~~~~~~~~~~~~~^~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:198,
from ../src/database.h:10,
from ../src/database.cc: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 /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:5784:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’
5784 | static Local<Value> New(Isolate* isolate, Local<String> value);
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:5784: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:198,
from ../src/database.h:10,
from ../src/database.cc: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/database.cc:3:
../src/database.cc: In member function ‘void node_sqlite3::Database::Process()’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:40:9: note: in expansion of macro ‘EXCEPTION’
40 | EXCEPTION(Nan::New(\"Database handle is closed\").ToLocalChecked(), SQLITE_MISUSE, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.cc:3:
../src/database.cc: In member function ‘void node_sqlite3::Database::Schedule(node_sqlite3::Database::Work_Callback, node_sqlite3::Database::Baton*, bool)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:88:9: note: in expansion of macro ‘EXCEPTION’
88 | EXCEPTION(Nan::New(\"Database is closed\").ToLocalChecked(), SQLITE_MISUSE, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)’:
../src/database.cc:145:37: 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]
145 | &baton->request, Work_Open, (uv_after_work_cb)Work_AfterOpen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:144:9: warning: unused variable ‘status’ [-Wunused-variable]
144 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterOpen(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:179:9: note: in expansion of macro ‘EXCEPTION’
179 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
835 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:189:50: note: declared here
189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
850 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:182:50: note: declared here
182 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
865 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:175:50: note: declared here
175 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../node_modules/nan/nan.h:911:53: error: no matching function for call to ‘v8::Value::ToString()’
911 | v8::Local<v8::String> string = from->ToString();
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2807:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
2807 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
| ^~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:2807:44: note: candidate expects 1 argument, 0 provided
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)’:
../src/database.cc:231:38: 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]
231 | &baton->request, Work_Close, (uv_after_work_cb)Work_AfterClose);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:230:9: warning: unused variable ‘status’ [-Wunused-variable]
230 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h:921:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’
921 | length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
| ^~~~
| |
| char*
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3034:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
3034 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
| ~~~~~~~~~^~~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterClose(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:259:9: note: in expansion of macro ‘EXCEPTION’
259 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1479 | ));
| ^
In file included from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/node.h:189:50: note: declared here
189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/root/.cache/node-gyp/14.3.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
108 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
../src/database.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Database::Configure(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/database.cc:351:9: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
351 | )));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc: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:1533:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
1533 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc: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:1539:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
1539 | New(persistentHandle)->Set(key, value);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc: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:1545:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
1545 | New(persistentHandle)->Set(index, value);
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3639 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3639:37: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3642 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3642:37: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../node_modules/nan/nan.h:1551:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
1551 | New(persistentHandle)->Get(New(key).ToLocalChecked()));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc: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:1557:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
1557 | return scope.Escape(New(persistentHandle)->Get(key));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../node_modules/nan/nan.h:1562:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
1562 | return scope.Escape(New(persistentHandle)->Get(index));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
3686 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3686:43: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
3689 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
| ^~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3689:43: note: candidate expects 2 arguments, 1 provided
In file included from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1732:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1732 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../node_modules/nan/nan.h:2222,
from ../src/database.h:10,
from ../src/database.cc:4:
../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../node_modules/nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
67 | persistent().MarkIndependent();
| ^~~~~~~~~~~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)’:
../src/database.cc:526:37: 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]
526 | &baton->request, Work_Exec, (uv_after_work_cb)Work_AfterExec);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:525:9: warning: unused variable ‘status’ [-Wunused-variable]
525 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterExec(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:557:9: note: in expansion of macro ‘EXCEPTION’
557 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)’:
../src/database.cc:626:46: 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]
626 | &baton->request, Work_LoadExtension, reinterpret_cast<uv_after_work_cb>(Work_AfterLoadExtension));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:625:9: warning: unused variable ‘status’ [-Wunused-variable]
625 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterLoadExtension(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:659:9: note: in expansion of macro ‘EXCEPTION’
659 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.cc:3:
../src/database.cc: In member function ‘void node_sqlite3::Database::Process()’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:40:9: note: in expansion of macro ‘EXCEPTION’
40 | EXCEPTION(Nan::New(\"Database handle is closed\").ToLocalChecked(), SQLITE_MISUSE, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.cc:3:
../src/database.cc: In member function ‘void node_sqlite3::Database::Schedule(node_sqlite3::Database::Work_Callback, node_sqlite3::Database::Baton*, bool)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:88:9: note: in expansion of macro ‘EXCEPTION’
88 | EXCEPTION(Nan::New(\"Database is closed\").ToLocalChecked(), SQLITE_MISUSE, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)’:
../src/database.cc:145:37: 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]
145 | &baton->request, Work_Open, (uv_after_work_cb)Work_AfterOpen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:144:9: warning: unused variable ‘status’ [-Wunused-variable]
144 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterOpen(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:179:9: note: in expansion of macro ‘EXCEPTION’
179 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)’:
../src/database.cc:231:38: 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]
231 | &baton->request, Work_Close, (uv_after_work_cb)Work_AfterClose);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:230:9: warning: unused variable ‘status’ [-Wunused-variable]
230 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterClose(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:259:9: note: in expansion of macro ‘EXCEPTION’
259 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Database::Configure(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/database.cc:351:9: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
351 | )));
| ^
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:12,
from ../src/database.cc:4:
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = std::__cxx11::basic_string<char>; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, std::__cxx11::basic_string<char>*)]’:
../src/database.cc:391:59: required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
29 | uv_async_init(uv_default_loop(), &watcher, reinterpret_cast<uv_async_cb>(listener));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = node_sqlite3::Database::ProfileInfo; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, node_sqlite3::Database::ProfileInfo*)]’:
../src/database.cc:429:65: required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = node_sqlite3::Database::UpdateInfo; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, node_sqlite3::Database::UpdateInfo*)]’:
../src/database.cc:470:62: required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)’:
../src/database.cc:526:37: 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]
526 | &baton->request, Work_Exec, (uv_after_work_cb)Work_AfterExec);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:525:9: warning: unused variable ‘status’ [-Wunused-variable]
525 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterExec(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:557:9: note: in expansion of macro ‘EXCEPTION’
557 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)’:
../src/database.cc:626:46: 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]
626 | &baton->request, Work_LoadExtension, reinterpret_cast<uv_after_work_cb>(Work_AfterLoadExtension));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/database.cc:625:9: warning: unused variable ‘status’ [-Wunused-variable]
625 | int status = uv_queue_work(uv_default_loop(),
| ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterLoadExtension(uv_work_t*)’:
../src/macros.h:91:13: error: no matching function for call to ‘v8::String::Concat(v8::Local<v8::String>, v8::Local<v8::String>)’
91 | ), \\\n | ^
../src/database.cc:659:9: note: in expansion of macro ‘EXCEPTION’
659 | EXCEPTION(Nan::New(baton->message.c_str()).ToLocalChecked(), baton->status, exception);
| ^~~~~~~~~
In file included from /root/.cache/node-gyp/14.3.0/include/node/node.h:67,
from ../node_modules/nan/nan.h:49,
from ../src/database.h:10,
from ../src/database.cc:4:
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate: ‘static v8::Local<v8::String> v8::String::Concat(v8::Isolate*, v8::Local<v8::String>, v8::Local<v8::String>)’
3201 | static Local<String> Concat(Isolate* isolate, Local<String> left,
| ^~~~~~
/root/.cache/node-gyp/14.3.0/include/node/v8.h:3201:24: note: candidate expects 3 arguments, 2 provided
In file included from ../src/database.h:12,
from ../src/database.cc:4:
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = std::__cxx11::basic_string<char>; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, std::__cxx11::basic_string<char>*)]’:
../src/database.cc:391:59: required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
29 | uv_async_init(uv_default_loop(), &watcher, reinterpret_cast<uv_async_cb>(listener));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = node_sqlite3::Database::ProfileInfo; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, node_sqlite3::Database::ProfileInfo*)]’:
../src/database.cc:429:65: required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = node_sqlite3::Database::UpdateInfo; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, node_sqlite3::Database::UpdateInfo*)]’:
../src/database.cc:470:62: required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
make: *** [node_sqlite3.target.mk:127: Release/obj.target/node_sqlite3/src/database.o] Error 1
make: Leaving directory '/usr/share/.config/yarn/global/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/.config/yarn/global/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.6.13-arch1-1
gyp ERR! command \"/usr/bin/node\" \"/usr/share/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/usr/share/.config/yarn/global/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node\" \"--module_name=node_sqlite3\" \"--module_path=/usr/share/.config/yarn/global/node_modules/sqlite3/lib/binding/node-v83-linux-x64\"
gyp ERR! cwd /usr/share/.config/yarn/global/node_modules/sqlite3
gyp ERR! node -v v14.3.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/share/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/share/.config/yarn/global/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/usr/share/.config/yarn/global/node_modules/sqlite3/lib/binding/node-v83-linux-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/share/.config/yarn/global/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1051:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
node-pre-gyp ERR! System Linux 5.6.13-arch1-1
node-pre-gyp ERR! command \"/usr/bin/node\" \"/usr/share/.config/yarn/global/node_modules/sqlite3/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /usr/share/.config/yarn/global/node_modules/sqlite3
node-pre-gyp ERR! node -v v14.3.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/share/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/share/.config/yarn/global/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/usr/share/.config/yarn/global/node_modules/sqlite3/lib/binding/node-v83-linux-x64' (1)
make: *** [node_sqlite3.target.mk:127: Release/obj.target/node_sqlite3/src/database.o] Error 1
make: Leaving directory '/usr/share/.config/yarn/global/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/.config/yarn/global/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.6.13-arch1-1
gyp ERR! command \"/usr/bin/node\" \"/usr/share/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/usr/share/.config/yarn/global/node_modules/sqlite3/lib/binding/node-v83-linux-x64/node_sqlite3.node\" \"--module_name=node_sqlite3\" \"--module_path=/usr/share/.config/yarn/global/node_modules/sqlite3/lib/binding/node-v83-linux-x64\"
gyp ERR! cwd /usr/share/.config/yarn/global/node_modules/sqlite3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment