WiseLibs / better-sqlite3

The fastest and simplest library for SQLite3 in Node.js.
MIT License
5.46k stars 396 forks source link

can't install on repl.it #1010

Closed arch-herobrine closed 1 year ago

arch-herobrine commented 1 year ago
npm ERR! code 1
npm ERR! path /home/runner/QuizzicalCaringTechnicians/node_modules/better-sqlite3-sqlcipher
npm ERR! command failed
npm ERR! command sh -c -- node-gyp rebuild
npm ERR! make: Entering directory '/home/runner/QuizzicalCaringTechnicians/node_modules/better-sqlite3-sqlcipher/build'
npm ERR!   TOUCH 679fd185228c651e846081f86377ed87cb847800.intermediate
npm ERR!   ACTION deps_sqlite3_gyp_locate_sqlite3_target_symlink_sqlite3 679fd185228c651e846081f86377ed87cb847800.intermediate
npm ERR!   TOUCH Release/obj.target/deps/locate_sqlite3.stamp
npm ERR!   CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
npm ERR!   AR(target) Release/obj.target/deps/sqlite3.a
npm ERR!   COPY Release/sqlite3.a
npm ERR!   CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
npm ERR! rm 679fd185228c651e846081f86377ed87cb847800.intermediate
npm ERR! make: Leaving directory '/home/runner/QuizzicalCaringTechnicians/node_modules/better-sqlite3-sqlcipher/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.1.0
npm ERR! gyp info using node@18.12.1 | linux | x64
npm ERR! gyp info find Python using Python version 3.10.8 found at "/nix/store/36aw9jkjgl0qwnvm4jz5rj1vwldb9h14-qtile-0.22.1/bin/python3.10"
npm ERR! gyp http GET https://nodejs.org/download/release/v18.12.1/node-v18.12.1-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v18.12.1/node-v18.12.1-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v18.12.1/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v18.12.1/SHASUMS256.txt
npm ERR! gyp info spawn /nix/store/36aw9jkjgl0qwnvm4jz5rj1vwldb9h14-qtile-0.22.1/bin/python3.10
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/nix/store/dj805sw07vvpbxx39c8g67x8qddg0ikw-nodejs-18.12.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/runner/QuizzicalCaringTechnicians/node_modules/better-sqlite3-sqlcipher/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/nix/store/dj805sw07vvpbxx39c8g67x8qddg0ikw-nodejs-18.12.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/runner/.cache/node-gyp/18.12.1/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/runner/.cache/node-gyp/18.12.1',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/nix/store/dj805sw07vvpbxx39c8g67x8qddg0ikw-nodejs-18.12.1/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/runner/.cache/node-gyp/18.12.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/runner/QuizzicalCaringTechnicians/node_modules/better-sqlite3-sqlcipher',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlcipher_openssl_hmac’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:23855:3: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 23855 |   hctx = HMAC_CTX_new();
npm ERR!       |   ^~~~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:23677:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/openssl/hmac.h:33:33: note: declared here
npm ERR!    33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
npm ERR!       |                                 ^~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:23860:7: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 23860 |       if(!HMAC_Init_ex(hctx, hmac_key, key_sz, EVP_sha1(), NULL)) goto error;
npm ERR!       |       ^~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:23677:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/openssl/hmac.h:43:27: note: declared here
npm ERR!    43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
npm ERR!       |                           ^~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:23863:7: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 23863 |       if(!HMAC_Init_ex(hctx, hmac_key, key_sz, EVP_sha256(), NULL)) goto error;
npm ERR!       |       ^~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:23677:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/openssl/hmac.h:43:27: note: declared here
npm ERR!    43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
npm ERR!       |                           ^~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:23866:7: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 23866 |       if(!HMAC_Init_ex(hctx, hmac_key, key_sz, EVP_sha512(), NULL)) goto error;
npm ERR!       |       ^~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:23677:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/openssl/hmac.h:43:27: note: declared here
npm ERR!    43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
npm ERR!       |                           ^~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:23872:3: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 23872 |   if(!HMAC_Update(hctx, in, in_sz)) goto error;
npm ERR!       |   ^~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:23677:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/openssl/hmac.h:45:27: note: declared here
npm ERR!    45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
npm ERR!       |                           ^~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:23874:5: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 23874 |     if(!HMAC_Update(hctx, in2, in2_sz)) goto error;
npm ERR!       |     ^~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:23677:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/openssl/hmac.h:45:27: note: declared here
npm ERR!    45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
npm ERR!       |                           ^~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:23876:3: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 23876 |   if(!HMAC_Final(hctx, out, &outlen)) goto error;
npm ERR!       |   ^~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:23677:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/openssl/hmac.h:47:27: note: declared here
npm ERR!    47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
npm ERR!       |                           ^~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:23882:3: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
npm ERR! 23882 |   if(hctx) HMAC_CTX_free(hctx);
npm ERR!       |   ^~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:23677:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/openssl/hmac.h:35:28: note: declared here
npm ERR!    35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
npm ERR!       |                            ^~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘strftimeFunc’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14123:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14123 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:26677:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 26677 |                       z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
npm ERR!       |                                                    ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14123:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14123 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:34979:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 34979 |     sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
npm ERR!       |                                                      ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14123:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14123 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:79305:19: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 79305 |   }else if( xDel==SQLITE_DYNAMIC ){
npm ERR!       |                   ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘valueFromExpr’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14123:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14123 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:79713:55: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 79713 |       sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
npm ERR!       |                                                       ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14123:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14123 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:79756:29: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 79756 |                          0, SQLITE_DYNAMIC);
npm ERR!       |                             ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3DefaultRowEst’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:114241:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
npm ERR! 114241 |   if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10;  assert( 10==sqlite3LogEst(2) );
npm ERR!        |   ^~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:13642:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:114241:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
npm ERR! 114241 |   if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10;  assert( 10==sqlite3LogEst(2) );
npm ERR!        |                                             ^~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:114242:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
npm ERR! 114242 |   if( a[0]<33 ) a[0] = 33;                  assert( 33==sqlite3LogEst(10) );
npm ERR!        |   ^~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:13642:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:114242:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
npm ERR! 114242 |   if( a[0]<33 ) a[0] = 33;                  assert( 33==sqlite3LogEst(10) );
npm ERR!        |                                             ^~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘printfFunc’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14123:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14123 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:116987:25: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 116987 |                         SQLITE_DYNAMIC);
npm ERR!        |                         ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘generateColumnNames’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14123:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14123 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:130258:58: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 130258 |         sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
npm ERR!        |                                                          ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:14123:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
npm ERR! 14123 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
npm ERR!       |                           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:130265:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
npm ERR! 130265 |       sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
npm ERR!        |                                                    ^~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘whereRangeScanEst’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:145296:11: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
npm ERR! 145296 |           if( iLwrIdx==iUprIdx ) nNew -= 20;  assert( 20==sqlite3LogEst(4) );
npm ERR!        |           ^~
npm ERR! In file included from Release/obj/gen/sqlite3/sqlite3.c:13642:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:145296:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
npm ERR! 145296 |           if( iLwrIdx==iUprIdx ) nNew -= 20;  assert( 20==sqlite3LogEst(4) );
npm ERR!        |                                               ^~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3InvokeBusyHandler’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:159318:12: warning: cast between incompatible function types from ‘int (*)(void *, int)’ to ‘int (*)(void *, int,  sqlite3_file *)’ [-Wcast-function-type]
npm ERR! 159318 |     xTra = (int(*)(void*,int,sqlite3_file*))p->xBusyHandler;
npm ERR!        |            ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3_busy_timeout’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:159396:30: warning: cast between incompatible function types from ‘int (*)(void *, int,  sqlite3_file *)’ to ‘int (*)(void *, int)’ [-Wcast-function-type]
npm ERR! 159396 |     sqlite3_busy_handler(db, (int(*)(void*,int))sqliteDefaultBusyCallback,
npm ERR!        |                              ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3Codec’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:21376:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 21376 |       cctx = CIPHER_WRITE_CTX;
npm ERR!       |            ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:21378:5: note: here
npm ERR! 21378 |     case CODEC_JOURNAL_OP: /* encrypt journal page, operate on read context use to get the original page data from the database */
npm ERR!       |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3_db_status’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:25500:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 25500 |       op = SQLITE_DBSTATUS_CACHE_WRITE+1;
npm ERR!       |       ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:25502:5: note: here
npm ERR! 25502 |     case SQLITE_DBSTATUS_CACHE_HIT:
npm ERR!       |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3_str_vappendf’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:32256:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 32256 |         flag_long = sizeof(char*)==sizeof(i64) ? 2 :
npm ERR!       |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! 32257 |                      sizeof(char*)==sizeof(long int) ? 1 : 0;
npm ERR!       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:32259:7: note: here
npm ERR! 32259 |       case etORDINAL:
npm ERR!       |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:32261:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 32261 |         cThousand = 0;
npm ERR!       |         ~~~~~~~~~~^~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:32263:7: note: here
npm ERR! 32263 |       case etDECIMAL:
npm ERR!       |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3GetToken’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:156899:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 156899 |       if( !sqlite3Isdigit(z[1]) )
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:156908:5: note: here
npm ERR! 156908 |     case CC_DIGIT: {
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:156998:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 156998 |       if( z[1]=='\'' ){
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:157012:5: note: here
npm ERR! 157012 |     case CC_ID: {
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3ExprCodeTarget’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:104108:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 104108 |     case TK_AGG_COLUMN: {
npm ERR!        |                         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:104121:5: note: here
npm ERR! 104121 |     case TK_COLUMN: {
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘resolveP2Values’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:80857:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 80857 |           if( pOp->p2!=0 ) p->readOnly = 0;
npm ERR!       |             ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:80860:9: note: here
npm ERR! 80860 |         case OP_AutoCommit:
npm ERR!       |         ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:80898:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 80898 |         case OP_VFilter: {
npm ERR!       |                          ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:80907:9: note: here
npm ERR! 80907 |         default: {
npm ERR!       |         ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘resolveExprStep’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:99808:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 99808 |     case TK_ISNOT: {
npm ERR!       |                    ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:99824:5: note: here
npm ERR! 99824 |     case TK_BETWEEN:
npm ERR!       |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘impliesNotNullRow’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:105654:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 105653 |       if( (pExpr->pLeft->op==TK_COLUMN && IsVirtual(pExpr->pLeft->y.pTab))
npm ERR!        |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! 105654 |        || (pExpr->pRight->op==TK_COLUMN && IsVirtual(pExpr->pRight->y.pTab))
npm ERR!        |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:105658:5: note: here
npm ERR! 105658 |     default:
npm ERR!        |     ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘fkActionTrigger’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:120106:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 120106 |         if( !pChanges ){
npm ERR!        |           ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:120110:7: note: here
npm ERR! 120110 |       default:
npm ERR!        |       ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3GenerateConstraintChecks’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:121565:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 121565 |         onError = OE_Abort;
npm ERR!        |                 ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:121569:7: note: here
npm ERR! 121569 |       case OE_Abort:
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:121727:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 121727 |         onError = OE_Abort;
npm ERR!        |                 ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:121730:7: note: here
npm ERR! 121730 |       case OE_Rollback:
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:121790:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 121790 |         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, 0, iDataCur);
npm ERR!        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:121794:7: note: here
npm ERR! 121794 |       case OE_Ignore: {
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:122004:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 122004 |         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, pIdx, iIdxCur+ix);
npm ERR!        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:122008:7: note: here
npm ERR! 122008 |       case OE_Ignore: {
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3VdbeExec’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:88318:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 88318 |   if( (pIn3->flags & MEM_Null)==0 ) break;
npm ERR!       |     ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:88352:1: note: here
npm ERR! 88352 | case OP_Halt: {
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:88485:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 88485 |   if( pOp->p1>db->aLimit[SQLITE_LIMIT_LENGTH] ){
npm ERR!       |     ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:88504:1: note: here
npm ERR! 88504 | case OP_String: {          /* out2 */
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:91568:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 91568 | case OP_IfNoHope: {     /* jump, in3 */
npm ERR!       |                   ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:91576:1: note: here
npm ERR! 91576 | case OP_NoConflict:     /* jump, in3 */
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:92492:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 92492 |   p->aCounter[SQLITE_STMTSTATUS_SORT]++;
npm ERR!       |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:92511:1: note: here
npm ERR! 92511 | case OP_Rewind: {        /* jump */
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:93810:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 93810 |   pOp->opcode = OP_AggStep1;
npm ERR!       |               ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:93813:1: note: here
npm ERR! 93813 | case OP_AggStep1: {
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:94681:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 94681 |   pOp->opcode += 2;
npm ERR!       |   ~~~~~~~~~~~~^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:94684:1: note: here
npm ERR! 94684 | case OP_PureFunc:              /* group */
npm ERR!       | ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘fts3SnippetFunc’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:167013:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 167013 |     case 6: nToken = sqlite3_value_int(apVal[5]);
npm ERR!        |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:167014:5: note: here
npm ERR! 167014 |     case 5: iCol = sqlite3_value_int(apVal[4]);
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:167014:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 167014 |     case 5: iCol = sqlite3_value_int(apVal[4]);
npm ERR!        |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:167015:5: note: here
npm ERR! 167015 |     case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:167015:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 167015 |     case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
npm ERR!        |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:167016:5: note: here
npm ERR! 167016 |     case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:167016:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 167016 |     case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
npm ERR!        |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:167017:5: note: here
npm ERR! 167017 |     case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘fts3ColumnMethod’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:166770:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 166770 |         iCol = p->nColumn;
npm ERR!        |         ~~~~~^~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:166774:5: note: here
npm ERR! 166774 |     default:
npm ERR!        |     ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘cellArea’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186250:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 186250 |       case 5:  area  = p->aCoord[9].f - p->aCoord[8].f;
npm ERR!        |                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186251:7: note: here
npm ERR! 186251 |       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186251:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 186251 |       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186252:7: note: here
npm ERR! 186252 |       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186252:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 186252 |       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186253:7: note: here
npm ERR! 186253 |       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186253:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 186253 |       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186254:7: note: here
npm ERR! 186254 |       default: area *= p->aCoord[1].f - p->aCoord[0].f;
npm ERR!        |       ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186260:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 186260 |       case 5:  area  = (i64)p->aCoord[9].i - (i64)p->aCoord[8].i;
npm ERR!        |                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186261:7: note: here
npm ERR! 186261 |       case 4:  area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186261:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 186261 |       case 4:  area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186262:7: note: here
npm ERR! 186262 |       case 3:  area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186262:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 186262 |       case 3:  area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186263:7: note: here
npm ERR! 186263 |       case 2:  area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186263:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 186263 |       case 2:  area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
npm ERR!        |                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:186264:7: note: here
npm ERR! 186264 |       default: area *= (i64)p->aCoord[1].i - (i64)p->aCoord[0].i;
npm ERR!        |       ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘rtreeCallbackConstraint’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185432:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 185432 |                 readCoord(pCellData+32, &c); aCoord[8] = c.f;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185433:7: note: here
npm ERR! 185433 |       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185434:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 185434 |                 readCoord(pCellData+24, &c); aCoord[6] = c.f;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185435:7: note: here
npm ERR! 185435 |       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185436:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 185436 |                 readCoord(pCellData+16, &c); aCoord[4] = c.f;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185437:7: note: here
npm ERR! 185437 |       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.f;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185438:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 185438 |                 readCoord(pCellData+8,  &c); aCoord[2] = c.f;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185439:7: note: here
npm ERR! 185439 |       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.f;
npm ERR!        |       ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185447:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 185447 |                 readCoord(pCellData+32, &c); aCoord[8] = c.i;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185448:7: note: here
npm ERR! 185448 |       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185449:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 185449 |                 readCoord(pCellData+24, &c); aCoord[6] = c.i;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185450:7: note: here
npm ERR! 185450 |       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185451:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 185451 |                 readCoord(pCellData+16, &c); aCoord[4] = c.i;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185452:7: note: here
npm ERR! 185452 |       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.i;
npm ERR!        |       ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185453:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 185453 |                 readCoord(pCellData+8,  &c); aCoord[2] = c.i;
npm ERR!        |                                              ~~~~~~~~~~^~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185454:7: note: here
npm ERR! 185454 |       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.i;
npm ERR!        |       ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘rtreeNonleafConstraint’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185506:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 185506 |       if( p->op!=RTREE_EQ ) break;  /* RTREE_LE and RTREE_LT end here */
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:185509:5: note: here
npm ERR! 185509 |     default: /* RTREE_GT or RTREE_GE,  or fallthrough of RTREE_EQ */
npm ERR!        |     ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘jsonRenderNode’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182172:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 182172 |       if( pNode->jnFlags & JNODE_RAW ){
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182178:5: note: here
npm ERR! 182178 |     case JSON_REAL:
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘jsonReturn’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182286:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 182286 |       int_as_real: /* fall through to real */;
npm ERR!        |       ^~~~~~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:182288:5: note: here
npm ERR! 182288 |     case JSON_REAL: {
npm ERR!        |     ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘jsonEachColumn’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183930:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 183930 |       if( p->bRecursive ){
npm ERR!        |         ^
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:183940:5: note: here
npm ERR! 183940 |     default: {
npm ERR!        |     ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c: In function ‘sqlite3SelectNew’:
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:128543:10: warning: function may return address of local variable [-Wreturn-local-addr]
npm ERR! 128543 |   return pNew;
npm ERR!        |          ^~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:128503:10: note: declared here
npm ERR! 128503 |   Select standin;
npm ERR!        |          ^~~~~~~
npm ERR! Release/obj/gen/sqlite3/sqlite3.c:128503:10: note: declared here
npm ERR! In file included from /nix/store/4pqv2mwdn88h7xvsm7a5zplrd8sxzvw0-glibc-2.35-163-dev/include/string.h:535,
npm ERR!                  from Release/obj/gen/sqlite3/sqlite3.c:13641:
npm ERR! In function ‘memcpy’,
npm ERR!     inlined from ‘sqlite3Fts5IndexQuery’ at Release/obj/gen/sqlite3/sqlite3.c:217279:18:
npm ERR! /nix/store/4pqv2mwdn88h7xvsm7a5zplrd8sxzvw0-glibc-2.35-163-dev/include/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
npm ERR!    29 |   return __builtin___memcpy_chk (__dest, __src, __len,
npm ERR!       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR!    30 |                                  __glibc_objsize0 (__dest));
npm ERR!       |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from ../src/better_sqlite3.cpp:4:
npm ERR! ./src/util/macros.lzz: In function ‘void NODE_SET_PROTOTYPE_GETTER(v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)’:
npm ERR! ./src/util/macros.lzz:130:46: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
npm ERR! In file included from /home/runner/.cache/node-gyp/18.12.1/include/node/v8-function.h:15,
npm ERR!                  from /home/runner/.cache/node-gyp/18.12.1/include/node/v8.h:33,
npm ERR!                  from /home/runner/.cache/node-gyp/18.12.1/include/node/node.h:73,
npm ERR!                  from ./src/better_sqlite3.lzz:10,
npm ERR!                  from ../src/better_sqlite3.cpp:4:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/v8-template.h:831:8: note: declared here
npm ERR!   831 |   void SetAccessor(
npm ERR!       |        ^~~~~~~~~~~
npm ERR! In file included from ./src/better_sqlite3.lzz:10,
npm ERR!                  from ../src/better_sqlite3.cpp:4:
npm ERR! ./src/better_sqlite3.lzz: At global scope:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/node.h:976:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
npm ERR!   976 |       (node::addon_register_func) (regfunc),                          \
npm ERR!       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/node.h:1010:3: note: in expansion of macro ‘NODE_MODULE_X’
npm ERR!  1010 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
npm ERR!       |   ^~~~~~~~~~~~~
npm ERR! ./src/better_sqlite3.lzz:15:1: note: in expansion of macro ‘NODE_MODULE’
npm ERR! ./src/objects/database.lzz: In static member function ‘static void Database::Init(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Object>)’:
npm ERR! ./src/objects/database.lzz:129:40: error: cannot convert ‘void (*)(void*)’ to ‘node::Environment*’
npm ERR! In file included from ./src/better_sqlite3.lzz:10,
npm ERR!                  from ../src/better_sqlite3.cpp:4:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/node.h:1068:38: note:   initializing argument 1 of ‘void node::AtExit(node::Environment*, void (*)(void*), void*)’
npm ERR!  1068 | NODE_EXTERN void AtExit(Environment* env,
npm ERR!       |                         ~~~~~~~~~~~~~^~~
npm ERR! ./src/util/binder.lzz: In static member function ‘static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)’:
npm ERR! ./src/util/binder.lzz:36:66: warning: ‘v8::Local<v8::Context> v8::Object::CreationContext()’ is deprecated: Use MaybeLocal<Context> GetCreationContext() [-Wdeprecated-declarations]
npm ERR! In file included from /home/runner/.cache/node-gyp/18.12.1/include/node/v8-array-buffer.h:13,
npm ERR!                  from /home/runner/.cache/node-gyp/18.12.1/include/node/v8.h:24,
npm ERR!                  from /home/runner/.cache/node-gyp/18.12.1/include/node/node.h:73,
npm ERR!                  from ./src/better_sqlite3.lzz:10,
npm ERR!                  from ../src/better_sqlite3.cpp:4:
npm ERR! /home/runner/.cache/node-gyp/18.12.1/include/node/v8-object.h:598:18: note: declared here
npm ERR!   598 |   Local<Context> CreationContext();
npm ERR!       |                  ^~~~~~~~~~~~~~~
npm ERR! make: *** [better_sqlite3.target.mk:121: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/nix/store/dj805sw07vvpbxx39c8g67x8qddg0ikw-nodejs-18.12.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 5.19.0-1022-gcp
npm ERR! gyp ERR! command "/nix/store/dj805sw07vvpbxx39c8g67x8qddg0ikw-nodejs-18.12.1/bin/node" "/nix/store/dj805sw07vvpbxx39c8g67x8qddg0ikw-nodejs-18.12.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/runner/QuizzicalCaringTechnicians/node_modules/better-sqlite3-sqlcipher
npm ERR! gyp ERR! node -v v18.12.1
npm ERR! gyp ERR! node-gyp -v v9.1.0
npm ERR! gyp ERR! not ok
Prinzhorn commented 1 year ago

The correct repo is here https://github.com/zoubingwu/better-sqlite3-sqlcipher I assume this is because better-sqlite3-sqlcipher is extremely outdated. This doesn't appear to be an issue with better-sqlite3 unless this happens with the latest better-sqlite3 as well.

mceachen commented 1 year ago

@Prinzhorn is correct--please open an issue on the correct project.