make: Entering directory '/var/sites/3d.local/www/node_modules/uws/build' CXX(target) Release/obj.target/uws/src/Extensions.o CXX(target) Release/obj.target/uws/src/Group.o CXX(target) Release/obj.target/uws/src/Networking.o CXX(target) Release/obj.target/uws/src/Hub.o CXX(target) Release/obj.target/uws/src/Node.o CXX(target) Release/obj.target/uws/src/WebSocket.o CXX(target) Release/obj.target/uws/src/HTTPSocket.o CXX(target) Release/obj.target/uws/src/Socket.o CXX(target) Release/obj.target/uws/src/addon.o In file included from ../src/addon.cpp:2:0: ../src/addon.h: In lambda function: ../src/addon.h:21:124: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, noop), 0, nullptr); ^ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In constructor ‘NativeString::NativeString(const v8::Local&)’: ../src/addon.h:37:70: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] utf8Value = new (utf8ValueMemory) String::Utf8Value(value); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2992:28: note: declared here explicit Utf8Value(Local obj)); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In function ‘void transfer(const v8::FunctionCallbackInfo&)’: ../src/addon.h:225:60: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uv_fileno((handle = getTcpHandle(args[0]->ToObject()->GetAlignedPointerFromInternalField(0))), (uv_os_fd_t *) &ticket->fd); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:10257:15: note: declared here Local Value::ToObject() const { ^~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h:227:44: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ticket->fd = args[0]->IntegerValue(); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In lambda function: ../src/addon.h:341:131: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *errorCallback), 1, argv); ^ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In function ‘void startAutoPing(const v8::FunctionCallbackInfo&)’: ../src/addon.h:418:48: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] group->startAutoPing(args[1]->IntegerValue(), std::string(nativeString.getData(), nativeString.getLength())); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In function ‘void listen(const v8::FunctionCallbackInfo&)’: ../src/addon.h:427:38: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] hub.listen(args[1]->IntegerValue(), nullptr, 0, group); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:3:0: ../src/http.h: In static member function ‘static void HttpServer::Request::headers(v8::Local, const v8::PropertyCallbackInfo&)’: ../src/http.h:31:156: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, uint8_t*, v8::String::NewStringType, unsigned int&)’ args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) header.value, String::kNormalString, header.valueLength)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h: In static member function ‘static void HttpServer::Request::method(v8::Local, const v8::PropertyCallbackInfo&)’: ../src/http.h:45:128: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, uint8_t*, v8::String::NewStringType, int)’ args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "GET", String::kNormalString, 3)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h:48:128: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, uint8_t*, v8::String::NewStringType, int)’ args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "PUT", String::kNormalString, 3)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h:51:129: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, uint8_t*, v8::String::NewStringType, int)’ args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "POST", String::kNormalString, 4)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h:54:129: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, uint8_t*, v8::String::NewStringType, int)’ args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "HEAD", String::kNormalString, 4)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h:57:130: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, uint8_t*, v8::String::NewStringType, int)’ args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "PATCH", String::kNormalString, 5)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h:60:130: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, uint8_t*, v8::String::NewStringType, int)’ args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "TRACE", String::kNormalString, 5)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h:63:131: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, uint8_t*, v8::String::NewStringType, int)’ args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "DELETE", String::kNormalString, 6)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h:66:132: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, uint8_t*, v8::String::NewStringType, int)’ args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "OPTIONS", String::kNormalString, 7)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h:69:132: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, uint8_t*, v8::String::NewStringType, int)’ args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "CONNECT", String::kNormalString, 7)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h: In static member function ‘static v8::Local HttpServer::Request::getTemplateObject(v8::Isolate*)’: ../src/http.h:99:89: error: no matching function for call to ‘v8::Function::NewInstance()’ Local reqObjectLocal = reqTemplateLocal->GetFunction()->NewInstance(); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4105:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local, int, v8::Local*) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4105:44: note: candidate expects 3 arguments, 0 provided /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4108:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4108:44: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:3:0: ../src/http.h:102:30: error: ‘class v8::ObjectTemplate’ has no member named ‘SetNamedPropertyHandler’; did you mean ‘SetIndexedPropertyHandler’? headersTemplate->SetNamedPropertyHandler(Request::headers); ^~~~~~~~~~~~~~~~~~~~~~~ SetIndexedPropertyHandler ../src/http.h: In static member function ‘static void HttpServer::Response::writeHead(const v8::FunctionCallbackInfo&)’: ../src/http.h:137:87: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] std::string head = "HTTP/1.1 " + std::to_string(args[0]->IntegerValue()) + " "; ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:3:0: ../src/http.h:147:85: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local headersObject = args[args.Length() - 1]->ToObject(); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:10257:15: note: declared here Local Value::ToObject() const { ^~~~~ In file included from ../src/addon.cpp:3:0: ../src/http.h:149:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < headers->Length(); i++) { ~~^~~~~~~~~~~~~~~~~~~ ../src/http.h: In static member function ‘static v8::Local HttpServer::Response::getTemplateObject(v8::Isolate*)’: ../src/http.h:196:65: error: no matching function for call to ‘v8::Function::NewInstance()’ return resTemplateLocal->GetFunction()->NewInstance(); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4105:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local, int, v8::Local*) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4105:44: note: candidate expects 3 arguments, 0 provided /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4108:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4108:44: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:3:0: ../src/http.h: In lambda function: ../src/http.h:227:155: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate* const&, uint8_t*, v8::String::NewStringType, unsigned int)’ reqObject->SetInternalField(4, String::NewFromOneByte(isolate, (uint8_t *) req.getUrl().value, String::kNormalString, req.getUrl().valueLength)); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: candidate: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^~~~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2897:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../src/addon.cpp:3:0: ../src/http.h: In static member function ‘static void HttpServer::createServer(const v8::FunctionCallbackInfo&)’: ../src/http.h:293:122: error: no matching function for call to ‘v8::Function::NewInstance()’ args.GetReturnValue().Set(newInstance = Local::New(args.GetIsolate(), httpPersistent)->NewInstance()); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4105:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local, int, v8::Local*) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4105:44: note: candidate expects 3 arguments, 0 provided /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4108:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4108:44: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:3:0: ../src/http.h: In static member function ‘static void HttpServer::listen(const v8::FunctionCallbackInfo&)’: ../src/http.h:308:69: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] std::cout << "listen: " << hub.listen(args[0]->IntegerValue(), nullptr, 0, group) << std::endl; ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:3:0: ../src/http.h: In static member function ‘static void HttpServer::getExpressApp(const v8::FunctionCallbackInfo&)’: ../src/http.h:320:77: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] express->Get(String::NewFromUtf8(isolate, "request"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), reqTemplate)->GetPrototype()); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:10257:15: note: declared here Local Value::ToObject() const { ^~~~~ In file included from ../src/addon.cpp:3:0: ../src/http.h:320:159: error: no matching function for call to ‘v8::Object::SetPrototype(v8::Local)’ express->Get(String::NewFromUtf8(isolate, "request"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), reqTemplate)->GetPrototype()); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:3548:37: note: candidate: v8::Maybe v8::Object::SetPrototype(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT Maybe SetPrototype(Local context, ^~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:3548:37: note: candidate expects 2 arguments, 1 provided In file included from ../src/addon.cpp:3:0: ../src/http.h:321:78: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] express->Get(String::NewFromUtf8(isolate, "response"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), resTemplate)->GetPrototype()); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:10257:15: note: declared here Local Value::ToObject() const { ^~~~~ In file included from ../src/addon.cpp:3:0: ../src/http.h:321:160: error: no matching function for call to ‘v8::Object::SetPrototype(v8::Local)’ express->Get(String::NewFromUtf8(isolate, "response"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), resTemplate)->GetPrototype()); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:3548:37: note: candidate: v8::Maybe v8::Object::SetPrototype(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT Maybe SetPrototype(Local context, ^~~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:3548:37: note: candidate expects 2 arguments, 1 provided In file included from ../src/addon.cpp:3:0: ../src/http.h:327:60: error: no matching function for call to ‘v8::Function::NewInstance()’ args.GetReturnValue().Set(express->NewInstance()); ^ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4105:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local, int, v8::Local*) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4105:44: note: candidate expects 3 arguments, 0 provided /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4108:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:4108:44: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void send(const v8::FunctionCallbackInfo&) [with bool isServer = true]’: ../src/addon.h:435:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:172:61: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = (uWS::OpCode) args[2]->IntegerValue(); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h:185:42: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] bool compress = args[4]->BooleanValue(); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2568:43: note: declared here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void closeSocket(const v8::FunctionCallbackInfo&) [with bool isServer = true]’: ../src/addon.h:436:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:351:80: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unwrapSocket(args[0].As())->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void prepareMessage(const v8::FunctionCallbackInfo&) [with bool isServer = true]’: ../src/addon.h:438:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:381:61: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = (uWS::OpCode) args[1]->IntegerValue(); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘onConnection(const v8::FunctionCallbackInfo&)::*, uWS::HttpRequest)> [with bool isServer = true]’: ../src/addon.h:254:55: required from ‘struct onConnection(const v8::FunctionCallbackInfo&) [with bool isServer = true]::*, struct uWS::HttpRequest)>’ ../src/addon.h:254:5: required from ‘void onConnection(const v8::FunctionCallbackInfo&) [with bool isServer = true]’ ../src/addon.h:443:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:258:27: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *connectionCallback), 1, argv); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘onDisconnection(const v8::FunctionCallbackInfo&)::*, int, char*, size_t)> [with bool isServer = true; size_t = long unsigned int]’: ../src/addon.h:319:61: required from ‘struct onDisconnection(const v8::FunctionCallbackInfo&) [with bool isServer = true]::*, int, char*, size_t)>’ ../src/addon.h:319:5: required from ‘void onDisconnection(const v8::FunctionCallbackInfo&) [with bool isServer = true]’ ../src/addon.h:445:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:326:27: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *disconnectionCallback), 4, argv); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘onPing(const v8::FunctionCallbackInfo&)::*, const char*, size_t)> [with bool isServer = true; size_t = long unsigned int]’: ../src/addon.h:286:29: required from ‘struct onPing(const v8::FunctionCallbackInfo&) [with bool isServer = true]::*, const char*, size_t)>’ ../src/addon.h:286:5: required from ‘void onPing(const v8::FunctionCallbackInfo&) [with bool isServer = true]’ ../src/addon.h:456:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:290:27: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pingCallback), 2, argv); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘onPong(const v8::FunctionCallbackInfo&)::*, const char*, size_t)> [with bool isServer = true; size_t = long unsigned int]’: ../src/addon.h:302:29: required from ‘struct onPong(const v8::FunctionCallbackInfo&) [with bool isServer = true]::*, const char*, size_t)>’ ../src/addon.h:302:5: required from ‘void onPong(const v8::FunctionCallbackInfo&) [with bool isServer = true]’ ../src/addon.h:457:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:306:27: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pongCallback), 2, argv); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void createGroup(const v8::FunctionCallbackInfo&) [with bool isServer = true]’: ../src/addon.h:458:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:79:82: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h:79:107: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void closeGroup(const v8::FunctionCallbackInfo&) [with bool isServer = true]’: ../src/addon.h:460:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:363:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] group->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void broadcast(const v8::FunctionCallbackInfo&) [with bool isServer = true]’: ../src/addon.h:462:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:374:47: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = args[2]->BooleanValue() ? uWS::OpCode::BINARY : uWS::OpCode::TEXT; ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2568:43: note: declared here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void send(const v8::FunctionCallbackInfo&) [with bool isServer = false]’: ../src/addon.h:435:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:172:61: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = (uWS::OpCode) args[2]->IntegerValue(); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h:185:42: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] bool compress = args[4]->BooleanValue(); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2568:43: note: declared here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void closeSocket(const v8::FunctionCallbackInfo&) [with bool isServer = false]’: ../src/addon.h:436:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:351:80: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unwrapSocket(args[0].As())->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void prepareMessage(const v8::FunctionCallbackInfo&) [with bool isServer = false]’: ../src/addon.h:438:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:381:61: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = (uWS::OpCode) args[1]->IntegerValue(); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘onConnection(const v8::FunctionCallbackInfo&)::*, uWS::HttpRequest)> [with bool isServer = false]’: ../src/addon.h:254:55: required from ‘struct onConnection(const v8::FunctionCallbackInfo&) [with bool isServer = false]::*, struct uWS::HttpRequest)>’ ../src/addon.h:254:5: required from ‘void onConnection(const v8::FunctionCallbackInfo&) [with bool isServer = false]’ ../src/addon.h:443:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:258:27: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *connectionCallback), 1, argv); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘onDisconnection(const v8::FunctionCallbackInfo&)::*, int, char*, size_t)> [with bool isServer = false; size_t = long unsigned int]’: ../src/addon.h:319:61: required from ‘struct onDisconnection(const v8::FunctionCallbackInfo&) [with bool isServer = false]::*, int, char*, size_t)>’ ../src/addon.h:319:5: required from ‘void onDisconnection(const v8::FunctionCallbackInfo&) [with bool isServer = false]’ ../src/addon.h:445:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:326:27: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *disconnectionCallback), 4, argv); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘onPing(const v8::FunctionCallbackInfo&)::*, const char*, size_t)> [with bool isServer = false; size_t = long unsigned int]’: ../src/addon.h:286:29: required from ‘struct onPing(const v8::FunctionCallbackInfo&) [with bool isServer = false]::*, const char*, size_t)>’ ../src/addon.h:286:5: required from ‘void onPing(const v8::FunctionCallbackInfo&) [with bool isServer = false]’ ../src/addon.h:456:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:290:27: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pingCallback), 2, argv); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘onPong(const v8::FunctionCallbackInfo&)::*, const char*, size_t)> [with bool isServer = false; size_t = long unsigned int]’: ../src/addon.h:302:29: required from ‘struct onPong(const v8::FunctionCallbackInfo&) [with bool isServer = false]::*, const char*, size_t)>’ ../src/addon.h:302:5: required from ‘void onPong(const v8::FunctionCallbackInfo&) [with bool isServer = false]’ ../src/addon.h:457:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:306:27: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pongCallback), 2, argv); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void createGroup(const v8::FunctionCallbackInfo&) [with bool isServer = false]’: ../src/addon.h:458:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:79:82: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h:79:107: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void closeGroup(const v8::FunctionCallbackInfo&) [with bool isServer = false]’: ../src/addon.h:460:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:363:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] group->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2570:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void broadcast(const v8::FunctionCallbackInfo&) [with bool isServer = false]’: ../src/addon.h:462:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:374:47: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = args[2]->BooleanValue() ? uWS::OpCode::BINARY : uWS::OpCode::TEXT; ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:26:0, from /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:63, from ../src/addon.h:1, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/v8.h:2568:43: note: declared here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /home/brain/.cache/node-gyp/11.15.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void sendCallback(uWS::WebSocket*, void*, bool, void*) [with bool isServer = true]’: ../src/addon.h:179:18: required from ‘void send(const v8::FunctionCallbackInfo&) [with bool isServer = true]’ ../src/addon.h:435:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:163:27: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(sc->isolate, sc->isolate->GetCurrentContext()->Global(), Local::New(sc->isolate, sc->jsCallback), 0, nullptr); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘void sendCallback(uWS::WebSocket*, void*, bool, void*) [with bool isServer = false]’: ../src/addon.h:179:18: required from ‘void send(const v8::FunctionCallbackInfo&) [with bool isServer = false]’ ../src/addon.h:435:24: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:163:27: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(sc->isolate, sc->isolate->GetCurrentContext()->Global(), Local::New(sc->isolate, sc->jsCallback), 0, nullptr); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/addon.h:1:0, from ../src/addon.cpp:2: /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/brain/.cache/node-gyp/11.15.0/include/node/node.h:93:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ uws.target.mk:106: recipe for target 'Release/obj.target/uws/src/addon.o' failed make: *** [Release/obj.target/uws/src/addon.o] Error 1 make: Leaving directory '/var/sites/3d.local/www/node_modules/uws/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:193:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) gyp ERR! System Linux 4.15.0-54-generic gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /var/sites/3d.local/www/node_modules/uws gyp ERR! node -v v11.15.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok