When trying to add this simple change https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/739753
The following three failures has occurred
- https://integration.wikimedia.org/ci/job/quibble-composer-mysql-php73-selenium-docker/12218/consoleFull
- https://integration.wikimedia.org/ci/job/quibble-composer-mysql-php73-selenium-docker/12221/consoleFull
- https://integration.wikimedia.org/ci/job/quibble-composer-mysql-php73-selenium-docker/12227/consoleFull
They all fail as the MobileFrontend tests should start
Selenium extensions/MobileFrontend Hide Details 12:15:48 INFO:quibble.commands:Running webdriver test in /workspace/src/extensions/MobileFrontend 12:15:50 npm WARN old lockfile 12:15:50 npm WARN old lockfile The package-lock.json file was created with an old version of npm, 12:15:50 npm WARN old lockfile so supplemental metadata must be fetched from the registry. 12:15:50 npm WARN old lockfile 12:15:50 npm WARN old lockfile This is a one-time fix-up, please be patient... 12:15:50 npm WARN old lockfile 12:16:05 npm WARN EBADENGINE Unsupported engine { 12:16:05 npm WARN EBADENGINE package: undefined, 12:16:05 npm WARN EBADENGINE required: { node: '10.15.2' }, 12:16:05 npm WARN EBADENGINE current: { node: 'v14.17.5', npm: '7.21.0' } 12:16:05 npm WARN EBADENGINE } 12:16:16 npm WARN deprecated request-promise-native@1.0.8: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 12:16:16 npm WARN deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown 12:16:16 npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated 12:16:16 npm WARN deprecated har-validator@5.1.3: this library is no longer supported 12:16:17 npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated 12:16:18 npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added 12:16:18 npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) 12:16:18 npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) 12:16:18 npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. 12:16:18 npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. 12:16:18 npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. 12:16:18 npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 12:16:19 npm WARN deprecated uuid@3.3.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 12:16:19 npm WARN deprecated samsam@1.3.0: This package has been deprecated in favour of @sinonjs/samsam 12:16:20 npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) 12:16:20 npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142 12:16:29 npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. 12:16:38 npm WARN deprecated popper.js@1.16.0: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 12:16:39 npm WARN deprecated cucumber@4.2.1: The npm package has moved to @cucumber/cucumber 12:16:40 npm WARN deprecated iltorb@2.4.5: The zlib module provides APIs for brotli compression/decompression starting with Node.js v10.16.0, please use it over iltorb 12:16:41 npm WARN deprecated highlight.js@9.12.0: Version no longer supported. Upgrade to @latest 12:16:47 npm WARN deprecated webdriverio@4.13.1: outdated version, please use @next 12:16:51 npm WARN deprecated core-js@1.2.7: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. 12:16:59 npm WARN deprecated core-js@2.6.11: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. 12:17:13 npm ERR! code 1 12:17:13 npm ERR! path /workspace/src/extensions/MobileFrontend/node_modules/fibers 12:17:13 npm ERR! command failed 12:17:13 npm ERR! command sh -c node build.js || nodejs build.js 12:17:13 npm ERR! make: Entering directory '/workspace/src/extensions/MobileFrontend/node_modules/fibers/build' 12:17:13 npm ERR! CXX(target) Release/obj.target/fibers/src/fibers.o 12:17:13 npm ERR! make: Leaving directory '/workspace/src/extensions/MobileFrontend/node_modules/fibers/build' 12:17:13 npm ERR! make: Entering directory '/workspace/src/extensions/MobileFrontend/node_modules/fibers/build' 12:17:13 npm ERR! CXX(target) Release/obj.target/fibers/src/fibers.o 12:17:13 npm ERR! make: Leaving directory '/workspace/src/extensions/MobileFrontend/node_modules/fibers/build' 12:17:13 npm ERR! gyp info it worked if it ends with ok 12:17:13 npm ERR! gyp info using node-gyp@7.1.2 12:17:13 npm ERR! gyp info using node@14.17.5 | linux | x64 12:17:13 npm ERR! gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3" 12:17:13 npm ERR! gyp info spawn /usr/bin/python3 12:17:13 npm ERR! gyp info spawn args [ 12:17:13 npm ERR! gyp info spawn args '/srv/npm/node_modules/node-gyp/gyp/gyp_main.py', 12:17:13 npm ERR! gyp info spawn args 'binding.gyp', 12:17:13 npm ERR! gyp info spawn args '-f', 12:17:13 npm ERR! gyp info spawn args 'make', 12:17:13 npm ERR! gyp info spawn args '-I', 12:17:13 npm ERR! gyp info spawn args '/workspace/src/extensions/MobileFrontend/node_modules/fibers/build/config.gypi', 12:17:13 npm ERR! gyp info spawn args '-I', 12:17:13 npm ERR! gyp info spawn args '/srv/npm/node_modules/node-gyp/addon.gypi', 12:17:13 npm ERR! gyp info spawn args '-I', 12:17:13 npm ERR! gyp info spawn args '/cache/node-gyp/14.17.5/include/node/common.gypi', 12:17:13 npm ERR! gyp info spawn args '-Dlibrary=shared_library', 12:17:13 npm ERR! gyp info spawn args '-Dvisibility=default', 12:17:13 npm ERR! gyp info spawn args '-Dnode_root_dir=/cache/node-gyp/14.17.5', 12:17:13 npm ERR! gyp info spawn args '-Dnode_gyp_dir=/srv/npm/node_modules/node-gyp', 12:17:13 npm ERR! gyp info spawn args '-Dnode_lib_file=/cache/node-gyp/14.17.5/<(target_arch)/node.lib', 12:17:13 npm ERR! gyp info spawn args '-Dmodule_root_dir=/workspace/src/extensions/MobileFrontend/node_modules/fibers', 12:17:13 npm ERR! gyp info spawn args '-Dnode_engine=v8', 12:17:13 npm ERR! gyp info spawn args '--depth=.', 12:17:13 npm ERR! gyp info spawn args '--no-parallel', 12:17:13 npm ERR! gyp info spawn args '--generator-output', 12:17:13 npm ERR! gyp info spawn args 'build', 12:17:13 npm ERR! gyp info spawn args '-Goutput_dir=.' 12:17:13 npm ERR! gyp info spawn args ] 12:17:13 npm ERR! gyp info spawn make 12:17:13 npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] 12:17:13 npm ERR! ../src/fibers.cc:68:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<String> NewLatin1String(Isolate* isolate, const char* string) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:72:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<String> NewLatin1Symbol(Isolate* isolate, const char* string) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:94:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<Object> NewInstance(Isolate* isolate, Local<Function> fn, int argc, Local<Value> argv[]) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:104:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<Number> ToNumber(Local<Value> value) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:114:50: error: ‘Handle’ has not been declared 12:17:13 npm ERR! Local<Value> GetStackTrace(TryCatch* try_catch, Handle<Context> context) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:114:56: error: expected ‘,’ or ‘...’ before ‘<’ token 12:17:13 npm ERR! Local<Value> GetStackTrace(TryCatch* try_catch, Handle<Context> context) { 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc: In function ‘v8::Local<v8::Value> uni::GetStackTrace(uni::TryCatch*, int)’: 12:17:13 npm ERR! ../src/fibers.cc:115:32: error: ‘context’ was not declared in this scope 12:17:13 npm ERR! return try_catch->StackTrace(context).ToLocalChecked(); 12:17:13 npm ERR! ^~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:115:32: note: suggested alternative: ‘setcontext’ 12:17:13 npm ERR! return try_catch->StackTrace(context).ToLocalChecked(); 12:17:13 npm ERR! ^~~~~~~ 12:17:13 npm ERR! setcontext 12:17:13 npm ERR! ../src/fibers.cc: At global scope: 12:17:13 npm ERR! ../src/fibers.cc:127:39: error: ‘Handle’ has not been declared 12:17:13 npm ERR! void fixStackLimit(Isolate* isolate, Handle<Context> context) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:127:45: error: expected ‘,’ or ‘...’ before ‘<’ token 12:17:13 npm ERR! void fixStackLimit(Isolate* isolate, Handle<Context> context) { 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc: In function ‘void uni::fixStackLimit(v8::Isolate*, int)’: 12:17:13 npm ERR! ../src/fibers.cc:128:19: error: ‘context’ was not declared in this scope 12:17:13 npm ERR! Script::Compile(context, uni::NewLatin1String(isolate, "void 0;")).ToLocalChecked(); 12:17:13 npm ERR! ^~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:128:19: note: suggested alternative: ‘setcontext’ 12:17:13 npm ERR! Script::Compile(context, uni::NewLatin1String(isolate, "void 0;")).ToLocalChecked(); 12:17:13 npm ERR! ^~~~~~~ 12:17:13 npm ERR! setcontext 12:17:13 npm ERR! ../src/fibers.cc:128:33: error: ‘NewLatin1String’ is not a member of ‘uni’ 12:17:13 npm ERR! Script::Compile(context, uni::NewLatin1String(isolate, "void 0;")).ToLocalChecked(); 12:17:13 npm ERR! ^~~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc: At global scope: 12:17:13 npm ERR! ../src/fibers.cc:149:58: error: ‘Handle’ has not been declared 12:17:13 npm ERR! void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:149:64: error: expected ‘,’ or ‘...’ before ‘<’ token 12:17:13 npm ERR! void Reset(Isolate* isolate, Persistent<T>& persistent, Handle<T> handle) { 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc: In function ‘void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’: 12:17:13 npm ERR! ../src/fibers.cc:150:29: error: ‘handle’ was not declared in this scope 12:17:13 npm ERR! persistent.Reset(isolate, handle); 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:150:29: note: suggested alternative: ‘rand_r’ 12:17:13 npm ERR! persistent.Reset(isolate, handle); 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc: At global scope: 12:17:13 npm ERR! ../src/fibers.cc:162:26: error: variable or field ‘SetInternalPointer’ declared void 12:17:13 npm ERR! void SetInternalPointer(Handle<T> handle, int index, void* val) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:162:26: error: ‘Handle’ was not declared in this scope 12:17:13 npm ERR! ../src/fibers.cc:162:26: note: suggested alternative: ‘rand_r’ 12:17:13 npm ERR! void SetInternalPointer(Handle<T> handle, int index, void* val) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:162:34: error: expected primary-expression before ‘>’ token 12:17:13 npm ERR! void SetInternalPointer(Handle<T> handle, int index, void* val) { 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:162:36: error: ‘handle’ was not declared in this scope 12:17:13 npm ERR! void SetInternalPointer(Handle<T> handle, int index, void* val) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:162:36: note: suggested alternative: ‘rand_r’ 12:17:13 npm ERR! void SetInternalPointer(Handle<T> handle, int index, void* val) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:162:44: error: expected primary-expression before ‘int’ 12:17:13 npm ERR! void SetInternalPointer(Handle<T> handle, int index, void* val) { 12:17:13 npm ERR! ^~~ 12:17:13 npm ERR! ../src/fibers.cc:162:55: error: expected primary-expression before ‘void’ 12:17:13 npm ERR! void SetInternalPointer(Handle<T> handle, int index, void* val) { 12:17:13 npm ERR! ^~~~ 12:17:13 npm ERR! ../src/fibers.cc:166:27: error: ‘Handle’ was not declared in this scope 12:17:13 npm ERR! void* GetInternalPointer(Handle<T> handle, int index) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:166:27: note: suggested alternative: ‘rand_r’ 12:17:13 npm ERR! void* GetInternalPointer(Handle<T> handle, int index) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:166:35: error: expected primary-expression before ‘>’ token 12:17:13 npm ERR! void* GetInternalPointer(Handle<T> handle, int index) { 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:166:37: error: ‘handle’ was not declared in this scope 12:17:13 npm ERR! void* GetInternalPointer(Handle<T> handle, int index) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:166:37: note: suggested alternative: ‘rand_r’ 12:17:13 npm ERR! void* GetInternalPointer(Handle<T> handle, int index) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:166:45: error: expected primary-expression before ‘int’ 12:17:13 npm ERR! void* GetInternalPointer(Handle<T> handle, int index) { 12:17:13 npm ERR! ^~~ 12:17:13 npm ERR! ../src/fibers.cc:166:54: error: expression list treated as compound expression in initializer [-fpermissive] 12:17:13 npm ERR! void* GetInternalPointer(Handle<T> handle, int index) { 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:166:55: error: expected ‘;’ before ‘{’ token 12:17:13 npm ERR! void* GetInternalPointer(Handle<T> handle, int index) { 12:17:13 npm ERR! ^~ 12:17:13 npm ERR! ; 12:17:13 npm ERR! ../src/fibers.cc:171:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<T> Deref(Isolate* isolate, Persistent<T>& handle) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:176:14: error: variable or field ‘Return’ declared void 12:17:13 npm ERR! void Return(Handle<T> handle, const Arguments& args) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:176:14: error: ‘Handle’ was not declared in this scope 12:17:13 npm ERR! ../src/fibers.cc:176:14: note: suggested alternative: ‘rand_r’ 12:17:13 npm ERR! void Return(Handle<T> handle, const Arguments& args) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:176:22: error: expected primary-expression before ‘>’ token 12:17:13 npm ERR! void Return(Handle<T> handle, const Arguments& args) { 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:176:24: error: ‘handle’ was not declared in this scope 12:17:13 npm ERR! void Return(Handle<T> handle, const Arguments& args) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:176:24: note: suggested alternative: ‘rand_r’ 12:17:13 npm ERR! void Return(Handle<T> handle, const Arguments& args) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:176:32: error: expected primary-expression before ‘const’ 12:17:13 npm ERR! void Return(Handle<T> handle, const Arguments& args) { 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:180:14: error: variable or field ‘Return’ declared void 12:17:13 npm ERR! void Return(Handle<T> handle, GetterCallbackInfo info) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:180:14: error: ‘Handle’ was not declared in this scope 12:17:13 npm ERR! ../src/fibers.cc:180:14: note: suggested alternative: ‘rand_r’ 12:17:13 npm ERR! void Return(Handle<T> handle, GetterCallbackInfo info) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:180:22: error: expected primary-expression before ‘>’ token 12:17:13 npm ERR! void Return(Handle<T> handle, GetterCallbackInfo info) { 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:180:24: error: ‘handle’ was not declared in this scope 12:17:13 npm ERR! void Return(Handle<T> handle, GetterCallbackInfo info) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:180:24: note: suggested alternative: ‘rand_r’ 12:17:13 npm ERR! void Return(Handle<T> handle, GetterCallbackInfo info) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:180:51: error: expected primary-expression before ‘info’ 12:17:13 npm ERR! void Return(Handle<T> handle, GetterCallbackInfo info) { 12:17:13 npm ERR! ^~~~ 12:17:13 npm ERR! ../src/fibers.cc:188:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<Value> ThrowException(Isolate* isolate, Handle<Value> exception) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:192:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<Context> GetCurrentContext(Isolate* isolate) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:196:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<Primitive> Undefined(Isolate* isolate) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:200:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<Boolean> NewBoolean(Isolate* isolate, bool value) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:204:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<Number> NewNumber(Isolate* isolate, double value) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:208:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<FunctionTemplate> NewFunctionTemplate( 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:218:2: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<Signature> NewSignature( 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc: In function ‘void uni::SetAccessor(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, uni::FunctionType (*)(v8::Local<v8::String>, const GetterCallbackInfo&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&))’: 12:17:13 npm ERR! ../src/fibers.cc:341:87: warning: cast between incompatible function types from ‘uni::FunctionType (*)(v8::Local<v8::String>, const GetterCallbackInfo&)’ {aka ‘void (*)(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>&)’} to ‘v8::AccessorNameGetterCallback’ {aka ‘void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)’} [-Wcast-function-type] 12:17:13 npm ERR! object->SetAccessor(isolate->GetCurrentContext(), name, (AccessorNameGetterCallback)getter, (AccessorNameSetterCallback)setter).ToChecked(); 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:341:123: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&)’ {aka ‘void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&)’} to ‘v8::AccessorNameSetterCallback’ {aka ‘void (*)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&)’} [-Wcast-function-type] 12:17:13 npm ERR! object->SetAccessor(isolate->GetCurrentContext(), name, (AccessorNameGetterCallback)getter, (AccessorNameSetterCallback)setter).ToChecked(); 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc: At global scope: 12:17:13 npm ERR! ../src/fibers.cc:408:17: error: expected ‘;’ at end of member declaration 12:17:13 npm ERR! static Fiber& Unwrap(Handle<Object> handle) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ; 12:17:13 npm ERR! ../src/fibers.cc:408:30: error: expected ‘)’ before ‘<’ token 12:17:13 npm ERR! static Fiber& Unwrap(Handle<Object> handle) { 12:17:13 npm ERR! ~ ^ 12:17:13 npm ERR! ) 12:17:13 npm ERR! ../src/fibers.cc:414:15: error: expected ‘)’ before ‘<’ token 12:17:13 npm ERR! Fiber(Handle<Object> handle, Handle<Function> cb, Handle<Context> v8_context) : 12:17:13 npm ERR! ~ ^ 12:17:13 npm ERR! ) 12:17:13 npm ERR! ../src/fibers.cc:680:3: error: ‘Handle’ does not name a type; did you mean ‘rand_r’? 12:17:13 npm ERR! Handle<Value> ReturnYielded() { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! rand_r 12:17:13 npm ERR! ../src/fibers.cc:842:20: error: ‘Handle’ has not been declared 12:17:13 npm ERR! static void Init(Handle<Object> target) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:842:26: error: expected ‘,’ or ‘...’ before ‘<’ token 12:17:13 npm ERR! static void Init(Handle<Object> target) { 12:17:13 npm ERR! ^ 12:17:13 npm ERR! In file included from ../src/fibers.cc:3: 12:17:13 npm ERR! ../src/fibers.cc: In static member function ‘static void Fiber::WeakCallback(void*)’: 12:17:13 npm ERR! ../src/fibers.cc:458:23: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ 12:17:13 npm ERR! assert(that.handle.IsNearDeath()); 12:17:13 npm ERR! ^~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc: In static member function ‘static void Fiber::DestroyOrphans()’: 12:17:13 npm ERR! ../src/fibers.cc:495:22: error: ‘Deref’ is not a member of ‘uni’ 12:17:13 npm ERR! auto stack(uni::Deref(that.isolate, fatal_stack)); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::New(const Arguments&)’: 12:17:13 npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’ 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:517:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::TypeError, "Fiber expects 1 argument"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’ 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^~~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:517:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::TypeError, "Fiber expects 1 argument"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:139: error: return-statement with a value, in function returning ‘uni::FunctionType’ {aka ‘void’} [-fpermissive] 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:517:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::TypeError, "Fiber expects 1 argument"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’ 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:519:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::TypeError, "Fiber expects a function"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’ 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^~~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:519:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::TypeError, "Fiber expects a function"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:139: error: return-statement with a value, in function returning ‘uni::FunctionType’ {aka ‘void’} [-fpermissive] 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:519:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::TypeError, "Fiber expects a function"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:521:5: error: ‘Handle’ was not declared in this scope 12:17:13 npm ERR! Handle<Value> argv[1] = { args[0] }; 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:521:5: note: suggested alternative: ‘handle’ 12:17:13 npm ERR! Handle<Value> argv[1] = { args[0] }; 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! handle 12:17:13 npm ERR! ../src/fibers.cc:521:17: error: expected primary-expression before ‘>’ token 12:17:13 npm ERR! Handle<Value> argv[1] = { args[0] }; 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:521:19: error: ‘argv’ was not declared in this scope 12:17:13 npm ERR! Handle<Value> argv[1] = { args[0] }; 12:17:13 npm ERR! ^~~~ 12:17:13 npm ERR! ../src/fibers.cc:521:19: note: suggested alternative: ‘args’ 12:17:13 npm ERR! Handle<Value> argv[1] = { args[0] }; 12:17:13 npm ERR! ^~~~ 12:17:13 npm ERR! args 12:17:13 npm ERR! ../src/fibers.cc:522:29: error: ‘NewInstance’ is not a member of ‘uni’ 12:17:13 npm ERR! return uni::Return(uni::NewInstance(Isolate::GetCurrent(), uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction(), 1, argv), args); 12:17:13 npm ERR! ^~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:522:69: error: ‘Deref’ is not a member of ‘uni’ 12:17:13 npm ERR! return uni::Return(uni::NewInstance(Isolate::GetCurrent(), uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction(), 1, argv), args); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:522:134: error: return-statement with a value, in function returning ‘uni::FunctionType’ {aka ‘void’} [-fpermissive] 12:17:13 npm ERR! return uni::Return(uni::NewInstance(Isolate::GetCurrent(), uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction(), 1, argv), args); 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:525:4: error: ‘Handle’ was not declared in this scope 12:17:13 npm ERR! Handle<Function> fn = Handle<Function>::Cast(args[0]); 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:525:4: note: suggested alternative: ‘handle’ 12:17:13 npm ERR! Handle<Function> fn = Handle<Function>::Cast(args[0]); 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! handle 12:17:13 npm ERR! ../src/fibers.cc:525:19: error: expected primary-expression before ‘>’ token 12:17:13 npm ERR! Handle<Function> fn = Handle<Function>::Cast(args[0]); 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:525:21: error: ‘fn’ was not declared in this scope 12:17:13 npm ERR! Handle<Function> fn = Handle<Function>::Cast(args[0]); 12:17:13 npm ERR! ^~ 12:17:13 npm ERR! ../src/fibers.cc:525:41: error: expected primary-expression before ‘>’ token 12:17:13 npm ERR! Handle<Function> fn = Handle<Function>::Cast(args[0]); 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:525:44: error: ‘::Cast’ has not been declared 12:17:13 npm ERR! Handle<Function> fn = Handle<Function>::Cast(args[0]); 12:17:13 npm ERR! ^~~~ 12:17:13 npm ERR! ../src/fibers.cc:526:36: error: ‘GetCurrentContext’ is not a member of ‘uni’ 12:17:13 npm ERR! new Fiber(args.This(), fn, uni::GetCurrentContext(Isolate::GetCurrent())); 12:17:13 npm ERR! ^~~~~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:527:40: error: no matching function for call to ‘Return(v8::Local<v8::Object>, const Arguments&)’ 12:17:13 npm ERR! return uni::Return(args.This(), args); 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:184:7: note: candidate: ‘template<class T> void uni::Return(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, uni::GetterCallbackInfo)’ 12:17:13 npm ERR! void Return(Persistent<T>& handle, GetterCallbackInfo info) { 12:17:13 npm ERR! ^~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:184:7: note: template argument deduction/substitution failed: 12:17:13 npm ERR! ../src/fibers.cc:527:40: note: ‘v8::Local<v8::Object>’ is not derived from ‘v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >’ 12:17:13 npm ERR! return uni::Return(args.This(), args); 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:527:40: error: return-statement with a value, in function returning ‘uni::FunctionType’ {aka ‘void’} [-fpermissive] 12:17:13 npm ERR! ../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::Run(const Arguments&)’: 12:17:13 npm ERR! ../src/fibers.cc:535:38: error: no match for call to ‘(Fiber) (v8::Local<v8::Object>)’ 12:17:13 npm ERR! Fiber& that = Unwrap(args.Holder()); 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’ 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:541:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::Error, "This Fiber is already running"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’ 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^~~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:541:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::Error, "This Fiber is already running"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:139: error: return-statement with a value, in function returning ‘uni::FunctionType’ {aka ‘void’} [-fpermissive] 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:541:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::Error, "This Fiber is already running"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’ 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:543:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::TypeError, "run() excepts 1 or no arguments"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:90: error: ‘NewLatin1String’ is not a member of ‘uni’ 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^~~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:543:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::TypeError, "run() excepts 1 or no arguments"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:139: error: return-statement with a value, in function returning ‘uni::FunctionType’ {aka ‘void’} [-fpermissive] 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^ 12:17:13 npm ERR! ../src/fibers.cc:543:5: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::TypeError, "run() excepts 1 or no arguments"); 12:17:13 npm ERR! ^~~~~ 12:17:13 npm ERR! ../src/fibers.cc:10:45: error: ‘ThrowException’ is not a member of ‘uni’ 12:17:13 npm ERR! #define THROW(x, m) return uni::Return(uni::ThrowException(Isolate::GetCurrent(), x(uni::NewLatin1String(Isolate::GetCurrent(), m))), args) 12:17:13 npm ERR! ^~~~~~~~~~~~~~ 12:17:13 npm ERR! ../src/fibers.cc:554:6: note: in expansion of macro ‘THROW’ 12:17:13 npm ERR! THROW(Exception::RangeError, "Out of memory");
Another trial of MobileFrontend on REL1_35
Shows a similar story
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MobileFrontend/+/740130