Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /var/lib/docker/overlay2/68ecfd452f3dc1683a01befc9004a2ff1a725e367c662fd0e8b2f64fd7dcc9ca/diff/mastodon/node_modules/@clusterws/cws/build_log.txt
- /var/lib/docker/overlay2/af02c30c6b5d13ed639bbdcdc20c53dfd2ae6c12a54ece7c9b400fb4b0d0026f/diff/mastodon/node_modules/@clusterws/cws/build_log.txt
- /var/lib/mastodon/node_modules/@clusterws/cws/build_log.txt
- [root@mastodon kitsuna]# nano /var/lib/mastodon/node_modules/@clusterws/cws/build_log.txt
- [root@mastodon kitsuna]# cat /var/lib/mastodon/node_modules/@clusterws/cws/build_log.txt
- gyp info it worked if it ends with ok
- gyp info using node-gyp@7.1.2
- gyp info using node@15.12.0 | linux | x64
- gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
- gyp http GET https://nodejs.org/download/release/v15.12.0/node-v15.12.0-headers.tar.gz
- gyp http 200 https://nodejs.org/download/release/v15.12.0/node-v15.12.0-headers.tar.gz
- gyp http GET https://nodejs.org/download/release/v15.12.0/SHASUMS256.txt
- gyp http 200 https://nodejs.org/download/release/v15.12.0/SHASUMS256.txt
- gyp info spawn /usr/bin/python3
- gyp info spawn args [
- gyp info spawn args '/var/lib/mastodon/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py',
- gyp info spawn args 'binding.gyp',
- gyp info spawn args '-f',
- gyp info spawn args 'make',
- gyp info spawn args '-I',
- gyp info spawn args '/var/lib/mastodon/node_modules/@clusterws/cws/build/config.gypi',
- gyp info spawn args '-I',
- gyp info spawn args '/var/lib/mastodon/.config/yarn/global/node_modules/node-gyp/addon.gypi',
- gyp info spawn args '-I',
- gyp info spawn args '/var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/common.gypi',
- gyp info spawn args '-Dlibrary=shared_library',
- gyp info spawn args '-Dvisibility=default',
- gyp info spawn args '-Dnode_root_dir=/var/lib/mastodon/.cache/node-gyp/15.12.0',
- gyp info spawn args '-Dnode_gyp_dir=/var/lib/mastodon/.config/yarn/global/node_modules/node-gyp',
- gyp info spawn args '-Dnode_lib_file=/var/lib/mastodon/.cache/node-gyp/15.12.0/<(target_arch)/node.lib',
- gyp info spawn args '-Dmodule_root_dir=/var/lib/mastodon/node_modules/@clusterws/cws',
- gyp info spawn args '-Dnode_engine=v8',
- gyp info spawn args '--depth=.',
- gyp info spawn args '--no-parallel',
- gyp info spawn args '--generator-output',
- gyp info spawn args 'build',
- gyp info spawn args '-Goutput_dir=.'
- gyp info spawn args ]
- gyp info spawn make
- gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
- make: Entering directory '/var/lib/mastodon/node_modules/@clusterws/cws/build'
- CXX(target) Release/obj.target/cws/src/Addon.o
- In file included from ../src/Backend.h:7,
- 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/cWS.h:4,
- from ../src/Addon.cpp:2:
- ../src/Libuv.h: In member function ‘void cS::Poll::close(cS::Loop*, void (*)(cS::Poll*))’:
- ../src/Libuv.h:172:20: warning: cast between incompatible function types from ‘void (*)(cS::Poll*)’ to ‘void (*)(cS::Poll*, int, int)’ [-Wcast-function-type]
- 172 | this->cb = (void(*)(Poll *, int, int)) cb;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../src/Libuv.h: In lambda function:
- ../src/Libuv.h:175:34: warning: cast between incompatible function types from ‘void (*)(cS::Poll*, int, int)’ to ‘void (*)(cS::Poll*)’ [-Wcast-function-type]
- 175 | void (*cb)(Poll *) = (void(*)(Poll *)) poll->cb;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: At global scope:
- ../src/Addon.h:24:26: error: ‘BaseObject’ in namespace ‘node’ does not name a type
- 24 | using BaseObject = node::BaseObject;
- | ^~~~~~~~~~
- ../src/Addon.h:25:23: error: ‘TLSWrap’ in namespace ‘node’ does not name a type
- 25 | using TLSWrap = node::TLSWrap;
- | ^~~~~~~
- ../src/Addon.h:26:47: error: expected class-name before ‘{’ token
- 26 | class TLSWrapSSLGetter : public node::TLSWrap {
- | ^
- ../src/Addon.h: In member function ‘void TLSWrapSSLGetter::setSSL(const v8::FunctionCallbackInfo<v8::Value>&)’:
- ../src/Addon.h:30:14: error: ‘ssl_’ was not declared in this scope; did you mean ‘ssl_st’?
- 30 | if (!ssl_){
- | ^~~~
- | ssl_st
- ../src/Addon.h:34:20: error: ‘ssl_’ was not declared in this scope; did you mean ‘ssl_st’?
- 34 | SSL* ptr = ssl_.get();
- | ^~~~
- | ssl_st
- ../src/Addon.h: In lambda function:
- ../src/Addon.h:87:71: 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]
- 87 | Local<Function>::New(isolate, noop), 0, nullptr);
- | ^
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In constructor ‘NativeString::NativeString(v8::Isolate*, const v8::Local<v8::Value>&)’:
- ../src/Addon.h:113:79: warning: ‘v8::ArrayBuffer::Contents v8::ArrayBuffer::GetContents()’ is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
- 113 | ArrayBuffer::Contents contents = arrayBufferView->Buffer()->GetContents();
- | ^
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:5318:12: note: declared here
- 5318 | Contents GetContents();
- | ^~~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h:118:65: warning: ‘v8::ArrayBuffer::Contents v8::ArrayBuffer::GetContents()’ is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
- 118 | ArrayBuffer::Contents contents = arrayBuffer->GetContents();
- | ^
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:5318:12: note: declared here
- 5318 | Contents GetContents();
- | ^~~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In function ‘v8::Local<v8::Value> wrapMessage(const char*, size_t, cWS::OpCode, v8::Isolate*)’:
- ../src/Addon.h:175:75: warning: ‘static v8::Local<v8::ArrayBuffer> v8::ArrayBuffer::New(v8::Isolate*, void*, size_t, v8::ArrayBufferCreationMode)’ is deprecated: Use the version that takes a BackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
- 175 | return (Local<Value>)ArrayBuffer::New(isolate, (char *)message, length);
- | ^
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:5221:29: note: declared here
- 5221 | static Local<ArrayBuffer> New(
- | ^~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In function ‘void sendCallback(cWS::WebSocket<isServer>*, void*, bool, void*)’:
- ../src/Addon.h:263:31: 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]
- 263 | nullptr);
- | ^
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In lambda function:
- ../src/Addon.h:375:35: 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]
- 375 | 1, argv);
- | ^
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In lambda function:
- ../src/Addon.h:421:77: 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]
- 421 | Local<Function>::New(isolate, *pingCallback), 2, argv);
- | ^
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In lambda function:
- ../src/Addon.h:441:77: 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]
- 441 | Local<Function>::New(isolate, *pongCallback), 2, argv);
- | ^
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In lambda function:
- ../src/Addon.h:467:28: 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]
- 467 | argv);
- | ^
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In lambda function:
- ../src/Addon.h:485:78: 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]
- 485 | Local<Function>::New(isolate, *errorCallback), 1, argv);
- | ^
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In lambda function:
- ../src/Addon.h:565:45: warning: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 565 | cb->Call(context, Null(isolate), 1, argv);
- | ^
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:4514:43: note: declared here
- 4514 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
- | ^~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In function ‘void getSSLContext(const v8::FunctionCallbackInfo<v8::Value>&)’:
- ../src/Addon.h:611:7: error: ‘ASSIGN_OR_RETURN_UNWRAP’ was not declared in this scope
- 611 | ASSIGN_OR_RETURN_UNWRAP(&tw, obj);
- | ^~~~~~~~~~~~~~~~~~~~~~~
- ../src/Addon.cpp: In function ‘void Initialize(v8::Local<v8::Object>)’:
- ../src/Addon.cpp:10:55: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 10 | Namespace<cWS::SERVER>(isolate).object);
- | ^
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:3716:37: note: declared here
- 3716 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
- | ^~~
- ../src/Addon.cpp:12:55: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 12 | Namespace<cWS::CLIENT>(isolate).object);
- | ^
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:3716:37: note: declared here
- 3716 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
- | ^~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- ../src/Addon.cpp: At global scope:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:838:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
- 838 | (node::addon_register_func) (regfunc), \
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:872:3: note: in expansion of macro ‘NODE_MODULE_X’
- 872 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
- | ^~~~~~~~~~~~~
- ../src/Addon.cpp:33:1: note: in expansion of macro ‘NODE_MODULE’
- 33 | NODE_MODULE(addon, Initialize)
- | ^~~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’:
- ../src/Addon.cpp:10:47: required from here
- ../src/Addon.h:661:18: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 661 | object->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "group").ToLocalChecked(), group);
- | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:3716:37: note: declared here
- 3716 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
- | ^~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’:
- ../src/Addon.cpp:12:47: required from here
- ../src/Addon.h:661:18: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 661 | object->Set(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "group").ToLocalChecked(), group);
- | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:3716:37: note: declared here
- 3716 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
- | ^~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void getAddress(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’:
- ../src/Addon.cpp:24:65: required from here
- ../src/Addon.h:227:15: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 227 | array->Set(args.GetIsolate()->GetCurrentContext(), 0, Integer::New(args.GetIsolate(), address.port));
- | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:3719:37: note: declared here
- 3719 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
- | ^~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h:228:15: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 228 | array->Set(args.GetIsolate()->GetCurrentContext(), 1, String::NewFromUtf8(args.GetIsolate(), address.address).ToLocalChecked());
- | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:3719:37: note: declared here
- 3719 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
- | ^~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h:229:15: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 229 | array->Set(args.GetIsolate()->GetCurrentContext(), 2, String::NewFromUtf8(args.GetIsolate(), address.family).ToLocalChecked());
- | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:3719:37: note: declared here
- 3719 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
- | ^~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void onConnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’:
- ../src/Addon.h:639:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
- ../src/Addon.cpp:10:47: required from here
- ../src/Addon.h:373: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]
- 373 | node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(),
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 374 | Local<Function>::New(isolate, *connectionCallback),
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 375 | 1, argv);
- | ~~~~~~~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void onMessage(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’:
- ../src/Addon.h:640:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
- ../src/Addon.cpp:10:47: required from here
- ../src/Addon.h:400:17: warning: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 399 | Local<Function>::New(isolate, *messageCallback)
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 400 | ->Call(isolate->GetCurrentContext(), Null(isolate), 2, argv);
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:4514:43: note: declared here
- 4514 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
- | ^~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void onDisconnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’:
- ../src/Addon.h:641:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
- ../src/Addon.cpp:10:47: required from here
- ../src/Addon.h:465:23: 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]
- 465 | node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(),
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 466 | Local<Function>::New(isolate, *disconnectionCallback), 4,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 467 | argv);
- | ~~~~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void onPing(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’:
- ../src/Addon.h:652:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
- ../src/Addon.cpp:10:47: required from here
- ../src/Addon.h:420:23: 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]
- 420 | node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(),
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 421 | Local<Function>::New(isolate, *pingCallback), 2, argv);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void onPong(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’:
- ../src/Addon.h:653:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
- ../src/Addon.cpp:10:47: required from here
- ../src/Addon.h:440:23: 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]
- 440 | node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(),
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 441 | Local<Function>::New(isolate, *pongCallback), 2, argv);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void onConnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’:
- ../src/Addon.h:639:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
- ../src/Addon.cpp:12:47: required from here
- ../src/Addon.h:373: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]
- 373 | node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(),
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 374 | Local<Function>::New(isolate, *connectionCallback),
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 375 | 1, argv);
- | ~~~~~~~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void onMessage(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’:
- ../src/Addon.h:640:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
- ../src/Addon.cpp:12:47: required from here
- ../src/Addon.h:400:17: warning: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 399 | Local<Function>::New(isolate, *messageCallback)
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 400 | ->Call(isolate->GetCurrentContext(), Null(isolate), 2, argv);
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:63,
- from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/v8.h:4514:43: note: declared here
- 4514 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
- | ^~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void onDisconnection(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’:
- ../src/Addon.h:641:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
- ../src/Addon.cpp:12:47: required from here
- ../src/Addon.h:465:23: 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]
- 465 | node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(),
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 466 | Local<Function>::New(isolate, *disconnectionCallback), 4,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 467 | argv);
- | ~~~~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void onPing(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’:
- ../src/Addon.h:652:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
- ../src/Addon.cpp:12:47: required from here
- ../src/Addon.h:420:23: 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]
- 420 | node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(),
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 421 | Local<Function>::New(isolate, *pingCallback), 2, argv);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void onPong(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’:
- ../src/Addon.h:653:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
- ../src/Addon.cpp:12:47: required from here
- ../src/Addon.h:440:23: 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]
- 440 | node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(),
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 441 | Local<Function>::New(isolate, *pongCallback), 2, argv);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void sendCallback(cWS::WebSocket<isServer>*, void*, bool, void*) [with bool isServer = true]’:
- ../src/Addon.h:278:14: required from ‘void send(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = true]’
- ../src/Addon.h:631:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = true]’
- ../src/Addon.cpp:10:47: required from here
- ../src/Addon.h:261:23: 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]
- 261 | node::MakeCallback(sc->isolate, sc->isolate->GetCurrentContext()->Global(),
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 262 | Local<Function>::New(sc->isolate, sc->jsCallback), 0,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 263 | nullptr);
- | ~~~~~~~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- In file included from ../src/Addon.cpp:3:
- ../src/Addon.h: In instantiation of ‘void sendCallback(cWS::WebSocket<isServer>*, void*, bool, void*) [with bool isServer = false]’:
- ../src/Addon.h:278:14: required from ‘void send(const v8::FunctionCallbackInfo<v8::Value>&) [with bool isServer = false]’
- ../src/Addon.h:631:20: required from ‘Namespace<isServer>::Namespace(v8::Isolate*) [with bool isServer = false]’
- ../src/Addon.cpp:12:47: required from here
- ../src/Addon.h:261:23: 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]
- 261 | node::MakeCallback(sc->isolate, sc->isolate->GetCurrentContext()->Global(),
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 262 | Local<Function>::New(sc->isolate, sc->jsCallback), 0,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 263 | nullptr);
- | ~~~~~~~~
- In file included from ../src/Addon.h:1,
- from ../src/Addon.cpp:3:
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:184:50: note: declared here
- 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
- | ^~~~~~~~~~~~
- /var/lib/mastodon/.cache/node-gyp/15.12.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’
- 101 | __attribute__((deprecated(message))) declarator
- | ^~~~~~~~~~
- make: *** [cws.target.mk:112: Release/obj.target/cws/src/Addon.o] Error 1
- make: Leaving directory '/var/lib/mastodon/node_modules/@clusterws/cws/build'
- gyp ERR! build error
- gyp ERR! stack Error: `make` failed with exit code: 2
- gyp ERR! stack at ChildProcess.onExit (/var/lib/mastodon/.config/yarn/global/node_modules/node-gyp/lib/build.js:194:23)
- gyp ERR! stack at ChildProcess.emit (node:events:369:20)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
- gyp ERR! System Linux 5.11.7-arch1-1
- gyp ERR! command "/usr/bin/node" "/var/lib/mastodon/.yarn/bin/node-gyp" "rebuild"
- gyp ERR! cwd /var/lib/mastodon/node_modules/@clusterws/cws
- gyp ERR! node -v v15.12.0
- gyp ERR! node-gyp -v v7.1.2
- gyp ERR! not ok
Add Comment
Please, Sign In to add comment