make: Entering directory '/home/jon/projects/socketcluster/sample/node_modules/sc-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
../src/HTTPSocket.cpp: In instantiation of ‘void uWS::HttpSocket<isServer>::upgrade(const char*, const char*, size_t, const char*, size_t, bool*) [with bool isServer = true; size_t = long unsigned int]’:
../src/HTTPSocket.cpp:314:17:   required from here
../src/HTTPSocket.cpp:238:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < subprotocolLength; i++) {
                           ^
../src/HTTPSocket.cpp: In instantiation of ‘void uWS::HttpSocket<isServer>::upgrade(const char*, const char*, size_t, const char*, size_t, bool*) [with bool isServer = false; size_t = long unsigned int]’:
../src/HTTPSocket.cpp:315:17:   required from here
../src/HTTPSocket.cpp:238:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  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<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, noop), 0, nullptr);
                                                                                                                            ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88: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<v8::Value>&)’:
../src/addon.h:37:70: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
             utf8Value = new (utf8ValueMemory) String::Utf8Value(value);
                                                                      ^
In file included from /home/jon/.node-gyp/10.0.0/include/node/v8.h:26:0,
                 from /home/jon/.node-gyp/10.0.0/include/node/node.h:63,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2822:28: note: declared here
                   explicit Utf8Value(Local<v8::Value> obj));
                            ^
/home/jon/.node-gyp/10.0.0/include/node/v8config.h:318: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:339:131: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *errorCallback), 1, argv);
                                                                                                                                   ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__((deprecated(message))) declarator
                                          ^
In file included from ../src/addon.cpp:3:0:
../src/http.h: In static member function ‘static void HttpServer::Request::headers(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>&)’:
../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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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<v8::String>, const v8::PropertyCallbackInfo<v8::Value>&)’:
../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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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<v8::Object> HttpServer::Request::getTemplateObject(v8::Isolate*)’:
../src/http.h:99:89: error: no matching function for call to ‘v8::Function::NewInstance()’
             Local<Object> reqObjectLocal = reqTemplateLocal->GetFunction()->NewInstance();
                                                                                         ^
In file included from /home/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                            ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3848:44: note:   candidate expects 3 arguments, 0 provided
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                            ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3851:44: note:   candidate expects 1 argument, 0 provided
In file included from ../src/addon.cpp:3:0:
../src/http.h:102:70: warning: ‘void v8::ObjectTemplate::SetNamedPropertyHandler(v8::NamedPropertyGetterCallback, v8::NamedPropertySetterCallback, v8::NamedPropertyQueryCallback, v8::NamedPropertyDeleterCallback, v8::NamedPropertyEnumeratorCallback, v8::Local<v8::Value>)’ is deprecated: Use SetHandler(const NamedPropertyHandlerConfiguration) with the kOnlyInterceptStrings flag set. [-Wdeprecated-declarations]
             headersTemplate->SetNamedPropertyHandler(Request::headers);
                                                                      ^
In file included from /home/jon/.node-gyp/10.0.0/include/node/v8.h:26:0,
                 from /home/jon/.node-gyp/10.0.0/include/node/node.h:63,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:5815:12: note: declared here
       void SetNamedPropertyHandler(
            ^
/home/jon/.node-gyp/10.0.0/include/node/v8config.h:318: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::Response::writeHead(const v8::FunctionCallbackInfo<v8::Value>&)’:
../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<v8::Object> 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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                            ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3848:44: note:   candidate expects 3 arguments, 0 provided
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                            ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3851: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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:2736: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<v8::Value>&)’:
../src/http.h:293:122: error: no matching function for call to ‘v8::Function::NewInstance()’
             args.GetReturnValue().Set(newInstance = Local<Function>::New(args.GetIsolate(), httpPersistent)->NewInstance());
                                                                                                                          ^
