make : on entre dans le répertoire « /var/www/html/datAgregateur/node_modules/uws/build » CXX(target) Release/obj.target/uws/src/Extensions.o CXX(target) Release/obj.target/uws/src/Group.o In file included from ../src/Group.cpp:2:0: ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::next_in’ [-Wmissing-field-initializers] z_stream inflationStream = {}; ^ ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::avail_in’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::total_in’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::next_out’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::avail_out’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::total_out’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::msg’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::state’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::zalloc’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::zfree’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::opaque’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::data_type’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::adler’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::reserved’ [-Wmissing-field-initializers] CXX(target) Release/obj.target/uws/src/Networking.o CXX(target) Release/obj.target/uws/src/Hub.o In file included from ../src/Hub.cpp:1:0: ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::next_in’ [-Wmissing-field-initializers] z_stream inflationStream = {}; ^ ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::avail_in’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::total_in’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::next_out’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::avail_out’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::total_out’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::msg’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::state’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::zalloc’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::zfree’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::opaque’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::data_type’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::adler’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::reserved’ [-Wmissing-field-initializers] In file included from ../src/Backend.h:9:0, from ../src/Networking.h:69, from ../src/WebSocketProtocol.h:5, from ../src/WebSocket.h:4, from ../src/Group.h:4, from ../src/Hub.h:4, from ../src/Hub.cpp:1: ../src/Libuv.h: In member function ‘void uWS::Hub::upgrade(uv_os_sock_t, const char*, SSL*, const char*, size_t, const char*, size_t, uWS::Group*)’: ../src/Libuv.h:105:22: attention : ‘s.uS::Poll::cb’ may be used uninitialized in this function [-Wmaybe-uninitialized] cb = other.cb; ^ ../src/Hub.cpp:195:16: note: ‘s.uS::Poll::cb’ was declared here uS::Socket s((uS::NodeData *) serverGroup, serverGroup->loop, fd, ssl); ^ CXX(target) Release/obj.target/uws/src/Node.o CXX(target) Release/obj.target/uws/src/WebSocket.o In file included from ../src/WebSocket.cpp:3:0: ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::next_in’ [-Wmissing-field-initializers] z_stream inflationStream = {}; ^ ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::avail_in’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::total_in’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::next_out’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::avail_out’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::total_out’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::msg’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::state’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::zalloc’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::zfree’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::opaque’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::data_type’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::adler’ [-Wmissing-field-initializers] ../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::reserved’ [-Wmissing-field-initializers] In file included from ../src/WebSocket.h:4:0, from ../src/WebSocket.cpp:1: ../src/WebSocketProtocol.h: In instantiation of ‘static uWS::WebSocketProtocol::CloseFrame uWS::WebSocketProtocol::parseClosePayload(char*, size_t) [with bool isServer = true; Impl = uWS::WebSocket; size_t = long unsigned int]’: ../src/WebSocket.cpp:351:180: required from ‘static bool uWS::WebSocket::handleFragment(char*, size_t, unsigned int, int, bool, uWS::WebSocketState*) [with bool isServer = true; size_t = long unsigned int]’ ../src/WebSocket.cpp:402:17: required from here ../src/WebSocketProtocol.h:257:26: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::code’ [-Wmissing-field-initializers] CloseFrame cf = {}; ^ ../src/WebSocketProtocol.h:257:26: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::message’ [-Wmissing-field-initializers] ../src/WebSocketProtocol.h:257:26: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::length’ [-Wmissing-field-initializers] ../src/WebSocketProtocol.h:263:25: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::code’ [-Wmissing-field-initializers] return {}; ^ ../src/WebSocketProtocol.h:263:25: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::message’ [-Wmissing-field-initializers] ../src/WebSocketProtocol.h:263:25: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::length’ [-Wmissing-field-initializers] ../src/WebSocketProtocol.h: In instantiation of ‘static uWS::WebSocketProtocol::CloseFrame uWS::WebSocketProtocol::parseClosePayload(char*, size_t) [with bool isServer = false; Impl = uWS::WebSocket; size_t = long unsigned int]’: ../src/WebSocket.cpp:351:180: required from ‘static bool uWS::WebSocket::handleFragment(char*, size_t, unsigned int, int, bool, uWS::WebSocketState*) [with bool isServer = false; size_t = long unsigned int]’ ../src/WebSocket.cpp:403:17: required from here ../src/WebSocketProtocol.h:257:26: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::code’ [-Wmissing-field-initializers] CloseFrame cf = {}; ^ ../src/WebSocketProtocol.h:257:26: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::message’ [-Wmissing-field-initializers] ../src/WebSocketProtocol.h:257:26: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::length’ [-Wmissing-field-initializers] ../src/WebSocketProtocol.h:263:25: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::code’ [-Wmissing-field-initializers] return {}; ^ ../src/WebSocketProtocol.h:263:25: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::message’ [-Wmissing-field-initializers] ../src/WebSocketProtocol.h:263:25: attention : missing initializer for member ‘uWS::WebSocketProtocol >::CloseFrame::length’ [-Wmissing-field-initializers] 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/../src/uWS.h:4:0, from ../src/addon.cpp:1: ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::next_in’ [-Wmissing-field-initializers] z_stream inflationStream = {}; ^ ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::avail_in’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::total_in’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::next_out’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::avail_out’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::total_out’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::msg’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::state’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::zalloc’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::zfree’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::opaque’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::data_type’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::adler’ [-Wmissing-field-initializers] ../src/../src/Hub.h:21:33: attention : missing initializer for member ‘z_stream_s::reserved’ [-Wmissing-field-initializers] In file included from ../src/addon.cpp:2:0: ../src/addon.h: In lambda function: ../src/addon.h:21:124: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, noop), 0, nullptr); ^ ../src/addon.h: In constructor ‘NativeString::NativeString(const v8::Local&)’: ../src/addon.h:37:70: erreur: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(const v8::Local&)’ utf8Value = new (utf8ValueMemory) String::Utf8Value(value); ^ ../src/addon.h:37:70: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3135:5: note: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local) Utf8Value(Isolate* isolate, Local obj); ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3135:5: note: candidate expects 2 arguments, 1 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In function ‘void createGroup(const v8::FunctionCallbackInfo&)’: ../src/addon.h:79:83: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ^ ../src/addon.h:79:83: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h:79:108: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ^ ../src/addon.h:79:108: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In function ‘v8::Local wrapMessage(const char*, size_t, uWS::OpCode, v8::Isolate*)’: ../src/addon.h:102:195: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] return opCode == uWS::OpCode::BINARY ? (Local) ArrayBuffer::New(isolate, (char *) message, length) : (Local) String::NewFromUtf8(isolate, message, String::kNormalString, length); ^ ../src/addon.h: In function ‘void send(const v8::FunctionCallbackInfo&)’: ../src/addon.h:172:62: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ uWS::OpCode opCode = (uWS::OpCode) args[2]->IntegerValue(); ^ ../src/addon.h:172:62: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In function ‘void transfer(const v8::FunctionCallbackInfo&)’: ../src/addon.h:223:60: erreur: no matching function for call to ‘v8::Value::ToObject()’ uv_fileno((handle = getTcpHandle(args[0]->ToObject()->GetAlignedPointerFromInternalField(0))), (uv_os_fd_t *) &ticket->fd); ^ ../src/addon.h:223:60: note: candidates are: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2672:44: note: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided In file included from /root/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14:0, from /root/.cache/node-gyp/12.19.0/include/node/v8.h:27, from /root/.cache/node-gyp/12.19.0/include/node/node.h:67, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2686:31: note: v8::Local v8::Value::ToObject(v8::Isolate*) const Local ToObject(Isolate* isolate) const); ^ /root/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided Local ToObject(Isolate* isolate) const); ^ /root/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2:0: ../src/addon.h:225:44: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ ticket->fd = args[0]->IntegerValue(); ^ ../src/addon.h:225:44: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In lambda function: ../src/addon.h:272:110: erreur: no matching function for call to ‘v8::Function::Call(v8::Local, int, v8::Local [2])’ Local::New(isolate, *messageCallback)->Call(isolate->GetCurrentContext()->Global(), 2, argv); ^ ../src/addon.h:272:110: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*) V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context, ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: candidate expects 4 arguments, 3 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In lambda function: ../src/addon.h:339:131: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *errorCallback), 1, argv); ^ ../src/addon.h: In function ‘void closeSocket(const v8::FunctionCallbackInfo&)’: ../src/addon.h:349:81: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ unwrapSocket(args[0].As())->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ^ ../src/addon.h:349:81: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In function ‘void closeGroup(const v8::FunctionCallbackInfo&)’: ../src/addon.h:361:40: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ group->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ^ ../src/addon.h:361:40: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In function ‘void broadcast(const v8::FunctionCallbackInfo&)’: ../src/addon.h:372:48: erreur: no matching function for call to ‘v8::Value::BooleanValue()’ uWS::OpCode opCode = args[2]->BooleanValue() ? uWS::OpCode::BINARY : uWS::OpCode::TEXT; ^ ../src/addon.h:372:48: note: candidates are: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2699:8: note: bool v8::Value::BooleanValue(v8::Isolate*) const bool BooleanValue(Isolate* isolate) const; ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2699:8: note: candidate expects 1 argument, 0 provided In file included from /root/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14:0, from /root/.cache/node-gyp/12.19.0/include/node/v8.h:27, from /root/.cache/node-gyp/12.19.0/include/node/node.h:67, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2702:51: note: v8::Maybe v8::Value::BooleanValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe BooleanValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2702:51: note: candidate expects 1 argument, 0 provided V8_WARN_UNUSED_RESULT Maybe BooleanValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8config.h:328: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 prepareMessage(const v8::FunctionCallbackInfo&)’: ../src/addon.h:379:62: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ uWS::OpCode opCode = (uWS::OpCode) args[1]->IntegerValue(); ^ ../src/addon.h:379:62: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In lambda function: ../src/addon.h:403:40: erreur: no matching function for call to ‘v8::Function::Call(v8::Local, int, v8::Local [1])’ cb->Call(Null(isolate), 1, argv); ^ ../src/addon.h:403:40: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*) V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context, ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: candidate expects 4 arguments, 3 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In function ‘void startAutoPing(const v8::FunctionCallbackInfo&)’: ../src/addon.h:416:48: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ group->startAutoPing(args[1]->IntegerValue(), std::string(nativeString.getData(), nativeString.getLength())); ^ ../src/addon.h:416:48: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:2:0: ../src/addon.h: In function ‘void listen(const v8::FunctionCallbackInfo&)’: ../src/addon.h:425:38: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ hub.listen(args[1]->IntegerValue(), nullptr, 0, group); ^ ../src/addon.h:425:38: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: 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::Request::headers(v8::Local, const v8::PropertyCallbackInfo&)’: ../src/http.h:31:156: erreur: 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)); ^ ../src/http.h:31:156: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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: erreur: 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)); ^ ../src/http.h:45:128: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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: erreur: 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)); ^ ../src/http.h:48:128: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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: erreur: 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)); ^ ../src/http.h:51:129: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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: erreur: 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)); ^ ../src/http.h:54:129: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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: erreur: 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)); ^ ../src/http.h:57:130: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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: erreur: 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)); ^ ../src/http.h:60:130: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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: erreur: 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)); ^ ../src/http.h:63:131: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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: erreur: 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)); ^ ../src/http.h:66:132: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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: erreur: 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)); ^ ../src/http.h:69:132: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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:90:86: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] reqTemplateLocal->SetClassName(String::NewFromUtf8(isolate, "uws.Request")); ^ ../src/http.h:92:98: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] reqTemplateLocal->PrototypeTemplate()->SetAccessor(String::NewFromUtf8(isolate, "url"), Request::url); ^ ../src/http.h:93:101: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] reqTemplateLocal->PrototypeTemplate()->SetAccessor(String::NewFromUtf8(isolate, "method"), Request::method); ^ ../src/http.h:94:89: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] reqTemplateLocal->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "on"), FunctionTemplate::New(isolate, Request::on)); ^ ../src/http.h:95:93: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] reqTemplateLocal->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "unpipe"), FunctionTemplate::New(isolate, Request::unpipe)); ^ ../src/http.h:96:93: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] reqTemplateLocal->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "resume"), FunctionTemplate::New(isolate, Request::resume)); ^ ../src/http.h:97:93: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] reqTemplateLocal->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "socket"), FunctionTemplate::New(isolate, Request::socket)); ^ ../src/http.h:99:74: erreur: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ Local reqObjectLocal = reqTemplateLocal->GetFunction()->NewInstance(); ^ ../src/http.h:99:74: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:3:0: ../src/http.h:102:30: erreur: ‘class v8::ObjectTemplate’ has no member named ‘SetNamedPropertyHandler’ headersTemplate->SetNamedPropertyHandler(Request::headers); ^ ../src/http.h:104:71: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] reqObjectLocal->Set(String::NewFromUtf8(isolate, "headers"), headersTemplate->NewInstance()); ^ ../src/http.h:104:103: erreur: no matching function for call to ‘v8::ObjectTemplate::NewInstance()’ reqObjectLocal->Set(String::NewFromUtf8(isolate, "headers"), headersTemplate->NewInstance()); ^ ../src/http.h:104:103: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:6423:44: note: v8::MaybeLocal v8::ObjectTemplate::NewInstance(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal NewInstance(Local context); ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:6423: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::Response::writeHead(const v8::FunctionCallbackInfo&)’: ../src/http.h:137:87: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ std::string head = "HTTP/1.1 " + std::to_string(args[0]->IntegerValue()) + " "; ^ ../src/http.h:137:87: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:3:0: ../src/http.h:147:85: erreur: no matching function for call to ‘v8::Value::ToObject()’ Local headersObject = args[args.Length() - 1]->ToObject(); ^ ../src/http.h:147:85: note: candidates are: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2672:44: note: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided In file included from /root/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14:0, from /root/.cache/node-gyp/12.19.0/include/node/v8.h:27, from /root/.cache/node-gyp/12.19.0/include/node/node.h:67, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2686:31: note: v8::Local v8::Value::ToObject(v8::Isolate*) const Local ToObject(Isolate* isolate) const); ^ /root/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided Local ToObject(Isolate* isolate) const); ^ /root/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:3:0: ../src/http.h:148:79: erreur: no matching function for call to ‘v8::Object::GetOwnPropertyNames()’ Local headers = headersObject->GetOwnPropertyNames(); ^ ../src/http.h:148:79: note: candidates are: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3675:43: note: v8::MaybeLocal v8::Object::GetOwnPropertyNames(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetOwnPropertyNames( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3675:43: note: candidate expects 1 argument, 0 provided /root/.cache/node-gyp/12.19.0/include/node/v8.h:3684:43: note: v8::MaybeLocal v8::Object::GetOwnPropertyNames(v8::Local, v8::PropertyFilter, v8::KeyConversionMode) V8_WARN_UNUSED_RESULT MaybeLocal GetOwnPropertyNames( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3684:43: note: candidate expects 3 arguments, 0 provided In file included from ../src/addon.cpp:3:0: ../src/http.h:149:57: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare] for (int i = 0; i < headers->Length(); i++) { ^ ../src/http.h:150:58: attention : ‘v8::Local v8::Object::Get(uint32_t)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3557): Use maybe version [-Wdeprecated-declarations] Local key = headers->Get(i); ^ ../src/http.h:151:68: attention : ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3553): Use maybe version [-Wdeprecated-declarations] Local value = headersObject->Get(key); ^ ../src/http.h: In static member function ‘static v8::Local HttpServer::Response::getTemplateObject(v8::Isolate*)’: ../src/http.h:188:87: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] resTemplateLocal->SetClassName(String::NewFromUtf8(isolate, "uws.Response")); ^ ../src/http.h:190:90: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] resTemplateLocal->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "end"), FunctionTemplate::New(isolate, Response::end)); ^ ../src/http.h:191:96: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] resTemplateLocal->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "writeHead"), FunctionTemplate::New(isolate, Response::writeHead)); ^ ../src/http.h:192:92: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] resTemplateLocal->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "write"), FunctionTemplate::New(isolate, Response::write)); ^ ../src/http.h:193:89: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] resTemplateLocal->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "on"), FunctionTemplate::New(isolate, Response::on)); ^ ../src/http.h:194:96: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] resTemplateLocal->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "setHeader"), FunctionTemplate::New(isolate, Response::setHeader)); ^ ../src/http.h:195:96: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] resTemplateLocal->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "getHeader"), FunctionTemplate::New(isolate, Response::getHeader)); ^ ../src/http.h:196:50: erreur: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ return resTemplateLocal->GetFunction()->NewInstance(); ^ ../src/http.h:196:50: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: 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: erreur: 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)); ^ ../src/http.h:227:155: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044:51: note: static v8::MaybeLocal v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal NewFromOneByte( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:3044: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:230:118: erreur: no matching function for call to ‘v8::Function::Call(v8::Local, int, v8::Local [2])’ Local::New(isolate, *httpRequestCallback)->Call(isolate->GetCurrentContext()->Global(), 2, argv); ^ ../src/http.h:230:118: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*) V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context, ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: candidate expects 4 arguments, 3 provided In file included from ../src/addon.cpp:3:0: ../src/http.h:236:110: erreur: no matching function for call to ‘v8::Function::Call(v8::Local, int, v8::Local [1])’ Local::Cast(dataCallback)->Call(isolate->GetCurrentContext()->Global(), 1, argv); ^ ../src/http.h:236:110: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*) V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context, ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: candidate expects 4 arguments, 3 provided In file included from ../src/addon.cpp:3:0: ../src/http.h:242:116: erreur: no matching function for call to ‘v8::Function::Call(v8::Local, int, std::nullptr_t)’ Local::Cast(endCallback)->Call(isolate->GetCurrentContext()->Global(), 0, nullptr); ^ ../src/http.h:242:116: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*) V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context, ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: candidate expects 4 arguments, 3 provided In file included from ../src/addon.cpp:3:0: ../src/http.h: In lambda function: ../src/http.h:265:110: erreur: no matching function for call to ‘v8::Function::Call(v8::Local, int, std::nullptr_t)’ Local::Cast(closeCallback)->Call(isolate->GetCurrentContext()->Global(), 0, nullptr); ^ ../src/http.h:265:110: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*) V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context, ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: candidate expects 4 arguments, 3 provided In file included from ../src/addon.cpp:3:0: ../src/http.h: In lambda function: ../src/http.h:280:106: erreur: no matching function for call to ‘v8::Function::Call(v8::Local, int, v8::Local [1])’ Local::Cast(dataCallback)->Call(isolate->GetCurrentContext()->Global(), 1, argv); ^ ../src/http.h:280:106: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*) V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context, ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: candidate expects 4 arguments, 3 provided In file included from ../src/addon.cpp:3:0: ../src/http.h:286:112: erreur: no matching function for call to ‘v8::Function::Call(v8::Local, int, std::nullptr_t)’ Local::Cast(endCallback)->Call(isolate->GetCurrentContext()->Global(), 0, nullptr); ^ ../src/http.h:286:112: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*) V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context, ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: candidate expects 4 arguments, 3 provided 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: erreur: no matching function for call to ‘v8::Function::NewInstance()’ args.GetReturnValue().Set(newInstance = Local::New(args.GetIsolate(), httpPersistent)->NewInstance()); ^ ../src/http.h:293:122: note: candidates are: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note: v8::MaybeLocal v8::Function::NewInstance(v8::Local, int, v8::Local*) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note: candidate expects 3 arguments, 0 provided /root/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note: v8::MaybeLocal v8::Function::NewInstance(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4284: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: erreur: no matching function for call to ‘v8::Value::IntegerValue()’ std::cout << "listen: " << hub.listen(args[0]->IntegerValue(), nullptr, 0, group) << std::endl; ^ ../src/http.h:308:69: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided In file included from ../src/addon.cpp:3:0: ../src/http.h:311:126: erreur: no matching function for call to ‘v8::Function::Call(v8::Local, int, std::nullptr_t)’ Local::Cast(args[args.Length() - 1])->Call(args.GetIsolate()->GetCurrentContext()->Global(), 0, nullptr); ^ ../src/http.h:311:126: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: v8::MaybeLocal v8::Function::Call(v8::Local, v8::Local, int, v8::Local*) V8_WARN_UNUSED_RESULT MaybeLocal Call(Local context, ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4298:43: note: candidate expects 4 arguments, 3 provided 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:64: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] express->Get(String::NewFromUtf8(isolate, "request"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), reqTemplate)->GetPrototype()); ^ ../src/http.h:320:65: attention : ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3553): Use maybe version [-Wdeprecated-declarations] express->Get(String::NewFromUtf8(isolate, "request"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), reqTemplate)->GetPrototype()); ^ ../src/http.h:320:77: erreur: no matching function for call to ‘v8::Value::ToObject()’ express->Get(String::NewFromUtf8(isolate, "request"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), reqTemplate)->GetPrototype()); ^ ../src/http.h:320:77: note: candidates are: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2672:44: note: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided In file included from /root/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14:0, from /root/.cache/node-gyp/12.19.0/include/node/v8.h:27, from /root/.cache/node-gyp/12.19.0/include/node/node.h:67, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2686:31: note: v8::Local v8::Value::ToObject(v8::Isolate*) const Local ToObject(Isolate* isolate) const); ^ /root/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided Local ToObject(Isolate* isolate) const); ^ /root/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:3:0: ../src/http.h:321:65: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] express->Get(String::NewFromUtf8(isolate, "response"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), resTemplate)->GetPrototype()); ^ ../src/http.h:321:66: attention : ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3553): Use maybe version [-Wdeprecated-declarations] express->Get(String::NewFromUtf8(isolate, "response"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), resTemplate)->GetPrototype()); ^ ../src/http.h:321:78: erreur: no matching function for call to ‘v8::Value::ToObject()’ express->Get(String::NewFromUtf8(isolate, "response"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), resTemplate)->GetPrototype()); ^ ../src/http.h:321:78: note: candidates are: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2672:44: note: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided In file included from /root/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14:0, from /root/.cache/node-gyp/12.19.0/include/node/v8.h:27, from /root/.cache/node-gyp/12.19.0/include/node/node.h:67, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:2686:31: note: v8::Local v8::Value::ToObject(v8::Isolate*) const Local ToObject(Isolate* isolate) const); ^ /root/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided Local ToObject(Isolate* isolate) const); ^ /root/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:3:0: ../src/http.h:327:60: erreur: no matching function for call to ‘v8::Function::NewInstance()’ args.GetReturnValue().Set(express->NewInstance()); ^ ../src/http.h:327:60: note: candidates are: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note: v8::MaybeLocal v8::Function::NewInstance(v8::Local, int, v8::Local*) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note: candidate expects 3 arguments, 0 provided /root/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note: v8::MaybeLocal v8::Function::NewInstance(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:4284: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 v8::Local HttpServer::getHttpServer(v8::Isolate*)’: ../src/http.h:343:68: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] httpServer->Set(String::NewFromUtf8(isolate, "createServer"), FunctionTemplate::New(isolate, HttpServer::createServer)); ^ ../src/http.h:344:69: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] httpServer->Set(String::NewFromUtf8(isolate, "getExpressApp"), FunctionTemplate::New(isolate, HttpServer::getExpressApp)); ^ ../src/http.h:345:76: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] httpServer->Set(String::NewFromUtf8(isolate, "getResponsePrototype"), FunctionTemplate::New(isolate, HttpServer::getResponsePrototype)); ^ ../src/http.h:346:75: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] httpServer->Set(String::NewFromUtf8(isolate, "getRequestPrototype"), FunctionTemplate::New(isolate, HttpServer::getRequestPrototype)); ^ ../src/http.h:347:83: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] httpServer->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "listen"), FunctionTemplate::New(isolate, HttpServer::listen)); ^ ../src/http.h:348:79: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] httpServer->PrototypeTemplate()->Set(String::NewFromUtf8(isolate, "on"), FunctionTemplate::New(isolate, HttpServer::on)); ^ ../src/http.h:353:67: erreur: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ Local httpServerLocal = httpServer->GetFunction(); ^ ../src/http.h:353:67: note: candidate is: In file included from /root/.cache/node-gyp/12.19.0/include/node/node.h:67:0, from ../src/addon.h:1, from ../src/addon.cpp:2: /root/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^ /root/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: candidate expects 1 argument, 0 provided ../src/addon.cpp: In function ‘void Main(v8::Local)’: ../src/addon.cpp:8:55: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ ../src/addon.cpp:8:96: attention : ‘bool v8::Object::Set(v8::Local, v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations] exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ ../src/addon.cpp:9:55: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ ../src/addon.cpp:9:96: attention : ‘bool v8::Object::Set(v8::Local, v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations] exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ ../src/addon.cpp:10:59: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] exports->Set(String::NewFromUtf8(isolate, "httpServer"), HttpServer::getHttpServer(isolate)); ^ ../src/addon.cpp:10:96: attention : ‘bool v8::Object::Set(v8::Local, v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations] exports->Set(String::NewFromUtf8(isolate, "httpServer"), HttpServer::getHttpServer(isolate)); ^ In file included from ../src/addon.cpp:2:0: ../src/addon.h: In instantiation of ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’: ../src/addon.cpp:8:88: required from here ../src/addon.h:462:57: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] object->Set(String::NewFromUtf8(isolate, "group"), group); ^ ../src/addon.h:462:65: attention : ‘bool v8::Object::Set(v8::Local, v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations] object->Set(String::NewFromUtf8(isolate, "group"), group); ^ ../src/addon.h: In instantiation of ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’: ../src/addon.cpp:9:88: required from here ../src/addon.h:462:57: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] object->Set(String::NewFromUtf8(isolate, "group"), group); ^ ../src/addon.h:462:65: attention : ‘bool v8::Object::Set(v8::Local, v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations] object->Set(String::NewFromUtf8(isolate, "group"), group); ^ ../src/addon.h: In instantiation of ‘void getAddress(const v8::FunctionCallbackInfo&) [with bool isServer = true]’: ../src/addon.cpp:15:67: required from here ../src/addon.h:137:5: attention : ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3507): Use maybe version [-Wdeprecated-declarations] array->Set(0, Integer::New(args.GetIsolate(), address.port)); ^ ../src/addon.h:138:73: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] array->Set(1, String::NewFromUtf8(args.GetIsolate(), address.address)); ^ ../src/addon.h:138:5: attention : ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3507): Use maybe version [-Wdeprecated-declarations] array->Set(1, String::NewFromUtf8(args.GetIsolate(), address.address)); ^ ../src/addon.h:139:72: attention : ‘static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3030): Use maybe version [-Wdeprecated-declarations] array->Set(2, String::NewFromUtf8(args.GetIsolate(), address.family)); ^ ../src/addon.h:139:5: attention : ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/v8.h:3507): Use maybe version [-Wdeprecated-declarations] array->Set(2, String::NewFromUtf8(args.GetIsolate(), address.family)); ^ ../src/addon.h: In instantiation of ‘onConnection(const v8::FunctionCallbackInfo&) [with bool isServer = true]::__lambda8’: ../src/addon.h:252:55: required from ‘struct onConnection(const v8::FunctionCallbackInfo&) [with bool isServer = true]::__lambda8’ ../src/addon.h:252:5: required from ‘void onConnection(const v8::FunctionCallbackInfo&) [with bool isServer = true]’ ../src/addon.h:441:70: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:256:136: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *connectionCallback), 1, argv); ^ ../src/addon.h: In instantiation of ‘onDisconnection(const v8::FunctionCallbackInfo&) [with bool isServer = true]::__lambda12’: ../src/addon.h:317:61: required from ‘struct onDisconnection(const v8::FunctionCallbackInfo&) [with bool isServer = true]::__lambda12’ ../src/addon.h:317:5: required from ‘void onDisconnection(const v8::FunctionCallbackInfo&) [with bool isServer = true]’ ../src/addon.h:443:76: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:324:139: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *disconnectionCallback), 4, argv); ^ ../src/addon.h: In instantiation of ‘onPing(const v8::FunctionCallbackInfo&) [with bool isServer = true]::__lambda10’: ../src/addon.h:284:29: required from ‘struct onPing(const v8::FunctionCallbackInfo&) [with bool isServer = true]::__lambda10’ ../src/addon.h:284:5: required from ‘void onPing(const v8::FunctionCallbackInfo&) [with bool isServer = true]’ ../src/addon.h:454:58: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:288:130: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pingCallback), 2, argv); ^ ../src/addon.h: In instantiation of ‘onPong(const v8::FunctionCallbackInfo&) [with bool isServer = true]::__lambda11’: ../src/addon.h:300:29: required from ‘struct onPong(const v8::FunctionCallbackInfo&) [with bool isServer = true]::__lambda11’ ../src/addon.h:300:5: required from ‘void onPong(const v8::FunctionCallbackInfo&) [with bool isServer = true]’ ../src/addon.h:455:58: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:304:130: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pongCallback), 2, argv); ^ ../src/addon.h: In instantiation of ‘onConnection(const v8::FunctionCallbackInfo&) [with bool isServer = false]::__lambda8’: ../src/addon.h:252:55: required from ‘struct onConnection(const v8::FunctionCallbackInfo&) [with bool isServer = false]::__lambda8’ ../src/addon.h:252:5: required from ‘void onConnection(const v8::FunctionCallbackInfo&) [with bool isServer = false]’ ../src/addon.h:441:70: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:256:136: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *connectionCallback), 1, argv); ^ ../src/addon.h: In instantiation of ‘onDisconnection(const v8::FunctionCallbackInfo&) [with bool isServer = false]::__lambda12’: ../src/addon.h:317:61: required from ‘struct onDisconnection(const v8::FunctionCallbackInfo&) [with bool isServer = false]::__lambda12’ ../src/addon.h:317:5: required from ‘void onDisconnection(const v8::FunctionCallbackInfo&) [with bool isServer = false]’ ../src/addon.h:443:76: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:324:139: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *disconnectionCallback), 4, argv); ^ ../src/addon.h: In instantiation of ‘onPing(const v8::FunctionCallbackInfo&) [with bool isServer = false]::__lambda10’: ../src/addon.h:284:29: required from ‘struct onPing(const v8::FunctionCallbackInfo&) [with bool isServer = false]::__lambda10’ ../src/addon.h:284:5: required from ‘void onPing(const v8::FunctionCallbackInfo&) [with bool isServer = false]’ ../src/addon.h:454:58: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:288:130: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pingCallback), 2, argv); ^ ../src/addon.h: In instantiation of ‘onPong(const v8::FunctionCallbackInfo&) [with bool isServer = false]::__lambda11’: ../src/addon.h:300:29: required from ‘struct onPong(const v8::FunctionCallbackInfo&) [with bool isServer = false]::__lambda11’ ../src/addon.h:300:5: required from ‘void onPong(const v8::FunctionCallbackInfo&) [with bool isServer = false]’ ../src/addon.h:455:58: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:304:130: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pongCallback), 2, argv); ^ ../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:433:55: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = true]’ ../src/addon.cpp:8:88: required from here ../src/addon.h:163:146: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(sc->isolate, sc->isolate->GetCurrentContext()->Global(), Local::New(sc->isolate, sc->jsCallback), 0, nullptr); ^ ../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:433:55: required from ‘Namespace::Namespace(v8::Isolate*) [with bool isServer = false]’ ../src/addon.cpp:9:88: required from here ../src/addon.h:163:146: attention : ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated (declared at /root/.cache/node-gyp/12.19.0/include/node/node.h:182): Use MakeCallback(..., async_context) [-Wdeprecated-declarations] In file included from ../src/addon.cpp:3:0: ../src/http.h: In static member function ‘static v8::Local HttpServer::Response::getTemplateObject(v8::Isolate*)’: ../src/http.h:197:9: attention : contrôle a atteint la fin non void de la fonction [-Wreturn-type] } ^ make: *** [Release/obj.target/uws/src/addon.o] Erreur 1 make: on quitte le répertoire « /var/www/html/datAgregateur/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/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19-ovh-xxxx-std-ipv6-64 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /var/www/html/datAgregateur/node_modules/uws gyp ERR! node -v v12.19.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok