Running phase: unpackPhase unpacking source archive /nix/store/fxx4qgr3ng9zanad8d8p8zwqr2ifx8v2-source source root is source Running phase: patchPhase Running phase: bunSetInstallCacheDirPhase Using bun root: "/build/source" Running phase: bunPatchPhase patching script interpreter paths in . ./mobile/scripts/build.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/glcp73hgagq2b24i80jlgbvj28vdb6kk-nodejs-24.19.0/bin/node" ./packages/web-cli/bin/aionui-web.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/glcp73hgagq2b24i80jlgbvj28vdb6kk-nodejs-24.19.0/bin/node" ./scripts/pack-web-cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/glcp73hgagq2b24i80jlgbvj28vdb6kk-nodejs-24.19.0/bin/node" ./scripts/smoke-test-install-web.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/byi2zpy2bgcf3dr6y0l8m50rmjj8z7q1-bash-5.3p15/bin/bash" ./scripts/install-web.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/byi2zpy2bgcf3dr6y0l8m50rmjj8z7q1-bash-5.3p15/bin/bash" ./scripts/smoke-test-web-cli.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/byi2zpy2bgcf3dr6y0l8m50rmjj8z7q1-bash-5.3p15/bin/bash" ./scripts/install-ubuntu.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/byi2zpy2bgcf3dr6y0l8m50rmjj8z7q1-bash-5.3p15/bin/bash" ./tests/fixtures/fake-acp-cli/index.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/glcp73hgagq2b24i80jlgbvj28vdb6kk-nodejs-24.19.0/bin/node" Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: bunNodeModulesInstallPhase /build/source /build/source bun install flags: --linker=isolated --ignore-scripts bun install v1.3.13 (bf2e2cec) 📦 Installing [4/1618] + @electron/fuses@1.8.0 + @electron/notarize@3.1.1 + @playwright/test@1.58.2 + @sentry/vite-plugin@5.1.1 + @testing-library/jest-dom@6.9.1 + @testing-library/react@16.3.2 + @testing-library/user-event@14.6.1 + @types/better-sqlite3@7.6.13 + @types/cookie@1.0.0 + @types/cookie-parser@1.4.10 + @types/cors@2.8.19 + @types/express@5.0.6 + @types/html-to-text@9.0.4 + @types/js-yaml@4.0.9 + @types/multer@2.1.0 + @types/node@24.12.0 + @types/qrcode-terminal@0.12.2 + @types/react@19.2.14 + @types/react-dom@19.2.3 + @types/react-syntax-highlighter@15.5.13 + @types/semver@7.7.1 + @types/turndown@5.0.6 + @types/ws@8.18.1 + @types/yauzl@2.10.3 + @vitest/coverage-v8@4.1.0 + builder-util@26.15.0 + cross-env@7.0.3 + dotenv@17.3.1 + electron@37.10.3 + electron-builder@26.15.2 + electron-builder-squirrel-windows@26.15.2 + electron-devtools-installer@4.0.0 + electron-vite@5.0.0 + esbuild@0.25.12 + husky@9.1.7 + jest@30.3.0 + jest-diff@30.3.0 + jsdom@28.1.0 + lint-staged@16.4.0 + oxfmt@0.41.0 + oxlint@1.56.0 + patch-package@8.0.1 + playwright@1.59.1 + ts-morph@28.0.0 + ts-node@10.9.2 + tsx@4.21.0 + typescript@5.9.3 + unocss@66.6.6 + unocss-preset-extra@1.0.0 + vite@6.4.1 + vite-plugin-static-copy@3.3.0 + vitest@4.1.0 + electron-winstaller@5.4.0 + @agentclientprotocol/sdk@0.18.2 + @anthropic-ai/sdk@0.71.2 + @arco-design/web-react@2.66.11 + @aws-sdk/client-bedrock@3.1009.0 + @codemirror/commands@6.10.3 + @codemirror/lang-css@6.3.1 + @codemirror/lang-html@6.4.11 + @codemirror/lang-json@6.0.2 + @codemirror/lang-markdown@6.5.0 + @codemirror/language@6.12.3 + @codemirror/language-data@6.5.2 + @codemirror/search@6.7.0 + @codemirror/state@6.6.0 + @codemirror/view@6.41.0 + @dnd-kit/core@6.3.1 + @dnd-kit/sortable@10.0.0 + @dnd-kit/utilities@3.2.2 + @floating-ui/react@0.27.19 + @google/genai@1.45.0 + @grammyjs/transformer-throttler@1.2.1 + @icon-park/react@1.4.2 + @iconify-json/vscode-icons@1.2.53 + @iconify/react@6.0.2 + @larksuiteoapi/node-sdk@1.59.0 + @lezer/highlight@1.2.3 + @modelcontextprotocol/sdk@1.27.1 + @monaco-editor/react@4.7.0 + @sentry/electron@7.10.0 + @types/bcryptjs@2.4.6 + @types/jsonwebtoken@9.0.10 + @uiw/codemirror-extensions-langs@4.25.8 + @uiw/react-codemirror@4.25.8 + @wecom/aibot-node-sdk@1.0.6 + @xmldom/xmldom@0.9.9 + bcryptjs@2.4.3 + beautiful-mermaid@1.1.3 + better-sqlite3@12.8.0 + buffer@6.0.3 + builder-util-runtime@9.5.1 + classnames@2.5.1 + cookie@1.1.1 + cookie-parser@1.4.7 + cors@2.8.6 + croner@9.1.0 + dayjs@1.11.20 + diff@8.0.3 + diff2html@3.4.56 + dingtalk-stream@2.1.4 + docx@9.6.1 + electron-log@5.4.3 + electron-squirrel-startup@1.0.1 + electron-updater@6.8.3 + eventemitter3@5.0.4 + express@5.2.1 + express-rate-limit@7.5.1 + fix-path@4.0.0 + grammy@1.41.1 + html-to-text@9.0.5 + https-proxy-agent@9.0.0 + i18next@23.16.8 + js-yaml@4.1.1 + jsonrepair@3.13.3 + jsonwebtoken@9.0.3 + jszip@3.10.1 + katex@0.16.38 + mammoth@1.12.0 + mermaid@11.13.0 + multer@2.1.1 + officeparser@5.2.2 + openai@5.23.2 + png-chunk-text@1.0.0 + png-chunks-extract@1.0.0 + postcss@8.5.8 + pptx2json@0.0.10 + process@0.11.10 + qrcode-terminal@0.12.0 + qrcode.react@4.2.0 + react@19.2.4 + react-dom@19.2.4 + react-i18next@14.1.3 + react-markdown@10.1.0 + react-router-dom@7.13.1 + react-syntax-highlighter@16.1.1 + react-virtuoso@4.18.3 + rehype-katex@7.0.1 + rehype-raw@7.0.0 + rehype-sanitize@6.0.0 + remark-breaks@4.0.0 + remark-gfm@4.0.1 + remark-math@6.0.0 + semver@7.7.4 + sharp@0.34.5 + smol-toml@1.6.1 + stream-browserify@3.0.0 + streamdown@1.6.11 + strip-json-comments@3.1.1 + swr@2.4.1 + tiny-csrf@1.1.6 + tree-sitter-bash@0.25.1 + turndown@7.2.2 + turndown-plugin-gfm@1.0.2 + web-tree-sitter@0.25.10 + ws@8.19.0 + xlsx-republish@0.20.3 + yauzl@3.3.0 + zod@3.25.76 3218 packages installed [930.00ms] /build/source Running phase: buildPhase gyp info it worked if it ends with ok gyp info using node-gyp@12.4.0 gyp info using node@24.19.0 | linux | x64 gyp info find Python using Python version 3.14.7 found at "/nix/store/3n4qphl9s728sz8frmpqqrv9b1m87g68-python3-3.14.7/bin/python3" gyp info spawn /nix/store/3n4qphl9s728sz8frmpqqrv9b1m87g68-python3-3.14.7/bin/python3 gyp info spawn args [ gyp info spawn args '/build/source/node_modules/.bun/node-gyp@12.4.0/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/build/source/node_modules/.bun/better-sqlite3@12.8.0/node_modules/better-sqlite3/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/build/source/node_modules/.bun/node-gyp@12.4.0/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers', gyp info spawn args '-Dnode_gyp_dir=/build/source/node_modules/.bun/node-gyp@12.4.0/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/$(Configuration)/node.lib', gyp info spawn args '-Dmodule_root_dir=/build/source/node_modules/.bun/better-sqlite3@12.8.0/node_modules/better-sqlite3', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] make: Entering directory '/build/source/node_modules/.bun/better-sqlite3@12.8.0/node_modules/better-sqlite3/build' TOUCH 4292fa9a667d77b27488aa109b010a85bce8e4e7a1c7aa0370cea902395c3866.intermediate ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 4292fa9a667d77b27488aa109b010a85bce8e4e7a1c7aa0370cea902395c3866.intermediate TOUCH Release/obj.target/deps/locate_sqlite3.stamp CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a` ar crs Release/obj.target/deps/sqlite3.a @Release/obj.target/deps/sqlite3.a.ar-file-list COPY Release/sqlite3.a CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o In file included from /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-handle-base.h:8, from /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-local-handle.h:13, from /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-array-buffer.h:12, from /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8.h:24, from /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/node.h:80, from ../src/better_sqlite3.cpp:11: /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-internal.h:468:1: warning: multi-line comment [-Wcomment] 468 | // / \ | ^ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-internal.h:470:1: warning: multi-line comment [-Wcomment] 470 | // / \ | ^ In file included from /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-function.h:15, from /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8.h:33: /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h: In static member function 'static v8::Intercepted (* v8::NamedPropertyHandlerConfiguration::ConvertSetter(v8::NamedPropertySetterCallback))(v8::Local, v8::Local, const v8::PropertyCallbackInfo&)': /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h:762:12: warning: cast between incompatible function types from 'v8::NamedPropertySetterCallback' {aka 'v8::Intercepted (*)(v8::Local, v8::Local, const v8::PropertyCallbackInfo&)'} to 'v8::NamedPropertySetterCallbackV2' {aka 'v8::Intercepted (*)(v8::Local, v8::Local, const v8::PropertyCallbackInfo&)'} [-Wcast-function-type] 762 | return NamedPropertySetterCallbackV2(value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h: In static member function 'static v8::Intercepted (* v8::NamedPropertyHandlerConfiguration::ConvertDefiner(v8::NamedPropertyDefinerCallback))(v8::Local, const v8::PropertyDescriptor&, const v8::PropertyCallbackInfo&)': /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h:775:12: warning: cast between incompatible function types from 'v8::NamedPropertyDefinerCallback' {aka 'v8::Intercepted (*)(v8::Local, const v8::PropertyDescriptor&, const v8::PropertyCallbackInfo&)'} to 'v8::NamedPropertyDefinerCallbackV2' {aka 'v8::Intercepted (*)(v8::Local, const v8::PropertyDescriptor&, const v8::PropertyCallbackInfo&)'} [-Wcast-function-type] 775 | return NamedPropertyDefinerCallbackV2(value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h: In static member function 'static v8::Intercepted (* v8::IndexedPropertyHandlerConfiguration::ConvertSetter(v8::IndexedPropertySetterCallbackV2))(uint32_t, v8::Local, const v8::PropertyCallbackInfo&)': /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h:893:12: warning: cast between incompatible function types from 'v8::IndexedPropertySetterCallbackV2' {aka 'v8::Intercepted (*)(unsigned int, v8::Local, const v8::PropertyCallbackInfo&)'} to 'v8::IndexedPropertySetterCallback' {aka 'v8::Intercepted (*)(unsigned int, v8::Local, const v8::PropertyCallbackInfo&)'} [-Wcast-function-type] 893 | return IndexedPropertySetterCallback(value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h: In static member function 'static v8::Intercepted (* v8::IndexedPropertyHandlerConfiguration::ConvertDefiner(v8::IndexedPropertyDefinerCallbackV2))(uint32_t, const v8::PropertyDescriptor&, const v8::PropertyCallbackInfo&)': /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h:906:12: warning: cast between incompatible function types from 'v8::IndexedPropertyDefinerCallbackV2' {aka 'v8::Intercepted (*)(unsigned int, const v8::PropertyDescriptor&, const v8::PropertyCallbackInfo&)'} to 'v8::IndexedPropertyDefinerCallback' {aka 'v8::Intercepted (*)(unsigned int, const v8::PropertyDescriptor&, const v8::PropertyCallbackInfo&)'} [-Wcast-function-type] 906 | return IndexedPropertyDefinerCallback(value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/better_sqlite3.cpp:22: ../src/util/helpers.cpp: In function 'void SetPrototypeGetter(v8::Isolate*, v8::Local, v8::Local, const char*, v8::AccessorNameGetterCallback)': ../src/util/helpers.cpp:89:56: error: call of overloaded 'SetNativeDataProperty(v8::Local, void (*&)(v8::Local, const v8::PropertyCallbackInfo&), int, v8::Local&)' is ambiguous 89 | recv->InstanceTemplate()->SetNativeDataProperty( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 90 | InternalizedFromLatin1(isolate, name), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | func, | ~~~~~ 92 | 0, | ~~ 93 | data | ~~~~ 94 | ); | ~ ../src/util/helpers.cpp:89:56: note: there are 3 candidates /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h:104:8: note: candidate 1: 'void v8::Template::SetNativeDataProperty(v8::Local, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallbackV2, v8::Local, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)' 104 | void SetNativeDataProperty( | ^~~~~~~~~~~~~~~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h:111:8: note: candidate 2: 'void v8::Template::SetNativeDataProperty(v8::Local, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)' 111 | void SetNativeDataProperty( | ^~~~~~~~~~~~~~~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-template.h:119:8: note: candidate 3: 'void v8::Template::SetNativeDataProperty(v8::Local, v8::AccessorNameGetterCallback, std::nullptr_t, v8::Local, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)' 119 | void SetNativeDataProperty( | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../src/better_sqlite3.cpp:21: ../src/addon.cpp: In static member function 'static void Addon::JS_setErrorConstructor(const v8::FunctionCallbackInfo&)': ../src/util/macros.cpp:30:76: error: no matching function for call to 'v8::External::Value()' 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/addon.cpp:36:17: note: in expansion of macro 'OnlyAddon' 36 | OnlyAddon->SqliteError.Reset(OnlyIsolate, SqliteError); | ^~~~~~~~~ ../src/util/macros.cpp:30:76: note: there is 1 candidate 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/addon.cpp:36:17: note: in expansion of macro 'OnlyAddon' 36 | OnlyAddon->SqliteError.Reset(OnlyIsolate, SqliteError); | ^~~~~~~~~ In file included from /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8.h:32: /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate 1: 'void* v8::External::Value(v8::ExternalPointerTypeTag) const' 58 | void* Value(ExternalPointerTypeTag tag) const; | ^~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate expects 1 argument, 0 provided ../src/objects/backup.cpp: In static member function 'static void Backup::JS_new(const v8::FunctionCallbackInfo&)': ../src/util/macros.cpp:30:76: error: no matching function for call to 'v8::External::Value()' 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/backup.cpp:46:9: note: in expansion of macro 'UseAddon' 46 | UseAddon; | ^~~~~~~~ ../src/util/macros.cpp:30:76: note: there is 1 candidate 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/backup.cpp:46:9: note: in expansion of macro 'UseAddon' 46 | UseAddon; | ^~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate 1: 'void* v8::External::Value(v8::ExternalPointerTypeTag) const' 58 | void* Value(ExternalPointerTypeTag tag) const; | ^~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate expects 1 argument, 0 provided ../src/objects/statement.cpp: In static member function 'static void Statement::JS_new(const v8::FunctionCallbackInfo&)': ../src/util/macros.cpp:30:76: error: no matching function for call to 'v8::External::Value()' 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/statement.cpp:72:9: note: in expansion of macro 'UseAddon' 72 | UseAddon; | ^~~~~~~~ ../src/util/macros.cpp:30:76: note: there is 1 candidate 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/statement.cpp:72:9: note: in expansion of macro 'UseAddon' 72 | UseAddon; | ^~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate 1: 'void* v8::External::Value(v8::ExternalPointerTypeTag) const' 58 | void* Value(ExternalPointerTypeTag tag) const; | ^~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate expects 1 argument, 0 provided ../src/objects/statement.cpp: In static member function 'static void Statement::JS_iterate(const v8::FunctionCallbackInfo&)': ../src/util/macros.cpp:30:76: error: no matching function for call to 'v8::External::Value()' 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/statement.cpp:229:9: note: in expansion of macro 'UseAddon' 229 | UseAddon; | ^~~~~~~~ ../src/util/macros.cpp:30:76: note: there is 1 candidate 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/statement.cpp:229:9: note: in expansion of macro 'UseAddon' 229 | UseAddon; | ^~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate 1: 'void* v8::External::Value(v8::ExternalPointerTypeTag) const' 58 | void* Value(ExternalPointerTypeTag tag) const; | ^~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate expects 1 argument, 0 provided ../src/objects/database.cpp: In static member function 'static void Database::JS_new(const v8::FunctionCallbackInfo&)': ../src/util/macros.cpp:30:76: error: no matching function for call to 'v8::External::Value()' 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/database.cpp:155:9: note: in expansion of macro 'UseAddon' 155 | UseAddon; | ^~~~~~~~ ../src/util/macros.cpp:30:76: note: there is 1 candidate 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/database.cpp:155:9: note: in expansion of macro 'UseAddon' 155 | UseAddon; | ^~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate 1: 'void* v8::External::Value(v8::ExternalPointerTypeTag) const' 58 | void* Value(ExternalPointerTypeTag tag) const; | ^~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate expects 1 argument, 0 provided ../src/objects/database.cpp: In static member function 'static void Database::JS_prepare(const v8::FunctionCallbackInfo&)': ../src/util/macros.cpp:30:76: error: no matching function for call to 'v8::External::Value()' 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/database.cpp:203:9: note: in expansion of macro 'UseAddon' 203 | UseAddon; | ^~~~~~~~ ../src/util/macros.cpp:30:76: note: there is 1 candidate 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/database.cpp:203:9: note: in expansion of macro 'UseAddon' 203 | UseAddon; | ^~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate 1: 'void* v8::External::Value(v8::ExternalPointerTypeTag) const' 58 | void* Value(ExternalPointerTypeTag tag) const; | ^~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate expects 1 argument, 0 provided ../src/objects/database.cpp: In static member function 'static void Database::JS_backup(const v8::FunctionCallbackInfo&)': ../src/util/macros.cpp:30:76: error: no matching function for call to 'v8::External::Value()' 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/database.cpp:261:9: note: in expansion of macro 'UseAddon' 261 | UseAddon; | ^~~~~~~~ ../src/util/macros.cpp:30:76: note: there is 1 candidate 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/database.cpp:261:9: note: in expansion of macro 'UseAddon' 261 | UseAddon; | ^~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate 1: 'void* v8::External::Value(v8::ExternalPointerTypeTag) const' 58 | void* Value(ExternalPointerTypeTag tag) const; | ^~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate expects 1 argument, 0 provided ../src/objects/statement-iterator.cpp: In static member function 'static void StatementIterator::JS_new(const v8::FunctionCallbackInfo&)': ../src/util/macros.cpp:30:76: error: no matching function for call to 'v8::External::Value()' 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/statement-iterator.cpp:79:9: note: in expansion of macro 'UseAddon' 79 | UseAddon; | ^~~~~~~~ ../src/util/macros.cpp:30:76: note: there is 1 candidate 30 | #define OnlyAddon static_cast(info.Data().As()->Value()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/util/macros.cpp:33:33: note: in expansion of macro 'OnlyAddon' 33 | #define UseAddon Addon* addon = OnlyAddon | ^~~~~~~~~ ../src/objects/statement-iterator.cpp:79:9: note: in expansion of macro 'UseAddon' 79 | UseAddon; | ^~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate 1: 'void* v8::External::Value(v8::ExternalPointerTypeTag) const' 58 | void* Value(ExternalPointerTypeTag tag) const; | ^~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:58:9: note: candidate expects 1 argument, 0 provided ../src/better_sqlite3.cpp: At global scope: /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/node.h:1400:7: warning: cast between incompatible function types from 'void (*)(v8::Local, v8::Local, v8::Local)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local, v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1400 | (node::addon_context_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/node.h:1418:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X' 1418 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/node.h:1449:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE' 1449 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/better_sqlite3.cpp:48:1: note: in expansion of macro 'NODE_MODULE_INIT' 48 | NODE_MODULE_INIT(/* exports, context */) { | ^~~~~~~~~~~~~~~~ ../src/better_sqlite3.cpp: In function 'void node_register_module_v148(v8::Local, v8::Local, v8::Local)': ../src/better_sqlite3.cpp:60:57: error: no matching function for call to 'v8::External::New(v8::Isolate*&, Addon*&)' 60 | v8::Local data = v8::External::New(isolate, addon); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../src/better_sqlite3.cpp:60:57: note: there is 1 candidate /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:41:26: note: candidate 1: 'static v8::Local v8::External::New(v8::Isolate*, void*, v8::ExternalPointerTypeTag)' 41 | static Local New(Isolate* isolate, void* value, | ^~~ /nix/store/3rg01hzvd1gngfjfcz9l3cvzv13g9dcc-electron-unwrapped-43.4.1-headers/include/node/v8-external.h:41:26: note: candidate expects 3 arguments, 2 provided In file included from ../src/better_sqlite3.cpp:26: ../src/util/data.cpp: In function 'v8::Local Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)': ../src/util/data.cpp:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | if (safe_ints) { \ | ^~ ../src/util/data.cpp:73:17: note: in expansion of macro 'SQLITE_VALUE_TO_JS' 73 | SQLITE_VALUE_TO_JS(column, isolate, safe_ints, handle, column); | ^~~~~~~~~~~~~~~~~~ ../src/util/data.cpp:42:9: note: here 42 | case SQLITE_FLOAT: \ | ^~~~ ../src/util/data.cpp:73:17: note: in expansion of macro 'SQLITE_VALUE_TO_JS' 73 | SQLITE_VALUE_TO_JS(column, isolate, safe_ints, handle, column); | ^~~~~~~~~~~~~~~~~~ ../src/util/data.cpp: In function 'v8::Local Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)': ../src/util/data.cpp:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | if (safe_ints) { \ | ^~ ../src/util/data.cpp:77:17: note: in expansion of macro 'SQLITE_VALUE_TO_JS' 77 | SQLITE_VALUE_TO_JS(value, isolate, safe_ints, value); | ^~~~~~~~~~~~~~~~~~ ../src/util/data.cpp:42:9: note: here 42 | case SQLITE_FLOAT: \ | ^~~~ ../src/util/data.cpp:77:17: note: in expansion of macro 'SQLITE_VALUE_TO_JS' 77 | SQLITE_VALUE_TO_JS(value, isolate, safe_ints, value); | ^~~~~~~~~~~~~~~~~~ make: *** [better_sqlite3.target.mk:138: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1 rm 4292fa9a667d77b27488aa109b010a85bce8e4e7a1c7aa0370cea902395c3866.intermediate make: Leaving directory '/build/source/node_modules/.bun/better-sqlite3@12.8.0/node_modules/better-sqlite3/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess. (/build/source/node_modules/.bun/node-gyp@12.4.0/node_modules/node-gyp/lib/build.js:219:23) gyp ERR! System Linux 6.18.28 gyp ERR! command "/nix/store/bfqsxlviikq7vlp36kasy5hhamlxlkd2-nodejs-slim-24.19.0/bin/node" "/build/source/node_modules/.bun/node-gyp@12.4.0/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release" gyp ERR! cwd /build/source/node_modules/.bun/better-sqlite3@12.8.0/node_modules/better-sqlite3 gyp ERR! node -v v24.19.0 gyp ERR! node-gyp -v v12.4.0 gyp ERR! not ok