In file included from /home/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                            ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3848:44: note:   candidate expects 3 arguments, 0 provided
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                            ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3851: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::getExpressApp(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/http.h:320:159: error: no matching function for call to ‘v8::Object::SetPrototype(v8::Local<v8::Value>)’
             express->Get(String::NewFromUtf8(isolate, "request"))->ToObject()->SetPrototype(Local<Object>::New(args.GetIsolate(), reqTemplate)->GetPrototype());
                                                                                                                                                               ^
In file included from /home/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3308:37: note: candidate: v8::Maybe<bool> v8::Object::SetPrototype(v8::Local<v8::Context>, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototype(Local<Context> context,
                                     ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3308:37: note:   candidate expects 2 arguments, 1 provided
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<v8::Value>)’
             express->Get(String::NewFromUtf8(isolate, "response"))->ToObject()->SetPrototype(Local<Object>::New(args.GetIsolate(), resTemplate)->GetPrototype());
                                                                                                                                                                ^
In file included from /home/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3308:37: note: candidate: v8::Maybe<bool> v8::Object::SetPrototype(v8::Local<v8::Context>, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototype(Local<Context> context,
                                     ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3308: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/jon/.node-gyp/10.0.0/include/node/node.h:63:0,
                 from ../src/addon.h:1,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                            ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3848:44: note:   candidate expects 3 arguments, 0 provided
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                            ^
/home/jon/.node-gyp/10.0.0/include/node/v8.h:3851:44: note:   candidate expects 1 argument, 0 provided
In file included from ../src/addon.cpp:2:0:
../src/addon.h: In instantiation of ‘onConnection(const v8::FunctionCallbackInfo<v8::Value>&)::<lambda(uWS::WebSocket<isServer>*, uWS::HttpRequest)> [with bool isServer = true]’:
../src/addon.h:252:55:   required from ‘struct onConnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]::<lambda(struct uWS::WebSocket<true>*, struct uWS::HttpRequest)>’
../src/addon.h:252:5:   required from ‘void onConnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’
../src/addon.h:441:24:   required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
../src/addon.cpp:8:88:   required from here
../src/addon.h:256:27: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *connectionCallback), 1, argv);
                           ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88: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<v8::Value>&)::<lambda(uWS::WebSocket<isServer>*, int, char*, size_t)> [with bool isServer = true; size_t = long unsigned int]’:
../src/addon.h:317:61:   required from ‘struct onDisconnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]::<lambda(struct uWS::WebSocket<true>*, int, char*, size_t)>’
../src/addon.h:317:5:   required from ‘void onDisconnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’
../src/addon.h:443:24:   required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
../src/addon.cpp:8:88:   required from here
../src/addon.h:324:27: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *disconnectionCallback), 4, argv);
                           ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88: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<v8::Value>&)::<lambda(uWS::WebSocket<isServer>*, const char*, size_t)> [with bool isServer = true; size_t = long unsigned int]’:
../src/addon.h:284:29:   required from ‘struct onPing(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]::<lambda(struct uWS::WebSocket<true>*, const char*, size_t)>’
../src/addon.h:284:5:   required from ‘void onPing(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’
../src/addon.h:454:24:   required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
../src/addon.cpp:8:88:   required from here
../src/addon.h:288:27: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *pingCallback), 2, argv);
                           ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88: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<v8::Value>&)::<lambda(uWS::WebSocket<isServer>*, const char*, size_t)> [with bool isServer = true; size_t = long unsigned int]’:
../src/addon.h:300:29:   required from ‘struct onPong(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]::<lambda(struct uWS::WebSocket<true>*, const char*, size_t)>’
../src/addon.h:300:5:   required from ‘void onPong(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’
../src/addon.h:455:24:   required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
../src/addon.cpp:8:88:   required from here
../src/addon.h:304:27: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *pongCallback), 2, argv);
                           ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88: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 ‘onConnection(const v8::FunctionCallbackInfo<v8::Value>&)::<lambda(uWS::WebSocket<isServer>*, uWS::HttpRequest)> [with bool isServer = false]’:
