Untitled
unknown
plain_text
2 years ago
66 kB
18
Indexable
Never
C:\Users\RaiqP\Desktop\Skiplagged>git push heroku master Enumerating objects: 9809, done. Counting objects: 100% (9809/9809), done. Delta compression using up to 16 threads Compressing objects: 100% (7302/7302), done. Writing objects: 100% (9809/9809), 13.05 MiB | 678.00 KiB/s, done. Total 9809 (delta 2161), reused 8283 (delta 2046), pack-reused 0 remote: Compressing source files... done. remote: Building source: remote: remote: -----> Building on the Heroku-20 stack remote: -----> Using buildpacks: remote: 1. https://github.com/timanovsky/subdir-heroku-buildpack.git remote: 2. heroku/nodejs remote: -----> Subdir buildpack app detected remote: -----> Subdir buildpack in backend remote: creating cache: /tmp/codon/tmp/cache remote: created tmp dir: /tmp/codon/tmp/cache/subdirbPHdI remote: moving working dir: backend to /tmp/codon/tmp/cache/subdirbPHdI remote: cleaning build dir /tmp/build_36bd50d4 remote: copying preserved work dir from cache /tmp/codon/tmp/cache/subdirbPHdI to build dir /tmp/build_36bd50d4 remote: cleaning tmp dir /tmp/codon/tmp/cache/subdirbPHdI remote: -----> Node.js app detected remote: remote: -----> Creating runtime environment remote: remote: NPM_CONFIG_LOGLEVEL=error remote: NODE_VERBOSE=false remote: NODE_ENV=production remote: NODE_MODULES_CACHE=true remote: remote: -----> Installing binaries remote: engines.node (package.json): unspecified remote: engines.npm (package.json): 8.5.5 remote: remote: Resolving node version 16.x... remote: Downloading and installing node 16.16.0... remote: Bootstrapping npm 8.5.5 (replacing 8.11.0)... remote: npm 8.5.5 installed remote: remote: -----> Restoring cache remote: Cached directories were not restored due to a change in version of node, npm, yarn or stack remote: Module installation may take longer for this build remote: remote: -----> Installing dependencies remote: Prebuild detected (node_modules already exists) remote: Rebuilding any native modules remote: rebuilt dependencies successfully remote: Installing any new modules (package.json) remote: npm ERR! code 1 remote: npm ERR! path /tmp/build_36bd50d4/node_modules/bcrypt remote: npm ERR! command failed remote: npm ERR! command sh -c node-gyp rebuild remote: npm ERR! make: Entering directory '/tmp/build_36bd50d4/node_modules/bcrypt/build' remote: npm ERR! CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o remote: npm ERR! CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o remote: npm ERR! CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o remote: npm ERR! make: Leaving directory '/tmp/build_36bd50d4/node_modules/bcrypt/build' remote: npm ERR! gyp info it worked if it ends with ok remote: npm ERR! gyp info using node-gyp@9.0.0 remote: npm ERR! gyp info using node@16.16.0 | linux | x64 remote: npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3" remote: npm ERR! gyp http GET https://nodejs.org/download/release/v16.16.0/node-v16.16.0-headers.tar.gz remote: npm ERR! gyp http 200 https://nodejs.org/download/release/v16.16.0/node-v16.16.0-headers.tar.gz remote: npm ERR! gyp http GET https://nodejs.org/download/release/v16.16.0/SHASUMS256.txt remote: npm ERR! gyp http 200 https://nodejs.org/download/release/v16.16.0/SHASUMS256.txt remote: npm ERR! gyp info spawn /usr/bin/python3 remote: npm ERR! gyp info spawn args [ remote: npm ERR! gyp info spawn args '/tmp/build_36bd50d4/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', remote: npm ERR! gyp info spawn args 'binding.gyp', remote: npm ERR! gyp info spawn args '-f', remote: npm ERR! gyp info spawn args 'make', remote: npm ERR! gyp info spawn args '-I', remote: npm ERR! gyp info spawn args '/tmp/build_36bd50d4/node_modules/bcrypt/build/config.gypi', remote: npm ERR! gyp info spawn args '-I', remote: npm ERR! gyp info spawn args '/tmp/build_36bd50d4/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', remote: npm ERR! gyp info spawn args '-I', remote: npm ERR! gyp info spawn args '/app/.cache/node-gyp/16.16.0/include/node/common.gypi', remote: npm ERR! gyp info spawn args '-Dlibrary=shared_library', remote: npm ERR! gyp info spawn args '-Dvisibility=default', remote: npm ERR! gyp info spawn args '-Dnode_root_dir=/app/.cache/node-gyp/16.16.0', remote: npm ERR! gyp info spawn args '-Dnode_gyp_dir=/tmp/build_36bd50d4/.heroku/node/lib/node_modules/npm/node_modules/node-gyp', remote: npm ERR! gyp info spawn args '-Dnode_lib_file=/app/.cache/node-gyp/16.16.0/<(target_arch)/node.lib', remote: npm ERR! gyp info spawn args '-Dmodule_root_dir=/tmp/build_36bd50d4/node_modules/bcrypt', remote: npm ERR! gyp info spawn args '-Dnode_engine=v8', remote: npm ERR! gyp info spawn args '--depth=.', remote: npm ERR! gyp info spawn args '--no-parallel', remote: npm ERR! gyp info spawn args '--generator-output', remote: npm ERR! gyp info spawn args 'build', remote: npm ERR! gyp info spawn args '-Goutput_dir=.' remote: npm ERR! gyp info spawn args ] remote: npm ERR! gyp info spawn make remote: npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] remote: npm ERR! ../src/bcrypt.cc: In function ‘void encode_salt(char*, u_int8_t*, u_int16_t, u_int8_t)’: remote: npm ERR! ../src/bcrypt.cc:139:31: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] remote: npm ERR! 139 | snprintf(salt + 4, 4, "%2.2u$", logr); remote: npm ERR! | ^ remote: npm ERR! In file included from /usr/include/stdio.h:867, remote: npm ERR! from ../src/bcrypt.cc:48: remote: npm ERR! /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 4 and 5 bytes into a destination of size 4 remote: npm ERR! 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, remote: npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote: npm ERR! 68 | __bos (__s), __fmt, __va_arg_pack ()); remote: npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote: npm ERR! ../src/bcrypt.cc: In function ‘void bcrypt(const char*, const char*, char*)’: remote: npm ERR! ../src/bcrypt.cc:270:36: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] remote: npm ERR! 270 | snprintf(encrypted + i, 4, "%2.2u$", logr); remote: npm ERR! | ^ remote: npm ERR! In file included from /usr/include/stdio.h:867, remote: npm ERR! from ../src/bcrypt.cc:48: remote: npm ERR! /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 4 and 5 bytes into a destination of size 4 remote: npm ERR! 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, remote: npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote: npm ERR! 68 | __bos (__s), __fmt, __va_arg_pack ()); remote: npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote: npm ERR! In file included from ../../nan/nan.h:190, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’: remote: npm ERR! ../../nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ remote: npm ERR! 88 | return obj->ForceSet(GetCurrentContext(), key, value, attribs); remote: npm ERR! | ^~~~~~~~ remote: npm ERR! In file included from ../../nan/nan_converters.h:59, remote: npm ERR! from ../../nan/nan.h:195, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’: remote: npm ERR! ../../nan/nan_converters_43_inl.h:15:43: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate* remote: npm ERR! 15 | return val->To ## TYPE(GetCurrentContext()); \ remote: npm ERR! | ~~~~~~~~~~~~~~~~~^~ remote: npm ERR! | | remote: npm ERR! | v8::Local<v8::Context> remote: npm ERR! ../../nan/nan_converters_43_inl.h:18:1: note: in expansion of macro ‘X’ remote: npm ERR! 18 | X(Boolean) remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3086:37: note: initializing argument 1 of ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’ remote: npm ERR! 3086 | Local<Boolean> ToBoolean(Isolate* isolate) const; remote: npm ERR! | ~~~~~~~~~^~~~~~~ remote: npm ERR! In file included from ../../nan/nan_converters.h:59, remote: npm ERR! from ../../nan/nan.h:195, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’: remote: npm ERR! ../../nan/nan_converters_43_inl.h:31:46: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate* remote: npm ERR! 31 | return val->NAME ## Value(GetCurrentContext()); \ remote: npm ERR! | ~~~~~~~~~~~~~~~~~^~ remote: npm ERR! | | remote: npm ERR! | v8::Local<v8::Context> remote: npm ERR! ../../nan/nan_converters_43_inl.h:34:1: note: in expansion of macro ‘X’ remote: npm ERR! 34 | X(bool, Boolean) remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3096:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’ remote: npm ERR! 3096 | bool BooleanValue(Isolate* isolate) const; remote: npm ERR! | ~~~~~~~~~^~~~~~~ remote: npm ERR! In file included from ../../nan/nan_new.h:189, remote: npm ERR! from ../../nan/nan.h:196, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’: remote: npm ERR! ../../nan/nan_implementation_12_inl.h:107:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ remote: npm ERR! 107 | return scope.Escape(v8::Function::New( isolate remote: npm ERR! | ^~~~~~~ remote: npm ERR! | | remote: npm ERR! | v8::Isolate* remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4754:22: note: initializing argument 1 of ‘static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)’ remote: npm ERR! 4754 | Local<Context> context, FunctionCallback callback, remote: npm ERR! | ~~~~~~~~~~~~~~~^~~~~~~ remote: npm ERR! In file included from ../../nan/nan_new.h:189, remote: npm ERR! from ../../nan/nan.h:196, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’: remote: npm ERR! ../../nan/nan_implementation_12_inl.h:345:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’ remote: npm ERR! 345 | return v8::StringObject::New(value).As<v8::StringObject>(); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:6196:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’ remote: npm ERR! 6196 | static Local<Value> New(Isolate* isolate, Local<String> value); remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:6196:23: note: candidate expects 2 arguments, 1 provide remote: npm ERR! In file included from ../../nan/nan_new.h:189, remote: npm ERR! from ../../nan/nan.h:196, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan_implementation_12_inl.h:345:58: error: expected primary-expression before ‘>’ token remote: npm ERR! 345 | return v8::StringObject::New(value).As<v8::StringObject>(); remote: npm ERR! | ^ remote: npm ERR! ../../nan/nan_implementation_12_inl.h:345:60: error: expected primary-expression before ‘)’ token remote: npm ERR! 345 | return v8::StringObject::New(value).As<v8::StringObject>(); remote: npm ERR! | ^ remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’: remote: npm ERR! ../../nan/nan.h:817:60: 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] remote: npm ERR! 817 | v8::Isolate::GetCurrent(), target, func, argc, argv); remote: npm ERR! | ^ remote: npm ERR! In file included from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:184:50: note: declared here remote: npm ERR! 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( remote: npm ERR! | ^~~~~~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ remote: npm ERR! 101 | __attribute__((deprecated(message))) declarator remote: npm ERR! | ^~~~~~~~~~ remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h:817:60: 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] remote: npm ERR! 817 | v8::Isolate::GetCurrent(), target, func, argc, argv); remote: npm ERR! | ^ remote: npm ERR! In file included from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:184:50: note: declared here remote: npm ERR! 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( remote: npm ERR! | ^~~~~~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ remote: npm ERR! 101 | __attribute__((deprecated(message))) declarator remote: npm ERR! | ^~~~~~~~~~ remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’: remote: npm ERR! ../../nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] remote: npm ERR! 831 | v8::Isolate::GetCurrent(), target, symbol, argc, argv); remote: npm ERR! | ^ remote: npm ERR! In file included from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:177:50: note: declared here remote: npm ERR! 177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( remote: npm ERR! | ^~~~~~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ remote: npm ERR! 101 | __attribute__((deprecated(message))) declarator remote: npm ERR! | ^~~~~~~~~~ remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] remote: npm ERR! 831 | v8::Isolate::GetCurrent(), target, symbol, argc, argv); remote: npm ERR! | ^ remote: npm ERR! In file included from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:177:50: note: declared here remote: npm ERR! 177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( remote: npm ERR! | ^~~~~~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ remote: npm ERR! 101 | __attribute__((deprecated(message))) declarator remote: npm ERR! | ^~~~~~~~~~ remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’: remote: npm ERR! ../../nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] remote: npm ERR! 845 | v8::Isolate::GetCurrent(), target, method, argc, argv); remote: npm ERR! | ^ remote: npm ERR! In file included from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:170:50: note: declared here remote: npm ERR! 170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( remote: npm ERR! | ^~~~~~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ remote: npm ERR! 101 | __attribute__((deprecated(message))) declarator remote: npm ERR! | ^~~~~~~~~~ remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] remote: npm ERR! 845 | v8::Isolate::GetCurrent(), target, method, argc, argv); remote: npm ERR! | ^ remote: npm ERR! In file included from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:170:50: note: declared here remote: npm ERR! 170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( remote: npm ERR! | ^~~~~~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ remote: npm ERR! 101 | __attribute__((deprecated(message))) declarator remote: npm ERR! | ^~~~~~~~~~ remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: remote: npm ERR! ../../nan/nan.h:890:53: error: no matching function for call to ‘v8::Value::ToString()’ remote: npm ERR! 890 | v8::Local<v8::String> string = from->ToString(); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ remote: npm ERR! 3048 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( remote: npm ERR! | ^~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h:900:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’ remote: npm ERR! 900 | length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags); remote: npm ERR! | ^~~~ remote: npm ERR! | | remote: npm ERR! | char* remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3277:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ remote: npm ERR! 3277 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, remote: npm ERR! | ~~~~~~~~~^~~~~~~ remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In member function ‘bool Nan::Callback::operator==(const Nan::Callback&) const’: remote: npm ERR! ../../nan/nan.h:1371:61: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’ remote: npm ERR! 1371 | v8::Local<v8::Value> a = New(handle)->Get(kCallbackIndex); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ remote: npm ERR! 4007 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ remote: npm ERR! 4010 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h:1372:67: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’ remote: npm ERR! 1372 | v8::Local<v8::Value> b = New(other.handle)->Get(kCallbackIndex); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ remote: npm ERR! 4007 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ remote: npm ERR! 4010 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In member function ‘v8::Local<v8::Function> Nan::Callback::GetFunction() const’: remote: npm ERR! ../../nan/nan.h:1403:56: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’ remote: npm ERR! 1403 | return scope.Escape(New(handle)->Get(kCallbackIndex) remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ remote: npm ERR! 4007 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ remote: npm ERR! 4010 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h:1404:25: error: expected primary-expression before ‘>’ token remote: npm ERR! 1404 | .As<v8::Function>()); remote: npm ERR! | ^ remote: npm ERR! ../../nan/nan.h:1404:27: error: expected primary-expression before ‘)’ token remote: npm ERR! 1404 | .As<v8::Function>()); remote: npm ERR! | ^ remote: npm ERR! ../../nan/nan.h: In member function ‘bool Nan::Callback::IsEmpty() const’: remote: npm ERR! ../../nan/nan.h:1409:43: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’ remote: npm ERR! 1409 | return New(handle)->Get(kCallbackIndex)->IsUndefined(); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ remote: npm ERR! 4007 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ remote: npm ERR! 4010 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’: remote: npm ERR! ../../nan/nan.h:1447:27: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’ remote: npm ERR! 1447 | Get(kCallbackIndex).As<v8::Function>(); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ remote: npm ERR! 4007 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ remote: npm ERR! 4010 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h:1447:44: error: expected primary-expression before ‘>’ token remote: npm ERR! 1447 | Get(kCallbackIndex).As<v8::Function>(); remote: npm ERR! | ^ remote: npm ERR! ../../nan/nan.h:1447:46: error: expected primary-expression before ‘)’ token remote: npm ERR! 1447 | Get(kCallbackIndex).As<v8::Function>(); remote: npm ERR! | ^ remote: npm ERR! ../../nan/nan.h:1463:5: 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] remote: npm ERR! 1463 | )); remote: npm ERR! | ^ remote: npm ERR! In file included from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:184:50: note: declared here remote: npm ERR! 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( remote: npm ERR! | ^~~~~~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ remote: npm ERR! 101 | __attribute__((deprecated(message))) declarator remote: npm ERR! | ^~~~~~~~~~ remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h:1463:5: 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] remote: npm ERR! 1463 | )); remote: npm ERR! | ^ remote: npm ERR! In file included from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:184:50: note: declared here remote: npm ERR! 184 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( remote: npm ERR! | ^~~~~~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ remote: npm ERR! 101 | __attribute__((deprecated(message))) declarator remote: npm ERR! | ^~~~~~~~~~ remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’: remote: npm ERR! ../../nan/nan.h:1518:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’ remote: npm ERR! 1518 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ remote: npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provide remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ remote: npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’: remote: npm ERR! ../../nan/nan.h:1524:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’ remote: npm ERR! 1524 | New(persistentHandle)->Set(key, value); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ remote: npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provid dremote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ remote: npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’: remote: npm ERR! ../../nan/nan.h:1530:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’ remote: npm ERR! 1530 | New(persistentHandle)->Set(index, value); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ remote: npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provide remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ remote: npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’: remote: npm ERR! ../../nan/nan.h:1536:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>) remote: npm ERR! 1536 | New(persistentHandle)->Get(New(key).ToLocalChecked())); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ remote: npm ERR! 4007 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ remote: npm ERR! 4010 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’: remote: npm ERR! ../../nan/nan.h:1542:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’ remote: npm ERR! 1542 | return scope.Escape(New(persistentHandle)->Get(key)); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ remote: npm ERR! 4007 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ remote: npm ERR! 4010 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’: remote: npm ERR! ../../nan/nan.h:1547:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’ remote: npm ERR! 1547 | return scope.Escape(New(persistentHandle)->Get(index)); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ remote: npm ERR! 4007 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4007:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ remote: npm ERR! 4010 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, remote: npm ERR! | ^~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:4010:43: note: candidate expects 2 arguments, 1 provide remote: npm ERR! In file included from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: remote: npm ERR! ../../nan/nan.h:1706:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] remote: npm ERR! 1706 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) remote: npm ERR! | ^ remote: npm ERR! In file included from /usr/include/c++/9/cassert:44, remote: npm ERR! from /app/.cache/node-gyp/16.16.0/include/node/node_object_wrap.h:26, remote: npm ERR! from ../../nan/nan.h:49, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’: remote: npm ERR! ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ remote: npm ERR! 24 | assert(persistent().IsNearDeath()); remote: npm ERR! | ^~~~~~~~~~~ remote: npm ERR! In file included from ../../nan/nan.h:2192, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’: remote: npm ERR! ../../nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’ remote: npm ERR! 67 | persistent().MarkIndependent(); remote: npm ERR! | ^~~~~~~~~~~~~~~ remote: npm ERR! In file included from /usr/include/c++/9/cassert:44, remote: npm ERR! from /app/.cache/node-gyp/16.16.0/include/node/node_object_wrap.h:26, remote: npm ERR! from ../../nan/nan.h:49, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’: remote: npm ERR! ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ remote: npm ERR! 124 | assert(wrap->handle_.IsNearDeath()); remote: npm ERR! | ^~~~~~~~~~~ remote: npm ERR! ../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Encrypt(Nan::NAN_METHOD_ARGS_TYPE)’: remote: npm ERR! ../src/bcrypt_node.cc:191:44: error: no matching function for call to ‘v8::Value::ToString()’ remote: npm ERR! 191 | Nan::Utf8String data(info[0]->ToString()); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ remote: npm ERR! 3048 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( remote: npm ERR! | ^~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided remote: npm ERR! ../src/bcrypt_node.cc:192:44: error: no matching function for call to ‘v8::Value::ToString()’ remote: npm ERR! 192 | Nan::Utf8String salt(info[1]->ToString()); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ remote: npm ERR! 3048 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( remote: npm ERR! | ^~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided remote: npm ERR! ../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::EncryptSync(Nan::NAN_METHOD_ARGS_TYPE)’: remote: npm ERR! ../src/bcrypt_node.cc:210:44: error: no matching function for call to ‘v8::Value::ToString()’ remote: npm ERR! 210 | Nan::Utf8String data(info[0]->ToString()); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ remote: npm ERR! 3048 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( remote: npm ERR! | ^~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided remote: npm ERR! ../src/bcrypt_node.cc:211:44: error: no matching function for call to ‘v8::Value::ToString()’ remote: npm ERR! 211 | Nan::Utf8String salt(info[1]->ToString()); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ remote: npm ERR! 3048 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( remote: npm ERR! | ^~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided remote: npm ERR! ../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Compare(Nan::NAN_METHOD_ARGS_TYPE)’: remote: npm ERR! ../src/bcrypt_node.cc:290:45: error: no matching function for call to ‘v8::Value::ToString()’ remote: npm ERR! 290 | Nan::Utf8String input(info[0]->ToString()); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ remote: npm ERR! 3048 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( remote: npm ERR! | ^~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided remote: npm ERR! ../src/bcrypt_node.cc:291:49: error: no matching function for call to ‘v8::Value::ToString()’ remote: npm ERR! 291 | Nan::Utf8String encrypted(info[1]->ToString()); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ remote: npm ERR! 3048 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( remote: npm ERR! | ^~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided remote: npm ERR! ../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::CompareSync(Nan::NAN_METHOD_ARGS_TYPE)’: remote: npm ERR! ../src/bcrypt_node.cc:309:42: error: no matching function for call to ‘v8::Value::ToString()’ remote: npm ERR! 309 | Nan::Utf8String pw(info[0]->ToString()); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ remote: npm ERR! 3048 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( remote: npm ERR! | ^~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided remote: npm ERR! ../src/bcrypt_node.cc:310:44: error: no matching function for call to ‘v8::Value::ToString()’ remote: npm ERR! 310 | Nan::Utf8String hash(info[1]->ToString()); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ remote: npm ERR! 3048 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( remote: npm ERR! | ^~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided remote: npm ERR! ../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::GetRounds(Nan::NAN_METHOD_ARGS_TYPE)’: remote: npm ERR! ../src/bcrypt_node.cc:330:44: error: no matching function for call to ‘v8::Value::ToString()’ remote: npm ERR! 330 | Nan::Utf8String hash(info[0]->ToString()); remote: npm ERR! | ^ remote: npm ERR! In file included from /app/.cache/node-gyp/16.16.0/include/node/node.h:63, remote: npm ERR! from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ remote: npm ERR! 3048 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( remote: npm ERR! | ^~~~~~~~ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/v8.h:3048:44: note: candidate expects 1 argument, 0 provided remote: npm ERR! In file included from ../../nan/nan.h:47, remote: npm ERR! from ../src/bcrypt_node.cc:1: remote: npm ERR! ../src/bcrypt_node.cc: At global scope: remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:847:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] remote: npm ERR! 847 | (node::addon_register_func) (regfunc), \ remote: npm ERR! | ^ remote: npm ERR! /app/.cache/node-gyp/16.16.0/include/node/node.h:881:3: note: in expansion of macro ‘NODE_MODULE_X’ remote: npm ERR! 881 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) remote: npm ERR! | ^~~~~~~~~~~~~ remote: npm ERR! ../src/bcrypt_node.cc:353:1: note: in expansion of macro ‘NODE_MODULE’ remote: npm ERR! 353 | NODE_MODULE(bcrypt_lib, init); remote: npm ERR! | ^~~~~~~~~~~ remote: npm ERR! make: *** [bcrypt_lib.target.mk:115: Release/obj.target/bcrypt_lib/src/bcrypt_node.o] Error 1 remote: npm ERR! gyp ERR! build error remote: npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 remote: npm ERR! gyp ERR! stack at ChildProcess.onExit (/tmp/build_36bd50d4/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) remote: npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28) remote: npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) remote: npm ERR! gyp ERR! System Linux 4.4.0-1104-aws remote: npm ERR! gyp ERR! command "/tmp/build_36bd50d4/.heroku/node/bin/node" "/tmp/build_36bd50d4/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" remote: npm ERR! gyp ERR! cwd /tmp/build_36bd50d4/node_modules/bcrypt remote: npm ERR! gyp ERR! node -v v16.16.0 remote: npm ERR! gyp ERR! node-gyp -v v9.0.0 remote: npm ERR! gyp ERR! not ok remote: remote: npm ERR! A complete log of this run can be found in: remote: npm ERR! /tmp/npmcache.afcyB/_logs/2022-08-14T03_04_51_929Z-debug-0.log remote: remote: -----> Build failed remote: remote: We're sorry this build is failing! You can troubleshoot common issues here: remote: https://devcenter.heroku.com/articles/troubleshooting-node-deploys remote: remote: Some possible problems: remote: remote: - node_modules checked into source control remote: https://devcenter.heroku.com/articles/node-best-practices#only-git-the-important-bits remote: remote: - Node version not specified in package.json remote: https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version remote: remote: Love, remote: Heroku remote: remote: ! Push rejected, failed to compile Node.js app. remote: remote: ! Push failed remote: ! remote: ! ## Warning - The same version of this code has already been built: 9e79d11a7b795876cfbe65e1e88b66f65d510d7d remote: ! remote: ! We have detected that you have triggered a build from source code with version 9e79d11a7b795876cfbe65e1e88b66f65d510d7d remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch. remote: ! remote: ! If you are developing on a branch and deploying via git you must run: remote: ! remote: ! git push heroku <branchname>:main remote: ! remote: ! This article goes into details on the behavior: remote: ! https://devcenter.heroku.com/articles/duplicate-build-version remote: remote: Verifying deploy... remote: remote: ! Push rejected to test-api-skiplagged. remote: To https://git.heroku.com/test-api-skiplagged.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/test-api-skiplagged.git'