usama@usama:~/Learn/back-end/advance-nodejs/section two$ npm i webworker-threads

> webworker-threads@0.7.17 install /home/usama/Learn/back-end/advance-nodejs/section two/node_modules/webworker-threads
> node-gyp rebuild

make: Entering directory '/home/usama/Learn/back-end/advance-nodejs/section two/node_modules/webworker-threads/build'
CXX(target) Release/obj.target/WebWorkerThreads/src/WebWorkerThreads.o
In file included from ../src/WebWorkerThreads.cc:12:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast(AsyncExecuteComplete)
^
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void CountStream::WriteLengthPrefixedString(const v8::Local&)’:
../src/bson.h:140:90: error: no matching function for call to ‘v8::String::Utf8Length()’
void WriteLengthPrefixedString(const Local& value) { count += value->Utf8Length()+5; }
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2678:7: note: candidate: ‘int v8::String::Utf8Length(v8::Isolate*) const’
int Utf8Length(Isolate* isolate) const;
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2678:7: note: candidate expects 1 argument, 0 provided
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void CountStream::WriteString(const v8::Local&)’:
../src/bson.h:142:80: error: no matching function for call to ‘v8::String::Utf8Length()’
void WriteString(const Local& value) { count += value->Utf8Length() + 1; } // This returns the number of bytes exclusive of the NULL terminator
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2678:7: note: candidate: ‘int v8::String::Utf8Length(v8::Isolate*) const’
int Utf8Length(Isolate* isolate) const;
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2678:7: note: candidate expects 1 argument, 0 provided
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void DataStream::WriteByte(const v8::Local&, const v8::Local&)’:
../src/bson.h:165:99: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
void WriteByte(const Local& object, const Local& key) { *p++ = object->Get(key)->Int32Value(); }
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h:165:113: error: no matching function for call to ‘v8::Value::Int32Value()’
void WriteByte(const Local& object, const Local& key) { *p++ = object->Get(key)->Int32Value(); }
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const;
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void DataStream::WriteBool(const v8::Local&)’:
../src/bson.h:175:83: error: no matching function for call to ‘v8::Value::BooleanValue()’
void WriteBool(const Local& value) { WriteByte(value->BooleanValue() ? 1 : 0); }
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
bool BooleanValue(Isolate* isolate) const;
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate: ‘v8::Maybe v8::Value::BooleanValue(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void DataStream::WriteInt32(const v8::Local&)’:
../src/bson.h:176:83: error: no matching function for call to ‘v8::Value::Int32Value()’
void WriteInt32(const Local& value) { WriteInt32(value->Int32Value()); }
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const;
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void DataStream::WriteInt32(const v8::Local&, const v8::Local&)’:
../src/bson.h:177:104: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
void WriteInt32(const Local& object, const Local& key) { WriteInt32(object->Get(key)); }
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void DataStream::WriteInt64(const v8::Local&)’:
../src/bson.h:178:85: error: no matching function for call to ‘v8::Value::IntegerValue()’
void WriteInt64(const Local& value) { WriteInt64(value->IntegerValue()); }
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe IntegerValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void DataStream::WriteDouble(const v8::Local&)’:
../src/bson.h:179:86: error: no matching function for call to ‘v8::Value::NumberValue()’
void WriteDouble(const Local& value) { WriteDouble(value->NumberValue()); }
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2564:39: note: candidate: ‘v8::Maybe v8::Value::NumberValue(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2564:39: note: candidate expects 1 argument, 0 provided
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void DataStream::WriteDouble(const v8::Local&, const v8::Local&)’:
../src/bson.h:180:106: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
void WriteDouble(const Local& object, const Local& key) { WriteDouble(object->Get(key)); }
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void DataStream::WriteLengthPrefixedString(const v8::Local&)’:
../src/bson.h:182:92: error: no matching function for call to ‘v8::String::Utf8Length()’
void WriteLengthPrefixedString(const Local& value) { WriteInt32(value->Utf8Length()+1); WriteString(value); }
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2678:7: note: candidate: ‘int v8::String::Utf8Length(v8::Isolate*) const’
int Utf8Length(Isolate* isolate) const;
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2678:7: note: candidate expects 1 argument, 0 provided
In file included from ../src/bson.cc:41,
from ../src/WebWorkerThreads.cc:17:
../src/bson.h: In member function ‘void DataStream::WriteString(const v8::Local&)’:
../src/bson.h:184:76: error: no matching function for call to ‘v8::String::WriteUtf8(char*&)’
void WriteString(const Local& value) { p += value->WriteUtf8(p); } // This returns the number of bytes inclusive of the NULL terminator.
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2738:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2738:7: note: candidate expects 5 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In member function ‘void DataStream::WriteObjectId(const v8::Local&, const v8::Local&)’:
../src/bson.cc:51:17: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
object->Get(key)->ToString()->Write(buffer, 0, 12);
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:51:29: error: no matching function for call to ‘v8::Value::ToString()’
object->Get(key)->ToString()->Write(buffer, 0, 12);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In member function ‘void DataStream::CheckKey(const v8::Local&)’:
../src/bson.cc:71:41: error: no matching function for call to ‘v8::String::Utf8Length()’
size_t keyLength = keyName->Utf8Length();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2678:7: note: candidate: ‘int v8::String::Utf8Length(v8::Isolate*) const’
int Utf8Length(Isolate* isolate) const;
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2678:7: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:77:36: error: no matching function for call to ‘v8::String::WriteUtf8(char*&)’
keyName->WriteUtf8(keyStringBuffer);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2738:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2738:7: note: candidate expects 5 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In member function ‘void BSONSerializer::SerializeDocument(const v8::Local&)’:
../src/bson.cc:103:57: error: no matching function for call to ‘v8::Object::GetPropertyNames()’
Local propertyNames = object->GetPropertyNames();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3522:43: note: candidate: ‘v8::MaybeLocal v8::Object::GetPropertyNames(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetPropertyNames(
^~~~~~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3522:43: note: candidate expects 1 argument, 0 provided
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3524:43: note: candidate: ‘v8::MaybeLocal v8::Object::GetPropertyNames(v8::Local, v8::KeyCollectionMode, v8::PropertyFilter, v8::IndexFilter, v8::KeyConversionMode)’
V8_WARN_UNUSED_RESULT MaybeLocal GetPropertyNames(
^~~~~~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3524:43: note: candidate expects 5 arguments, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:109:71: error: no matching function for call to ‘v8::Value::ToString()’
const Local& propertyName = propertyNames->Get(i)->ToString();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In member function ‘void BSONSerializer::SerializeArray(const v8::Local&)’:
../src/bson.cc:130:58: error: no matching function for call to ‘v8::Value::ToObject()’
Local array = Local::Cast(value->ToObject());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In member function ‘void BSONSerializer::SerializeValue(void*, const v8::Local&)’:
../src/bson.cc:151:43: error: no matching function for call to ‘v8::Value::NumberValue()’
double doubleValue = value->NumberValue();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2564:39: note: candidate: ‘v8::Maybe v8::Value::NumberValue(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2564:39: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:167:51: error: no matching function for call to ‘v8::Value::ToString()’
this->WriteLengthPrefixedString(value->ToString());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:200:51: error: no matching function for call to ‘v8::Value::ToString()’
this->WriteLengthPrefixedString(value->ToString());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:204:49: error: no matching function for call to ‘v8::Value::ToObject()’
const Local& object = value->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:205:55: error: no matching function for call to ‘v8::Object::Has(v8::Local)’
if(object->Has(Nan::New(bson->_bsontypeString)))
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3449:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Local, v8::Local)’
V8_WARN_UNUSED_RESULT Maybe Has(Local context,
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3449:37: note: candidate expects 2 arguments, 1 provided
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3455:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Local, uint32_t)’
V8_WARN_UNUSED_RESULT Maybe Has(Local context, uint32_t index);
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3455:37: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:229:99: error: no matching function for call to ‘v8::Value::Uint32Value()’
uint32_t length = object->Get(Nan::New(bson->_binaryPositionString))->Uint32Value();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe Uint32Value(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:230:102: error: no matching function for call to ‘v8::Value::ToObject()’
Local bufferObj = object->Get(Nan::New(bson->_binaryBufferString))->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:235:82: error: no matching function for call to ‘v8::Value::Int32Value()’
if(object->Get(Nan::New(bson->_binarySubTypeString))->Int32Value() == 0x02) {
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const;
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:249:107: error: no matching function for call to ‘v8::Value::ToString()’
this->WriteLengthPrefixedString(object->Get(Nan::New(bson->_symbolValueString))->ToString());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:253:104: error: no matching function for call to ‘v8::Value::ToString()’
const Local& function = object->Get(Nan::New(bson->_codeCodeString))->ToString();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:254:102: error: no matching function for call to ‘v8::Value::ToObject()’
const Local& scope = object->Get(Nan::New(bson->_codeScopeString))->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:260:67: error: no matching function for call to ‘v8::Object::GetOwnPropertyNames()’
uint32_t propertyNameLength = scope->GetOwnPropertyNames()->Length();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3534:43: note: candidate: ‘v8::MaybeLocal v8::Object::GetOwnPropertyNames(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetOwnPropertyNames(
^~~~~~~~~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3534:43: note: candidate expects 1 argument, 0 provided
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3543:43: note: candidate: ‘v8::MaybeLocal v8::Object::GetOwnPropertyNames(v8::Local, v8::PropertyFilter, v8::KeyConversionMode)’
V8_WARN_UNUSED_RESULT MaybeLocal GetOwnPropertyNames(
^~~~~~~~~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3543:43: note: candidate expects 3 arguments, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:267:57: error: no matching function for call to ‘v8::String::ToString()’
this->WriteLengthPrefixedString(function->ToString());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:274:57: error: no matching function for call to ‘v8::String::ToString()’
this->WriteLengthPrefixedString(function->ToString());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:319:54: error: no matching function for call to ‘v8::Value::ToObject()’
uint32_t length = Buffer::Length(value->ToObject());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:324:49: error: no matching function for call to ‘v8::Value::ToObject()’
this->WriteData(Buffer::Data(value->ToObject()), length);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In member function ‘v8::Local BSONDeserializer::DeserializeDocumentInternal(bool)’:
../src/bson.cc:440:59: error: no matching function for call to ‘v8::Object::Has(v8::Local)’
if(returnObject->Has(Nan::New(bson->_dbRefIdRefString)))
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3449:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Local, v8::Local)’
V8_WARN_UNUSED_RESULT Maybe Has(Local context,
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3449:37: note: candidate expects 2 arguments, 1 provided
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3455:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Local, uint32_t)’
V8_WARN_UNUSED_RESULT Maybe Has(Local context, uint32_t index);
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3455:37: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:442:82: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local argv[] = { returnObject->Get(Nan::New(bson->_dbRefRefString)), returnObject->Get(Nan::New(bson->_dbRefIdRefString)), returnObject->Get(Nan::New(bson->_dbRefDbRefString)) };
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:442:136: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local argv[] = { returnObject->Get(Nan::New(bson->_dbRefRefString)), returnObject->Get(Nan::New(bson->_dbRefIdRefString)), returnObject->Get(Nan::New(bson->_dbRefDbRefString)) };
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:442:190: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
ocal argv[] = { returnObject->Get(Nan::New(bson->_dbRefRefString)), returnObject->Get(Nan::New(bson->_dbRefIdRefString)), returnObject->Get(Nan::New(bson->_dbRefDbRefString)) };
^

In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In member function ‘v8::Local BSONDeserializer::DeserializeArrayInternal(bool)’:
../src/bson.cc:469:32: warning: ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
returnArray->Set(index, value);
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here
bool Set(uint32_t index, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In member function ‘v8::Local BSONDeserializer::DeserializeValue(BsonType, bool)’:
../src/bson.cc:511:39: error: no matching function for call to ‘v8::Value::ToString()’
return RegExp::New(regex->ToString(), (RegExp::Flags) options);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:527:50: error: no matching function for call to ‘v8::Value::ToObject()’
Local argv[] = { code, scope->ToObject() };
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In static member function ‘static void BSON::Initialize(v8::Local)’:
../src/bson.cc:690:94: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::DefineOwnProperty(target, Nan::New("BSON").ToLocalChecked(), t->GetFunction(), v8::None);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: ‘v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BSON::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bson.cc:714:62: warning: ‘v8::Local v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local func = Local::Cast(array->Get(i));
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:715:60: error: no matching function for call to ‘v8::Value::ToString()’
Local functionName = func->GetName()->ToString();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BSON::BSONDeserialize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bson.cc:781:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(info.Length() > 1 && !info[0]->IsString() && !Buffer::HasInstance(info[0]))
^~
../src/bson.cc:785:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
bool promoteLongs = true;
^~~~
../src/bson.cc:789:51: error: no matching function for call to ‘v8::Value::ToObject()’
Local options = info[1]->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:791:74: error: no matching function for call to ‘v8::Object::Has(v8::Local)’
if(options->Has(Nan::New("promoteLongs").ToLocalChecked())) {
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3449:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Local, v8::Local)’
V8_WARN_UNUSED_RESULT Maybe Has(Local context,
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3449:37: note: candidate expects 2 arguments, 1 provided
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3455:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Local, uint32_t)’
V8_WARN_UNUSED_RESULT Maybe Has(Local context, uint32_t index);
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3455:37: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:792:90: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
promoteLongs = options->Get(Nan::New("promoteLongs").ToLocalChecked())->ToBoolean()->Value();
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:792:103: error: no matching function for call to ‘v8::Value::ToBoolean()’
promoteLongs = options->Get(Nan::New("promoteLongs").ToLocalChecked())->ToBoolean()->Value();
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2524:59: note: candidate: ‘v8::MaybeLocal v8::Value::ToBoolean(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToBoolean(
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2524:59: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT MaybeLocal ToBoolean(
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2540:18: note: candidate: ‘v8::Local v8::Value::ToBoolean(v8::Isolate*) const’
Local ToBoolean(Isolate* isolate) const;
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2540:18: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:797:43: error: no matching function for call to ‘v8::Value::ToObject()’
Local obj = info[0]->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In member function ‘v8::Local BSON::GetSerializeObject(const v8::Local&)’:
../src/bson.cc:864:44: error: no matching function for call to ‘v8::Value::ToObject()’
Local object = argValue->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:865:43: error: no matching function for call to ‘v8::Object::Has(v8::Local)’
if(object->Has(Nan::New(_toBSONString)))
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3449:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Local, v8::Local)’
V8_WARN_UNUSED_RESULT Maybe Has(Local context,
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3449:37: note: candidate expects 2 arguments, 1 provided
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3455:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Local, uint32_t)’
V8_WARN_UNUSED_RESULT Maybe Has(Local context, uint32_t index);
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3455:37: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:867:73: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
const Local& toBSON = object->Get(Nan::New(_toBSONString));
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:870:76: error: no matching function for call to ‘v8::Function::Call(v8::Local&, int, NULL)’
Local result = Local::Cast(toBSON)->Call(object, 0, NULL);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:4148:43: note: candidate: ‘v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*)’
V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context,
^~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:4148:43: note: candidate expects 4 arguments, 3 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:872:27: error: no matching function for call to ‘v8::Value::ToObject()’
return result->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BSON::BSONSerialize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bson.cc:898:77: error: no matching function for call to ‘v8::Value::BooleanValue()’
bool serializeFunctions = (info.Length() >= 4) && info[3]->BooleanValue();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
bool BooleanValue(Isolate* isolate) const;
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate: ‘v8::Maybe v8::Value::BooleanValue(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:914:94: error: no matching function for call to ‘v8::Value::BooleanValue()’
bool checkKeys = info.Length() >= 3 && info[1]->IsBoolean() && info[1]->BooleanValue();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
bool BooleanValue(Isolate* isolate) const;
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate: ‘v8::Maybe v8::Value::BooleanValue(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:935:105: error: no matching function for call to ‘v8::Value::ToString()’
Local bin_value = Nan::Encode(serialized_object, object_size, (Nan::Encoding)BINARY)->ToString();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BSON::CalculateObjectSize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bson.cc:951:77: error: no matching function for call to ‘v8::Value::BooleanValue()’
bool serializeFunctions = (info.Length() >= 2) && info[1]->BooleanValue();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
bool BooleanValue(Isolate* isolate) const;
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate: ‘v8::Maybe v8::Value::BooleanValue(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BSON::SerializeWithBufferAndIndex(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bson.cc:976:47: error: no matching function for call to ‘v8::Value::ToObject()’
Local obj = info[2]->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:980:38: error: no matching function for call to ‘v8::Value::Uint32Value()’
index = info[3]->Uint32Value();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe Uint32Value(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:981:94: error: no matching function for call to ‘v8::Value::BooleanValue()’
bool checkKeys = info.Length() >= 4 && info[1]->IsBoolean() && info[1]->BooleanValue();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
bool BooleanValue(Isolate* isolate) const;
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate: ‘v8::Maybe v8::Value::BooleanValue(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:982:81: error: no matching function for call to ‘v8::Value::BooleanValue()’
bool serializeFunctions = (info.Length() == 5) && info[4]->BooleanValue();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
bool BooleanValue(Isolate* isolate) const;
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2559:8: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate: ‘v8::Maybe v8::Value::BooleanValue(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2562:51: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BSON::BSONDeserializeStream(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bson.cc:1021:43: error: no matching function for call to ‘v8::Value::ToObject()’
Local obj = info[0]->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:1022:55: error: no matching function for call to ‘v8::Value::Uint32Value()’
uint32_t numberOfDocuments = info[2]->Uint32Value();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe Uint32Value(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:1023:43: error: no matching function for call to ‘v8::Value::Uint32Value()’
uint32_t index = info[1]->Uint32Value();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe Uint32Value(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:1024:49: error: no matching function for call to ‘v8::Value::Uint32Value()’
uint32_t resultIndex = info[4]->Uint32Value();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe Uint32Value(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:1029:51: error: no matching function for call to ‘v8::Value::ToObject()’
Local options = info[5]->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:1032:74: error: no matching function for call to ‘v8::Object::Has(v8::Local)’
if(options->Has(Nan::New("promoteLongs").ToLocalChecked())) {
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3449:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Local, v8::Local)’
V8_WARN_UNUSED_RESULT Maybe Has(Local context,
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3449:37: note: candidate expects 2 arguments, 1 provided
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3455:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Local, uint32_t)’
V8_WARN_UNUSED_RESULT Maybe Has(Local context, uint32_t index);
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3455:37: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:1033:90: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
promoteLongs = options->Get(Nan::New("promoteLongs").ToLocalChecked())->ToBoolean()->Value();
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:1033:103: error: no matching function for call to ‘v8::Value::ToBoolean()’
promoteLongs = options->Get(Nan::New("promoteLongs").ToLocalChecked())->ToBoolean()->Value();
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2524:59: note: candidate: ‘v8::MaybeLocal v8::Value::ToBoolean(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToBoolean(
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2524:59: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT MaybeLocal ToBoolean(
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2540:18: note: candidate: ‘v8::Local v8::Value::ToBoolean(v8::Isolate*) const’
Local ToBoolean(Isolate* isolate) const;
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2540:18: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:1051:49: error: no matching function for call to ‘v8::Value::ToObject()’
Local documents = info[3]->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:1058:82: warning: ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
documents->Set(i + resultIndex, deserializer.DeserializeDocument(promoteLongs));
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here
bool Set(uint32_t index, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc: In function ‘void ReportException(Nan::TryCatch*)’:
../src/jslib.cc:32:52: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
String::Utf8Value exception(try_catch->Exception());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:40:62: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
String::Utf8Value filename(message->GetScriptResourceName());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:41:40: error: no matching function for call to ‘v8::Message::GetLineNumber()’
int linenum = message->GetLineNumber();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1773:36: note: candidate: ‘v8::Maybe v8::Message::GetLineNumber(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe GetLineNumber(Local context) const;
^~~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1773:36: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:44:55: error: no matching function for call to ‘v8::Message::GetSourceLine()’
String::Utf8Value sourceline(message->GetSourceLine());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1748:44: note: candidate: ‘v8::MaybeLocal v8::Message::GetSourceLine(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal GetSourceLine(
^~~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1748:44: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:66:73: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
String::Utf8Value stack_trace(try_catch->StackTrace().ToLocalChecked());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE readFileSync_(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/jslib.cc:77:68: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
FILE *f = fopen(*String::Utf8Value(Local::Cast(info[0])), "rb");
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc: In function ‘void console_common_1(const v8::Local&, FILE*, int)’:
../src/jslib.cc:121:49: error: no matching function for call to ‘v8::Object::GetPropertyNames()’
Local ar = obj->GetPropertyNames();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3522:43: note: candidate: ‘v8::MaybeLocal v8::Object::GetPropertyNames(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetPropertyNames(
^~~~~~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3522:43: note: candidate expects 1 argument, 0 provided
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3524:43: note: candidate: ‘v8::MaybeLocal v8::Object::GetPropertyNames(v8::Local, v8::KeyCollectionMode, v8::PropertyFilter, v8::IndexFilter, v8::KeyConversionMode)’
V8_WARN_UNUSED_RESULT MaybeLocal GetPropertyNames(
^~~~~~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3524:43: note: candidate expects 5 arguments, 0 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:124:27: warning: ‘v8::Local v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
lv = obj->Get(ar->Get(i));
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:124:28: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
lv = obj->Get(ar->Get(i));
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:125:92: warning: ‘v8::Local v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
fprintf(fd, "%s%s: ", indent, *(String::Utf8Value(Local::Cast(ar->Get(i)))));
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:125:94: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
fprintf(fd, "%s%s: ", indent, *(String::Utf8Value(Local::Cast(ar->Get(i)))));
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:132:90: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
fprintf(fd, "%s%s\n", indent, *(String::Utf8Value(Local::Cast(lv))));
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:141:19: warning: ‘v8::Local v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
lv = obj->Get(i);
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:149:90: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
fprintf(fd, "%s%s\n", indent, *(String::Utf8Value(Local::Cast(lv))));
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:154:81: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
fprintf(fd, "%s%s\n", indent, *(String::Utf8Value(Local::Cast(v))));
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Puts(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/WebWorkerThreads.cc:168:36: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
String::Utf8Value c_str(info[i]);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Print(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/WebWorkerThreads.cc:182:40: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
String::Utf8Value c_str(info[i]);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/WebWorkerThreads.cc: In function ‘void eventLoop(typeThread*)’:
../src/jslib.cc:27:122: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::DefineOwnProperty(obj, Nan::New(name).ToLocalChecked(), Nan::New(fnname)->GetFunction(), (PropertyAttribute)(DontDelete));
^
../src/WebWorkerThreads.cc:258:5: note: in expansion of macro ‘JSObjFn’
JSObjFn(fs_obj, "readFileSync", readFileSync_);
^~~~~~~
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: ‘v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:27:122: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::DefineOwnProperty(obj, Nan::New(name).ToLocalChecked(), Nan::New(fnname)->GetFunction(), (PropertyAttribute)(DontDelete));
^
../src/WebWorkerThreads.cc:262:5: note: in expansion of macro ‘JSObjFn’
JSObjFn(console_obj, "log", console_log);
^~~~~~~
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: ‘v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
In file included from ../src/WebWorkerThreads.cc:18:
../src/jslib.cc:27:122: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::DefineOwnProperty(obj, Nan::New(name).ToLocalChecked(), Nan::New(fnname)->GetFunction(), (PropertyAttribute)(DontDelete));
^
../src/WebWorkerThreads.cc:263:5: note: in expansion of macro ‘JSObjFn’
JSObjFn(console_obj, "error", console_error);
^~~~~~~
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: ‘v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
../src/WebWorkerThreads.cc:269:125: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::DefineOwnProperty(global, Nan::New("puts").ToLocalChecked(), Nan::New(Puts)->GetFunction(), v8::None);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: ‘v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
../src/WebWorkerThreads.cc:270:127: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::DefineOwnProperty(global, Nan::New("print").ToLocalChecked(), Nan::New(Print)->GetFunction(), v8::None);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: ‘v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
../src/WebWorkerThreads.cc:272:139: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::DefineOwnProperty(global, Nan::New("postMessage").ToLocalChecked(), Nan::New(postMessage)->GetFunction(), v8::None);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: ‘v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
../src/WebWorkerThreads.cc:273:137: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Nan::DefineOwnProperty(global, Nan::New("__postError").ToLocalChecked(), Nan::New(postError)->GetFunction(), v8::None);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: ‘v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
../src/WebWorkerThreads.cc:278:92: warning: ‘bool v8::Object::Set(v8::Local, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
threadObject->Set(Nan::New("id").ToLocalChecked(), Nan::New(thread->id));
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
bool Set(Local key, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:279:118: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
threadObject->Set(Nan::New("emit").ToLocalChecked(), Nan::New(threadEmit)->GetFunction());
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: ‘v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
../src/WebWorkerThreads.cc:280:116: error: no matching function for call to ‘v8::Script::Compile(v8::Local)’
Local dispatchEvents= Nan::CallAsFunction(Script::Compile(Nan::New(kEvents_js).ToLocalChecked())->Run()->ToObject(), threadObject, 0, NULL).ToLocalChecked()->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1373:51: note: candidate: ‘static v8::MaybeLocal v8::Script::Compile(v8::Local, v8::Local, v8::ScriptOrigin*)’
static V8_WARN_UNUSED_RESULT MaybeLocal Compile(
^~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1373:51: note: candidate expects 3 arguments, 1 provided
../src/WebWorkerThreads.cc:281:108: error: no matching function for call to ‘v8::Script::Compile(v8::Local)’
Local dispatchNextTicks= Script::Compile(Nan::New(kThread_nextTick_js).ToLocalChecked())->Run()->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1373:51: note: candidate: ‘static v8::MaybeLocal v8::Script::Compile(v8::Local, v8::Local, v8::ScriptOrigin*)’
static V8_WARN_UNUSED_RESULT MaybeLocal Compile(
^~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1373:51: note: candidate expects 3 arguments, 1 provided
../src/WebWorkerThreads.cc:283:91: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Array* _ntq = Array::Cast(*threadObject->Get(Nan::New("_ntq").ToLocalChecked()));
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:285:64: error: no matching function for call to ‘v8::Script::Compile(v8::Local)’
Script::Compile(Nan::New(kLoad_js).ToLocalChecked())->Run();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1373:51: note: candidate: ‘static v8::MaybeLocal v8::Script::Compile(v8::Local, v8::Local, v8::ScriptOrigin*)’
static V8_WARN_UNUSED_RESULT MaybeLocal Compile(
^~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1373:51: note: candidate expects 3 arguments, 1 provided
../src/WebWorkerThreads.cc:334:115: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
job->typeEval.resultado= new String::Utf8Value(job->typeEval.error ? onError.Exception() : resultado);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc:359:86: warning: ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
array->Set(i, Nan::New(**str, (*str).length()).ToLocalChecked());
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here
bool Set(uint32_t index, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:383:83: error: no matching function for call to ‘v8::Value::ToObject()’
Local result = deserializer.DeserializeDocument(true)->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:384:54: warning: ‘v8::Local v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int i = 0; do { array->Set(i, result->Get(i)); } while (++i < len);
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:384:55: warning: ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int i = 0; do { array->Set(i, result->Get(i)); } while (++i < len);
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here
bool Set(uint32_t index, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:407:57: error: no matching function for call to ‘v8::Value::NumberValue()’
nextTickQueueLength= resultado->NumberValue();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2564:39: note: candidate: ‘v8::Maybe v8::Value::NumberValue(v8::Local) const’
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2564:39: note: candidate expects 1 argument, 0 provided
../src/WebWorkerThreads.cc: In function ‘void Callback(uv_async_t*, int)’:
../src/WebWorkerThreads.cc:530:80: warning: ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
array->Set(i, Nan::New(**str, (*str).length()).ToLocalChecked());
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here
bool Set(uint32_t index, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:555:83: error: no matching function for call to ‘v8::Value::ToObject()’
Local result = deserializer.DeserializeDocument(true)->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:556:54: warning: ‘v8::Local v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int i = 0; do { array->Set(i, result->Get(i)); } while (++i < len);
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:556:55: warning: ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int i = 0; do { array->Set(i, result->Get(i)); } while (++i < len);
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here
bool Set(uint32_t index, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Eval(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/WebWorkerThreads.cc:615:48: error: no matching function for call to ‘v8::Value::ToObject()’
Local local_cb = info[1]->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:618:71: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
job->typeEval.scriptText_StringObject= new String::Utf8Value(info[0]);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc: In function ‘char* readFile(v8::Local)’:
../src/WebWorkerThreads.cc:631:35: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local&)’
v8::String::Utf8Value c_str(path);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Load(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/WebWorkerThreads.cc:673:44: error: no matching function for call to ‘v8::Value::ToString()’
char* source= readFile(info[0]->ToString()); //@Bruno: here we don't know if the file was not found or if it was an empty file
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToString(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:681:48: error: no matching function for call to ‘v8::Value::ToObject()’
Local local_cb = info[1]->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE processEmit(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/WebWorkerThreads.cc:713:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
job->typeEvent.eventName= new String::Utf8Value(info[0]);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc:718:66: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
job->typeEvent.argumentos[i-1]= new String::Utf8Value(info[i]);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE processEmitSerialized(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/WebWorkerThreads.cc:743:68: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
job->typeEventSerialized.eventName= new String::Utf8Value(info[0]);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc:745:42: warning: ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int i = 1; do { array->Set(i-1, info[i]); } while (++i < len);
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here
bool Set(uint32_t index, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE postMessage(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/WebWorkerThreads.cc:780:105: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
job->typeEventSerialized.eventName= new String::Utf8Value(Nan::New(eventname).ToLocalChecked()); \
^
../src/WebWorkerThreads.cc:809:3: note: in expansion of macro ‘POST_EVENT’
POST_EVENT("message");
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc:784:40: warning: ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int i = 0; do { array->Set(i, info[i]); } while (++i < len); \
^
../src/WebWorkerThreads.cc:809:3: note: in expansion of macro ‘POST_EVENT’
POST_EVENT("message");
^~~~~~~~~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here
bool Set(uint32_t index, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE postError(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/WebWorkerThreads.cc:780:105: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
job->typeEventSerialized.eventName= new String::Utf8Value(Nan::New(eventname).ToLocalChecked()); \
^
../src/WebWorkerThreads.cc:813:3: note: in expansion of macro ‘POST_EVENT’
POST_EVENT("error");
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc:784:40: warning: ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int i = 0; do { array->Set(i, info[i]); } while (++i < len); \
^
../src/WebWorkerThreads.cc:813:3: note: in expansion of macro ‘POST_EVENT’
POST_EVENT("error");
^~~~~~~~~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here
bool Set(uint32_t index, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE threadEmit(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/WebWorkerThreads.cc:829:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
job->typeEvent.eventName= new String::Utf8Value(info[0]);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc:834:66: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local)’
job->typeEvent.argumentos[i-1]= new String::Utf8Value(info[i]);
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local)’
Utf8Value(Isolate* isolate, Local obj);
^~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided
../src/WebWorkerThreads.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Create(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/WebWorkerThreads.cc:869:74: error: no matching function for call to ‘v8::ObjectTemplate::NewInstance()’
Local local_JSObject = Nan::New(threadTemplate)->NewInstance();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:6245:44: note: candidate: ‘v8::MaybeLocal v8::ObjectTemplate::NewInstance(v8::Local)’
V8_WARN_UNUSED_RESULT MaybeLocal NewInstance(Local context);
^~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:6245:44: note: candidate expects 1 argument, 0 provided
../src/WebWorkerThreads.cc:870:104: warning: ‘bool v8::Object::Set(v8::Local, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
local_JSObject->Set(Nan::New("id").ToLocalChecked(), Nan::New((int32_t)thread->id));
^
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
bool Set(Local key, Local value));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:875:115: error: no matching function for call to ‘v8::Script::Compile(v8::Local)’
Local dispatchEvents= Nan::CallAsFunction(Script::Compile(Nan::New(kEvents_js).ToLocalChecked())->Run()->ToObject(), local_JSObject, 0, NULL).ToLocalChecked();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1373:51: note: candidate: ‘static v8::MaybeLocal v8::Script::Compile(v8::Local, v8::Local, v8::ScriptOrigin*)’
static V8_WARN_UNUSED_RESULT MaybeLocal Compile(
^~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:1373:51: note: candidate expects 3 arguments, 1 provided
../src/WebWorkerThreads.cc:876:64: error: no matching function for call to ‘v8::Value::ToObject()’
Local local_dispatchEvents = dispatchEvents->ToObject();
^
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToObject(v8::Local) const’
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: ‘v8::Local v8::Value::ToObject(v8::Isolate*) const’
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/WebWorkerThreads.cc:879:100: 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]
uv_async_init(uv_default_loop(), &thread->async_watcher, reinterpret_cast(Callback));
^
../src/WebWorkerThreads.cc: At global scope:
../src/WebWorkerThreads.cc:900:12: error: variable or field ‘Init’ declared void
void Init (Handle target, Handle module, void *) {
^~~~~~
../src/WebWorkerThreads.cc:900:12: error: ‘Handle’ was not declared in this scope
../src/WebWorkerThreads.cc:900:12: note: suggested alternative: ‘daddl’
void Init (Handle target, Handle module, void *) {
^~~~~~
daddl
../src/WebWorkerThreads.cc:900:25: error: expected primary-expression before ‘>’ token
void Init (Handle target, Handle module, void *) {
^
../src/WebWorkerThreads.cc:900:27: error: ‘target’ was not declared in this scope
void Init (Handle target, Handle module, void *) {
^~~~~~
../src/WebWorkerThreads.cc:900:27: note: suggested alternative: ‘tzset’
void Init (Handle target, Handle module, void *) {
^~~~~~
tzset
../src/WebWorkerThreads.cc:900:35: error: ‘Handle’ was not declared in this scope
void Init (Handle target, Handle module, void *) {
^~~~~~
../src/WebWorkerThreads.cc:900:35: note: suggested alternative: ‘daddl’
void Init (Handle target, Handle module, void *) {
^~~~~~
daddl
../src/WebWorkerThreads.cc:900:47: error: expected primary-expression before ‘>’ token
void Init (Handle target, Handle module, void *) {
^
../src/WebWorkerThreads.cc:900:49: error: ‘module’ was not declared in this scope
void Init (Handle target, Handle module, void *) {
^~~~~~
../src/WebWorkerThreads.cc:900:49: note: suggested alternative: ‘modfl’
void Init (Handle target, Handle module, void *) {
^~~~~~
modfl
../src/WebWorkerThreads.cc:900:57: error: expected primary-expression before ‘void’
void Init (Handle target, Handle module, void *) {
^~~~
In file included from ../src/WebWorkerThreads.cc:6:
/home/usama/.cache/node-gyp/12.6.0/include/node/node.h:556:43: warning: cast between incompatible function types from ‘void (*)(int*, const char**, int*, const char***)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/home/usama/.cache/node-gyp/12.6.0/include/node/node.h:590:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/WebWorkerThreads.cc:935:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(WebWorkerThreads, Init)
^~~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo::Callback = void (*)(const v8::WeakCallbackInfo&)]’:
/home/usama/.cache/node-gyp/12.6.0/include/node/node_object_wrap.h:84:78: required from here
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:9846:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
reinterpret_cast(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo::Callback = void (*)(const v8::WeakCallbackInfo&)]’:
../../nan/nan_object_wrap.h:65:61: required from here
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:9846:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In instantiation of ‘void BSONSerializer::SerializeDocument(const v8::Local&) [with T = CountStream]’:
../src/bson.cc:907:35: required from here
../src/bson.cc:112:50: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
const Local& propertyValue = object->Get(propertyName);
~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In instantiation of ‘void BSONSerializer::SerializeDocument(const v8::Local&) [with T = DataStream]’:
../src/bson.cc:916:32: required from here
../src/bson.cc:112:50: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
const Local& propertyValue = object->Get(propertyName);
~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In instantiation of ‘void BSONSerializer::SerializeValue(void*, const v8::Local&) [with T = CountStream]’:
../src/bson.cc:118:4: required from ‘void BSONSerializer::SerializeDocument(const v8::Local&) [with T = CountStream]’
../src/bson.cc:907:35: required from here
../src/bson.cc:285:52: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
SerializeValue(refType, object->Get(Nan::New(bson->_dbRefNamespaceString)));
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:289:51: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
SerializeValue(idType, object->Get(Nan::New(bson->_dbRefOidString)));
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:291:61: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
const Local& refDbValue = object->Get(Nan::New(bson->_dbRefDbString));
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In instantiation of ‘void BSONSerializer::SerializeValue(void*, const v8::Local&) [with T = DataStream]’:
../src/bson.cc:118:4: required from ‘void BSONSerializer::SerializeDocument(const v8::Local&) [with T = DataStream]’
../src/bson.cc:916:32: required from here
../src/bson.cc:285:52: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
SerializeValue(refType, object->Get(Nan::New(bson->_dbRefNamespaceString)));
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:289:51: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
SerializeValue(idType, object->Get(Nan::New(bson->_dbRefOidString)));
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc:291:61: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
const Local& refDbValue = object->Get(Nan::New(bson->_dbRefDbString));
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In instantiation of ‘void BSONSerializer::SerializeArray(const v8::Local&) [with T = CountStream]’:
../src/bson.cc:177:3: required from ‘void BSONSerializer::SerializeValue(void*, const v8::Local&) [with T = CountStream]’
../src/bson.cc:118:4: required from ‘void BSONSerializer::SerializeDocument(const v8::Local&) [with T = CountStream]’
../src/bson.cc:907:35: required from here
../src/bson.cc:137:42: warning: ‘v8::Local v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
SerializeValue(typeLocation, array->Get(i));
~~~~~~~~~~^~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In instantiation of ‘void BSONSerializer::SerializeArray(const v8::Local&) [with T = DataStream]’:
../src/bson.cc:177:3: required from ‘void BSONSerializer::SerializeValue(void*, const v8::Local&) [with T = DataStream]’
../src/bson.cc:118:4: required from ‘void BSONSerializer::SerializeDocument(const v8::Local&) [with T = DataStream]’
../src/bson.cc:916:32: required from here
../src/bson.cc:137:42: warning: ‘v8::Local v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
SerializeValue(typeLocation, array->Get(i));
~~~~~~~~~~^~~
In file included from /home/usama/.cache/node-gyp/12.6.0/include/node/v8-internal.h:14,
from /home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:25,
from ../src/WebWorkerThreads.cc:5:
/home/usama/.cache/node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index));
^~~
/home/usama/.cache/node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:17:
../src/bson.cc: In member function ‘v8::Local BSONDeserializer::DeserializeDocumentInternal(bool)’:
../src/bson.cc:449:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/bson.cc: In member function ‘v8::Local BSONDeserializer::DeserializeValue(BsonType, bool)’:
../src/bson.cc:511:66: warning: this statement may fall through [-Wimplicit-fallthrough=]
return RegExp::New(regex->ToString(), (RegExp::Flags) options);
^
../src/bson.cc:514:2: note: here
case BSON_TYPE_CODE:
^~~~
../src/WebWorkerThreads.cc: At global scope:
../src/WebWorkerThreads.cc:630:14: warning: ‘char* readFile(v8::Local)’ defined but not used [-Wunused-function]
static char* readFile (Local path) {
^~~~~~~~
In file included from ../src/WebWorkerThreads.cc:105:
../src/worker.js.c:1:20: warning: ‘kWorker_js’ defined but not used [-Wunused-variable]
static const char* kWorker_js= "(\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x57\x6f\x72\x6b\x65\x72\x28\x29\x7b\x76\x61\x72 \x54\x68\x72\x65\x61\x64\x73\x3b\x54\x68\x72\x65\x61\x64\x73\x3d\x74\x68\x69\x73\x3b\x72\x65\x74\x75\x72\x6e\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x76\x61\x72 \x70\x72\x6f\x74\x6f\x74\x79\x70\x65\x3d\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72\x2e\x70\x72\x6f\x74\x6f\x74\x79\x70\x65\x3b\x66\x75\x6e\x63\x74\x69\x6f\x6e \x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72\x28\x63\x6f\x64\x65\x29\x7b\x76\x61\x72 \x74\x2c\x74\x68\x69\x73\x24\x3d\x74\x68\x69\x73\x3b\x74\x68\x69\x73\x2e\x74\x68\x72\x65\x61\x64\x3d\x74\x3d\x54\x68\x72\x65\x61\x64\x73\x2e\x63\x72\x65\x61\x74\x65\x28\x29\x3b\x74\x2e\x6f\x6e\x28\x27\x6d\x65\x73\x73\x61\x67\x65\x27\x2c\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x61\x72\x67\x73\x29\x7b\x72\x65\x74\x75\x72\x6e \x74\x79\x70\x65\x6f\x66 \x74\x68\x69\x73\x24\x2e\x6f\x6e\x6d\x65\x73\x73\x61\x67\x65\x3d\x3d\x27\x66\x75\x6e\x63\x74\x69\x6f\x6e\x27\x3f\x74\x68\x69\x73\x24\x2e\x6f\x6e\x6d\x65\x73\x73\x61\x67\x65\x28\x7b\x64\x61\x74\x61\x3a\x61\x72\x67\x73\x7d\x29\x3a\x76\x6f\x69\x64 \x38\x3b\x7d\x29\x3b\x74\x2e\x6f\x6e\x28\x27\x65\x72\x72\x6f\x72\x27\x2c\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x61\x72\x67\x73\x29\x7b\x72\x65\x74\x75\x72\x6e \x74\x79\x70\x65\x6f\x66 \x74\x68\x69\x73\x24\x2e\x6f\x6e\x65\x72\x72\x6f\x72\x3d\x3d\x27\x66\x75\x6e\x63\x74\x69\x6f\x6e\x27\x3f\x74\x68\x69\x73\x24\x2e\x6f\x6e\x65\x72\x72\x6f\x72\x28\x61\x72\x67\x73\x29\x3a\x76\x6f\x69\x64 \x38\x3b\x7d\x29\x3b\x74\x2e\x6f\x6e\x28\x27\x63\x6c\x6f\x73\x65\x27\x2c\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x72\x65\x74\x75\x72\x6e \x74\x2e\x64\x65\x73\x74\x72\x6f\x79\x28\x29\x3b\x7d\x29\x3b\x74\x68\x69\x73\x2e\x74\x65\x72\x6d\x69\x6e\x61\x74\x65\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x72\x65\x74\x75\x72\x6e \x74\x2e\x64\x65\x73\x74\x72\x6f\x79\x28\x29\x3b\x7d\x3b\x74\x68\x69\x73\x2e\x61\x64\x64\x45\x76\x65\x6e\x74\x4c\x69\x73\x74\x65\x6e\x65\x72\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x76\x65\x6e\x74\x2c\x63\x62\x29\x7b\x69\x66\x28\x65\x76\x65\x6e\x74\x3d\x3d\x3d\x27\x6d\x65\x73\x73\x61\x67\x65\x27\x29\x7b\x72\x65\x74\x75\x72\x6e \x74\x68\x69\x73\x24\x2e\x6f\x6e\x6d\x65\x73\x73\x61\x67\x65\x3d\x63\x62\x3b\x7d\x65\x6c\x73\x65\x7b\x72\x65\x74\x75\x72\x6e \x74\x2e\x6f\x6e\x28\x65\x76\x65\x6e\x74\x2c\x63\x62\x29\x3b\x7d\x7d\x3b\x74\x68\x69\x73\x2e\x64\x69\x73\x70\x61\x74\x63\x68\x45\x76\x65\x6e\x74\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x76\x65\x6e\x74\x29\x7b\x72\x65\x74\x75\x72\x6e \x74\x2e\x65\x6d\x69\x74\x53\x65\x72\x69\x61\x6c\x69\x7a\x65\x64\x28\x65\x76\x65\x6e\x74\x2e\x74\x79\x70\x65\x2c\x65\x76\x65\x6e\x74\x29\x3b\x7d\x3b\x74\x68\x69\x73\x2e\x70\x6f\x73\x74\x4d\x65\x73\x73\x61\x67\x65\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x64\x61\x74\x61\x29\x7b\x72\x65\x74\x75\x72\x6e \x74\x2e\x65\x6d\x69\x74\x53\x65\x72\x69\x61\x6c\x69\x7a\x65\x64\x28\x27\x6d\x65\x73\x73\x61\x67\x65\x27\x2c\x7b\x64\x61\x74\x61\x3a\x64\x61\x74\x61\x7d\x29\x3b\x7d\x3b\x69\x66\x28\x74\x79\x70\x65\x6f\x66 \x63\x6f\x64\x65\x3d\x3d\x3d\x27\x66\x75\x6e\x63\x74\x69\x6f\x6e\x27\x29\x7b\x74\x2e\x65\x76\x61\x6c\x28\x22\x28\x22\x2b\x63\x6f\x64\x65\x2b\x22\x29\x28\x29\x22\x29\x3b\x7d\x65\x6c\x73\x65 \x69\x66\x28\x63\x6f\x64\x65\x21\x3d\x6e\x75\x6c\x6c\x29\x7b\x74\x2e\x6c\x6f\x61\x64\x28\x63\x6f\x64\x65\x29\x3b\x7d\x7d\n\x72\x65\x74\x75\x72\x6e \x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72\x3b\x7d\x28\x29\x29\x3b\x7d)";
^~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:104:
../src/createPool.js.c:1:20: warning: ‘kCreatePool_js’ defined but not used [-Wunused-variable]
static const char* kCreatePool_js= "(\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x63\x72\x65\x61\x74\x65\x50\x6f\x6f\x6c\x28\x6e\x29\x7b\x76\x61\x72 \x54\x2c\x70\x6f\x6f\x6c\x2c\x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x2c\x71\x2c\x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x2c\x65\x3b\x54\x3d\x74\x68\x69\x73\x3b\x6e\x3d\x4d\x61\x74\x68\x2e\x66\x6c\x6f\x6f\x72\x28\x6e\x29\x3b\x69\x66\x28\x21\x28\x6e\x3e\x30\x29\x29\x7b\x74\x68\x72\x6f\x77\x27\x2e\x63\x72\x65\x61\x74\x65\x50\x6f\x6f\x6c\x28 \x6e\x75\x6d \x29\x3a \x6e\x75\x6d\x62\x65\x72 \x6f\x66 \x74\x68\x72\x65\x61\x64\x73 \x6d\x75\x73\x74 \x62\x65 \x61 \x4e\x75\x6d\x62\x65\x72 \x3e \x30\x27\x3b\x7d\n\x70\x6f\x6f\x6c\x3d\x5b\x5d\x3b\x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x3d\x5b\x5d\x3b\x71\x3d\x7b\x66\x69\x72\x73\x74\x3a\x6e\x75\x6c\x6c\x2c\x6c\x61\x73\x74\x3a\x6e\x75\x6c\x6c\x2c\x6c\x65\x6e\x67\x74\x68\x3a\x30\x7d\x3b\x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x3d\x7b\x6f\x6e\x3a\x6f\x6e\x45\x76\x65\x6e\x74\x2c\x6c\x6f\x61\x64\x3a\x70\x6f\x6f\x6c\x4c\x6f\x61\x64\x2c\x64\x65\x73\x74\x72\x6f\x79\x3a\x64\x65\x73\x74\x72\x6f\x79\x2c\x70\x65\x6e\x64\x69\x6e\x67\x4a\x6f\x62\x73\x3a\x67\x65\x74\x50\x65\x6e\x64\x69\x6e\x67\x4a\x6f\x62\x73\x2c\x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x3a\x67\x65\x74\x49\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x2c\x74\x6f\x74\x61\x6c\x54\x68\x72\x65\x61\x64\x73\x3a\x67\x65\x74\x4e\x75\x6d\x54\x68\x72\x65\x61\x64\x73\x2c\x61\x6e\x79\x3a\x7b\x65\x76\x61\x6c\x3a\x65\x76\x61\x6c\x41\x6e\x79\x2c\x65\x6d\x69\x74\x3a\x65\x6d\x69\x74\x41\x6e\x79\x7d\x2c\x61\x6c\x6c\x3a\x7b\x65\x76\x61\x6c\x3a\x65\x76\x61\x6c\x41\x6c\x6c\x2c\x65\x6d\x69\x74\x3a\x65\x6d\x69\x74\x41\x6c\x6c\x7d\x7d\x3b\x74\x72\x79\x7b\x77\x68\x69\x6c\x65\x28\x6e\x2d\x2d\x29\x7b\x70\x6f\x6f\x6c\x5b\x6e\x5d\x3d\x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x5b\x6e\x5d\x3d\x54\x2e\x63\x72\x65\x61\x74\x65\x28\x29\x3b\x7d\x7d\x63\x61\x74\x63\x68\x28\x65\x24\x29\x7b\x65\x3d\x65\x24\x3b\x64\x65\x73\x74\x72\x6f\x79\x28\x27\x72\x75\x64\x65\x6c\x79\x27\x29\x3b\x74\x68\x72\x6f\x77 \x65\x3b\x7d\n\x72\x65\x74\x75\x72\x6e \x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x3b\x66\x75\x6e\x63\x74\x69\x6f\x6e \x70\x6f\x6f\x6c\x4c\x6f\x61\x64\x28\x70\x61\x74\x68\x2c\x63\x62\x29\x7b\x76\x61\x72 \x69\x3b\x69\x3d\x70\x6f\x6f\x6c\x2e\x6c\x65\x6e\x67\x74\x68\x3b\x77\x68\x69\x6c\x65\x28\x69\x2d\x2d\x29\x7b\x70\x6f\x6f\x6c\x5b\x69\x5d\x2e\x6c\x6f\x61\x64\x28\x70\x61\x74\x68\x2c\x63\x62\x29\x3b\x7d\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x6e\x65\x78\x74\x4a\x6f\x62\x28\x74\x29\x7b\x76\x61\x72 \x6a\x6f\x62\x3b\x6a\x6f\x62\x3d\x71\x50\x75\x6c\x6c\x28\x29\x3b\x69\x66\x28\x6a\x6f\x62\x29\x7b\x69\x66\x28\x6a\x6f\x62\x2e\x74\x79\x70\x65\x3d\x3d\x3d\x31\x29\x7b\x74\x2e\x65\x76\x61\x6c\x28\x6a\x6f\x62\x2e\x73\x72\x63\x54\x65\x78\x74\x4f\x72\x45\x76\x65\x6e\x74\x54\x79\x70\x65\x2c\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x65\x2c\x64\x29\x7b\x76\x61\x72 \x66\x3b\x6e\x65\x78\x74\x4a\x6f\x62\x28\x74\x29\x3b\x66\x3d\x6a\x6f\x62\x2e\x63\x62\x4f\x72\x44\x61\x74\x61\x3b\x69\x66\x28\x74\x79\x70\x65\x6f\x66 \x66\x3d\x3d\x3d\x27\x66\x75\x6e\x63\x74\x69\x6f\x6e\x27\x29\x7b\x74\x72\x79\x7b\x72\x65\x74\x75\x72\x6e \x66\x2e\x63\x61\x6c\x6c\x28\x74\x2c\x65\x2c\x64\x29\x3b\x7d\x63\x61\x74\x63\x68\x28\x65\x24\x29\x7b\x65\x3d\x65\x24\x3b\x72\x65\x74\x75\x72\x6e \x65\x3b\x7d\x7d\x65\x6c\x73\x65\x7b\x72\x65\x74\x75\x72\x6e \x74\x2e\x65\x6d\x69\x74\x28\x6a\x6f\x62\x2e\x73\x72\x63\x54\x65\x78\x74\x4f\x72\x45\x76\x65\x6e\x74\x54\x79\x70\x65\x2c\x66\x29\x3b\x7d\x7d\x29\x3b\x7d\x65\x6c\x73\x65 \x69\x66\x28\x6a\x6f\x62\x2e\x74\x79\x70\x65\x3d\x3d\x3d\x32\x29\x7b\x74\x2e\x65\x6d\x69\x74\x28\x6a\x6f\x62\x2e\x73\x72\x63\x54\x65\x78\x74\x4f\x72\x45\x76\x65\x6e\x74\x54\x79\x70\x65\x2c\x6a\x6f\x62\x2e\x63\x62\x4f\x72\x44\x61\x74\x61\x29\x3b\x6e\x65\x78\x74\x4a\x6f\x62\x28\x74\x29\x3b\x7d\x7d\x65\x6c\x73\x65\x7b\x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x2e\x70\x75\x73\x68\x28\x74\x29\x3b\x7d\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x71\x50\x75\x73\x68\x28\x73\x72\x63\x54\x65\x78\x74\x4f\x72\x45\x76\x65\x6e\x74\x54\x79\x70\x65\x2c\x63\x62\x4f\x72\x44\x61\x74\x61\x2c\x74\x79\x70\x65\x29\x7b\x76\x61\x72 \x6a\x6f\x62\x3b\x6a\x6f\x62\x3d\x7b\x73\x72\x63\x54\x65\x78\x74\x4f\x72\x45\x76\x65\x6e\x74\x54\x79\x70\x65\x3a\x73\x72\x63\x54\x65\x78\x74\x4f\x72\x45\x76\x65\x6e\x74\x54\x79\x70\x65\x2c\x63\x62\x4f\x72\x44\x61\x74\x61\x3a\x63\x62\x4f\x72\x44\x61\x74\x61\x2c\x74\x79\x70\x65\x3a\x74\x79\x70\x65\x2c\x6e\x65\x78\x74\x3a\x6e\x75\x6c\x6c\x7d\x3b\x69\x66\x28\x71\x2e\x6c\x61\x73\x74\x29\x7b\x71\x2e\x6c\x61\x73\x74\x3d\x71\x2e\x6c\x61\x73\x74\x2e\x6e\x65\x78\x74\x3d\x6a\x6f\x62\x3b\x7d\x65\x6c\x73\x65\x7b\x71\x2e\x66\x69\x72\x73\x74\x3d\x71\x2e\x6c\x61\x73\x74\x3d\x6a\x6f\x62\x3b\x7d\n\x71\x2e\x6c\x65\x6e\x67\x74\x68\x2b\x2b\x3b\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x71\x50\x75\x6c\x6c\x28\x29\x7b\x76\x61\x72 \x6a\x6f\x62\x3b\x6a\x6f\x62\x3d\x71\x2e\x66\x69\x72\x73\x74\x3b\x69\x66\x28\x6a\x6f\x62\x29\x7b\x69\x66\x28\x71\x2e\x6c\x61\x73\x74\x3d\x3d\x3d\x6a\x6f\x62\x29\x7b\x71\x2e\x66\x69\x72\x73\x74\x3d\x71\x2e\x6c\x61\x73\x74\x3d\x6e\x75\x6c\x6c\x3b\x7d\x65\x6c\x73\x65\x7b\x71\x2e\x66\x69\x72\x73\x74\x3d\x6a\x6f\x62\x2e\x6e\x65\x78\x74\x3b\x7d\n\x71\x2e\x6c\x65\x6e\x67\x74\x68\x2d\x2d\x3b\x7d\n\x72\x65\x74\x75\x72\x6e \x6a\x6f\x62\x3b\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x65\x76\x61\x6c\x41\x6e\x79\x28\x73\x72\x63\x2c\x63\x62\x29\x7b\x71\x50\x75\x73\x68\x28\x73\x72\x63\x2c\x63\x62\x2c\x31\x29\x3b\x69\x66\x28\x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x2e\x6c\x65\x6e\x67\x74\x68\x29\x7b\x6e\x65\x78\x74\x4a\x6f\x62\x28\x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x2e\x70\x6f\x70\x28\x29\x29\x3b\x7d\n\x72\x65\x74\x75\x72\x6e \x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x3b\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x65\x76\x61\x6c\x41\x6c\x6c\x28\x73\x72\x63\x2c\x63\x62\x29\x7b\x70\x6f\x6f\x6c\x2e\x66\x6f\x72\x45\x61\x63\x68\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x76\x2c\x69\x2c\x6f\x29\x7b\x72\x65\x74\x75\x72\x6e \x76\x2e\x65\x76\x61\x6c\x28\x73\x72\x63\x2c\x63\x62\x29\x3b\x7d\x29\x3b\x72\x65\x74\x75\x72\x6e \x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x3b\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x65\x6d\x69\x74\x41\x6e\x79\x28\x65\x76\x65\x6e\x74\x2c\x64\x61\x74\x61\x29\x7b\x71\x50\x75\x73\x68\x28\x65\x76\x65\x6e\x74\x2c\x64\x61\x74\x61\x2c\x32\x29\x3b\x69\x66\x28\x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x2e\x6c\x65\x6e\x67\x74\x68\x29\x7b\x6e\x65\x78\x74\x4a\x6f\x62\x28\x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x2e\x70\x6f\x70\x28\x29\x29\x3b\x7d\n\x72\x65\x74\x75\x72\x6e \x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x3b\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x65\x6d\x69\x74\x41\x6c\x6c\x28\x65\x76\x65\x6e\x74\x2c\x64\x61\x74\x61\x29\x7b\x70\x6f\x6f\x6c\x2e\x66\x6f\x72\x45\x61\x63\x68\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x76\x2c\x69\x2c\x6f\x29\x7b\x72\x65\x74\x75\x72\x6e \x76\x2e\x65\x6d\x69\x74\x28\x65\x76\x65\x6e\x74\x2c\x64\x61\x74\x61\x29\x3b\x7d\x29\x3b\x72\x65\x74\x75\x72\x6e \x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x3b\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x6f\x6e\x45\x76\x65\x6e\x74\x28\x65\x76\x65\x6e\x74\x2c\x63\x62\x29\x7b\x70\x6f\x6f\x6c\x2e\x66\x6f\x72\x45\x61\x63\x68\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x76\x2c\x69\x2c\x6f\x29\x7b\x72\x65\x74\x75\x72\x6e \x76\x2e\x6f\x6e\x28\x65\x76\x65\x6e\x74\x2c\x63\x62\x29\x3b\x7d\x29\x3b\x72\x65\x74\x75\x72\x6e \x74\x68\x69\x73\x3b\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x64\x65\x73\x74\x72\x6f\x79\x28\x72\x75\x64\x65\x6c\x79\x29\x7b\x76\x61\x72 \x65\x72\x72\x2c\x62\x65\x4e\x69\x63\x65\x2c\x62\x65\x52\x75\x64\x65\x3b\x65\x72\x72\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x74\x68\x72\x6f\x77\x27\x54\x68\x69\x73 \x74\x68\x72\x65\x61\x64 \x70\x6f\x6f\x6c \x68\x61\x73 \x62\x65\x65\x6e \x64\x65\x73\x74\x72\x6f\x79\x65\x64\x27\x3b\x7d\x3b\x62\x65\x4e\x69\x63\x65\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x69\x66\x28\x71\x2e\x6c\x65\x6e\x67\x74\x68\x29\x7b\x72\x65\x74\x75\x72\x6e \x73\x65\x74\x54\x69\x6d\x65\x6f\x75\x74\x28\x62\x65\x4e\x69\x63\x65\x2c\x36\x36\x36\x29\x3b\x7d\x65\x6c\x73\x65\x7b\x72\x65\x74\x75\x72\x6e \x62\x65\x52\x75\x64\x65\x28\x29\x3b\x7d\x7d\x3b\x62\x65\x52\x75\x64\x65\x3d\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x7b\x71\x2e\x6c\x65\x6e\x67\x74\x68\x3d\x30\x3b\x71\x2e\x66\x69\x72\x73\x74\x3d\x6e\x75\x6c\x6c\x3b\x70\x6f\x6f\x6c\x2e\x66\x6f\x72\x45\x61\x63\x68\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x76\x2c\x69\x2c\x6f\x29\x7b\x72\x65\x74\x75\x72\x6e \x76\x2e\x64\x65\x73\x74\x72\x6f\x79\x28\x29\x3b\x7d\x29\x3b\x72\x65\x74\x75\x72\x6e \x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x2e\x65\x76\x61\x6c\x3d\x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x2e\x74\x6f\x74\x61\x6c\x54\x68\x72\x65\x61\x64\x73\x3d\x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x2e\x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x3d\x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x2e\x70\x65\x6e\x64\x69\x6e\x67\x4a\x6f\x62\x73\x3d\x70\x6f\x6f\x6c\x4f\x62\x6a\x65\x63\x74\x2e\x64\x65\x73\x74\x72\x6f\x79\x3d\x65\x72\x72\x3b\x7d\x3b\x69\x66\x28\x72\x75\x64\x65\x6c\x79\x29\x7b\x62\x65\x52\x75\x64\x65\x28\x29\x3b\x7d\x65\x6c\x73\x65\x7b\x62\x65\x4e\x69\x63\x65\x28\x29\x3b\x7d\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x67\x65\x74\x4e\x75\x6d\x54\x68\x72\x65\x61\x64\x73\x28\x29\x7b\x72\x65\x74\x75\x72\x6e \x70\x6f\x6f\x6c\x2e\x6c\x65\x6e\x67\x74\x68\x3b\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x67\x65\x74\x49\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x28\x29\x7b\x72\x65\x74\x75\x72\x6e \x69\x64\x6c\x65\x54\x68\x72\x65\x61\x64\x73\x2e\x6c\x65\x6e\x67\x74\x68\x3b\x7d\n\x66\x75\x6e\x63\x74\x69\x6f\x6e \x67\x65\x74\x50\x65\x6e\x64\x69\x6e\x67\x4a\x6f\x62\x73\x28\x29\x7b\x72\x65\x74\x75\x72\x6e \x71\x2e\x6c\x65\x6e\x67\x74\x68\x3b\x7d\n\x72\x65\x74\x75\x72\x6e \x67\x65\x74\x50\x65\x6e\x64\x69\x6e\x67\x4a\x6f\x62\x73\x3b\x7d)";
^~~~~~~~~~~~~~
In file included from ../src/WebWorkerThreads.cc:16:
../src/queues_a_gogo.cc:153:13: warning: ‘void initQueues()’ defined but not used [-Wunused-function]
static void initQueues (void) {
^~~~~~~~~~
make: *** [WebWorkerThreads.target.mk:105: Release/obj.target/WebWorkerThreads/src/WebWorkerThreads.o] Error 1
make: Leaving directory '/home/usama/Learn/back-end/advance-nodejs/section two/node_modules/webworker-threads/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/npm/node_modules/node-gyp/lib/build.js:190:23)
gyp ERR! stack at ChildProcess.emit (events.js:203:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.0.0-20-generic
gyp ERR! command "/home/usama/.nvm/versions/node/v12.6.0/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/usama/Learn/back-end/advance-nodejs/section two/node_modules/webworker-threads
gyp ERR! node -v v12.6.0
gyp ERR! node-gyp -v v5.0.2
gyp ERR! not ok
npm WARN section-two@1.0.0 No description
npm WARN section-two@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webworker-threads@0.7.17 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the webworker-threads@0.7.17 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/usama/.npm/_logs/2019-07-13T15_13_01_569Z-debug.log
usama@usama:~/Learn/back-end/advance-nodejs/section two$ usama@usama:~/Learn/back-end/advance-nodejs/section two$ npm i webworker-threads
bash: usama@usama:~/Learn/back-end/advance-nodejs/section: No such file or directory
usama@usama:~/Learn/back-end/advance-nodejs/section two$
usama@usama:~/Learn/back-end/advance-nodejs/section two$ > webworker-threads@0.7.17 install /home/usama/Learn/back-end/advance-nodejs/section two/node_modules/webworker-threads
install: cannot stat '/home/usama/Learn/back-end/advance-nodejs/section': No such file or directory
usama@usama:~/Learn/back-end/advance-nodejs/section two$ > node-gyp rebuild

Command 'rebuild' not found, did you mean:

command 'rebuildd' from deb rebuildd (0.4.2)
command 'debuild' from deb devscripts (2.19.4)

Try: sudo apt install

usama@usama:~/Learn/back-end/advance-nodejs/section two$
usama@usama:~/Learn/back-end/advance-nodejs/section two$ make: Entering directory '/home/usama/Learn/back-end/advance-nodejs/section two/node_modules/webworker-threads/build'

Command 'make:' not found, did you mean:

command 'makeg' from deb xutils-dev (1:7.7+5ubuntu1)
command 'make' from deb make (4.2.1-1.2)
command 'make' from deb make-guile (4.2.1-1.2)

Try: sudo apt install

usama@usama:~/Learn/back-end/advance-nodejs/section two$ CXX(target) Release/obj.target/WebWorkerThreads/src/WebWorkerThreads.o
bash: syntax error near unexpected token `target'
usama@usama:~/Learn/back-end/advance-nodejs/section two$ In file included from ../src/WebWorkerThreads.cc:12:
In: command not found
usama@usama:~/Learn/back-end/advance-nodejs/section two$ ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
bash: syntax error near unexpected token `('
usama@usama:~/Learn/back-end/advance-nodejs/section two$ ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
This post has been viewed 707 times.

The TextSaver is a simple free tech tool to help save bits of text. You can use it to save notes, text messages, archive text messages from an iPhone or Android, save HTML, avoid PDFs, export messages, lists, phone numbers, addresses, really whatever you want. Please note that saved text is not hidden from the public unless you use the password utility. When using a password, the text will only be viewable to those with a password. Use it for fun, use it for war, use it to control the minds of your enemies.

Legal Disclaimer The website https://textsaver.flap.tv/ (hereinafter referred to as "TextSaver") is a platform designed to allow users to store and share bits of text. TextSaver and its owners do not review, approve, endorse, or make any representations about the legality, accuracy, reliability, completeness, or quality of the content posted by its users. The content reflects the views and responsibility of the person or entity that posts it and does not necessarily represent the views of TextSaver. By using TextSaver, you agree that TextSaver, its owners, affiliates, employees, or agents shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with the use of or reliance on any such content available on or through TextSaver. Users are solely responsible for their content, including compliance with intellectual property laws, confidentiality obligations, and applicable local laws. TextSaver expressly disclaims all liability in relation to the content posted by users. If you believe that any content on TextSaver infringes upon your intellectual property rights or is otherwise unlawful, please contact us with detailed information, and we will take appropriate action in accordance with our policies and applicable laws.