../src/addon.h:252:55:   required from ‘struct onConnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]::<lambda(struct uWS::WebSocket<false>*, struct uWS::HttpRequest)>’
../src/addon.h:252:5:   required from ‘void onConnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’
../src/addon.h:441:24:   required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
../src/addon.cpp:9:88:   required from here
../src/addon.h:256:27: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *connectionCallback), 1, argv);
                           ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88: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<v8::Value>&)::<lambda(uWS::WebSocket<isServer>*, int, char*, size_t)> [with bool isServer = false; size_t = long unsigned int]’:
../src/addon.h:317:61:   required from ‘struct onDisconnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]::<lambda(struct uWS::WebSocket<false>*, int, char*, size_t)>’
../src/addon.h:317:5:   required from ‘void onDisconnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’
../src/addon.h:443:24:   required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
../src/addon.cpp:9:88:   required from here
../src/addon.h:324:27: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *disconnectionCallback), 4, argv);
                           ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88: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<v8::Value>&)::<lambda(uWS::WebSocket<isServer>*, const char*, size_t)> [with bool isServer = false; size_t = long unsigned int]’:
../src/addon.h:284:29:   required from ‘struct onPing(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]::<lambda(struct uWS::WebSocket<false>*, const char*, size_t)>’
../src/addon.h:284:5:   required from ‘void onPing(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’
../src/addon.h:454:24:   required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
../src/addon.cpp:9:88:   required from here
../src/addon.h:288:27: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *pingCallback), 2, argv);
                           ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88: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<v8::Value>&)::<lambda(uWS::WebSocket<isServer>*, const char*, size_t)> [with bool isServer = false; size_t = long unsigned int]’:
../src/addon.h:300:29:   required from ‘struct onPong(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]::<lambda(struct uWS::WebSocket<false>*, const char*, size_t)>’
../src/addon.h:300:5:   required from ‘void onPong(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’
../src/addon.h:455:24:   required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
../src/addon.cpp:9:88:   required from here
../src/addon.h:304:27: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *pongCallback), 2, argv);
                           ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88: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<isServer>*, void*, bool, void*) [with bool isServer = true]’:
../src/addon.h:179:18:   required from ‘void send(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’
../src/addon.h:433:24:   required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
../src/addon.cpp:8:88:   required from here
../src/addon.h:163:27: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(sc->isolate, sc->isolate->GetCurrentContext()->Global(), Local<Function>::New(sc->isolate, sc->jsCallback), 0, nullptr);
                           ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88: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<isServer>*, void*, bool, void*) [with bool isServer = false]’:
../src/addon.h:179:18:   required from ‘void send(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’
../src/addon.h:433:24:   required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
../src/addon.cpp:9:88:   required from here
../src/addon.h:163:27: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         node::MakeCallback(sc->isolate, sc->isolate->GetCurrentContext()->Global(), Local<Function>::New(sc->isolate, sc->jsCallback), 0, nullptr);
                           ^
In file included from ../src/addon.h:1:0,
                 from ../src/addon.cpp:2:
/home/jon/.node-gyp/10.0.0/include/node/node.h:172:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/jon/.node-gyp/10.0.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__((deprecated(message))) declarator
                                          ^
uws.target.mk:100: recipe for target 'Release/obj.target/uws/src/addon.o' failed
make: *** [Release/obj.target/uws/src/addon.o] Error 1
make: Leaving directory '/home/jon/projects/socketcluster/sample/node_modules/sc-uws/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/jon/.nvm/versions/node/v10.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)
gyp ERR! System Linux 4.15.0-46-generic
gyp ERR! command "/home/jon/.nvm/versions/node/v10.0.0/bin/node" "/home/jon/.nvm/versions/node/v10.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jon/projects/socketcluster/sample/node_modules/sc-uws
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
