Code Monkey home page Code Monkey logo

zigbee2mqtt-adapter's Introduction

Zigbee2Mqtt Adapter

This adapter for both the Candle Controller and WebThings Gateway allows to use awesome zigbee2mqtt project to support lots of zigbee devices. It's currently tested with the Conbee2 Zigbee USB stick and the (cheaper but more bulky) Sonoff USB stick.

This addon uses the "exposes" feature of Zigbee2MQTT, so in theory it supports all the devices that Zigbee2MQTT supports. You can find the list of supported devices here:

https://www.zigbee2mqtt.io/information/supported_devices.html

Note that the latest available version on the Webthings Gateway is very old (0.6.5), while the version of the addon available on the Candle Controller is much newer, with more advanced features.

Zigbee2Mqtt addon screenshot

Installation

You can install this addon from the Candle App Store, although it comes pre-installed on the Candle disk image for the Raspberry Pi. Whenever it is freshly installed it will need 30 minutes to finalise the installation (by in turn downloading and installing the latest version of Zigbbee2MQTT). Please give it some time.

Alternatively, you can install it manually:

Download the addon git clone --depth=1 https://github.com/kabbi/zigbee2mqtt-adapter ~/.webthings/addons/zigbee2mqtt-adapter

Go to the addon folder cd ~/.webthings/addons/zigbee2mqtt-adapter

Get the addon to download the software it depends on npm install

Optional: combine the now complete software into a package npm pack

Then, reboot the WebThings gateway.

Troubleshooting

"Resource temporarily unavailable Cannot lock port" means that something else is using your USB stick. Make sure you disable the other Zigbee addon.

"Cannot find module". We're not sure what causes this yet, but make sure you give the addon at least 30 minutes to install itself.

Before a manual installation you may want to update NPM, the package manager for NodeJS npm install -g npm

zigbee2mqtt-adapter's People

Contributors

anvo avatar dependabot[bot] avatar flatsiedatsie avatar hobinjk avatar kabbi avatar mrstegeman avatar psykora avatar sogaani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zigbee2mqtt-adapter's Issues

Zigbee items get mixed up in rules

If I set up a rule some of the Zigbee items will get mixed up. In this rule I set up a time event to turn off "Porch Light" but if you look up at the rule details, you see that "Studio Fan" is detailed.

Screen Shot 2022-07-22 at 8 13 58 AM

Then on the Rules page, you can see "Studio Fan" instead of "Porch Light"

Screen Shot 2022-07-22 at 8 14 06 AM

Then if I navigate back to that rule, you can see that "Studio Fan" has replaced "Porch Light" and the nodes are now disconnected.

Screen Shot 2022-07-22 at 8 14 21 AM

Z2M not working after update

I had the Webthings addon set to autoupdate and following an update the following error is seen in the logs and no further transmission with things is possible. It appears that the addon is non-operational.

2021-06-08 15:18:52.116 INFO : Loading add-on: zigbee2mqtt-adapter
2021-06-08 15:18:53.946 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3
2021-06-08 15:18:53.992 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2021-06-08 15:18:54.513 INFO : PageKite connected!
2021-06-08 15:18:54.519 INFO : Starting certificate renewal.
2021-06-08 15:18:54.557 INFO : Certificate not yet due for renewal.
2021-06-08 15:18:55.430 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2021-06-08 15:18:57.733 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter
2021-06-08 15:18:57.970 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH
2021-06-08 15:18:57.971 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect.
2021-06-08 15:18:57.992 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0
2021-06-08 15:18:58.149 INFO : zigbee2mqtt-adapter: Auto-update is enabled. Checking if Zigbee2MQTT should be updated...
2021-06-08 15:18:58.684 INFO : zigbee2mqtt-adapter: a new official release of zigbee2mqtt is available. Will attempt to upgrade.
2021-06-08 15:19:01.099 INFO : Checking for add-on updates...
2021-06-08 15:19:02.532 INFO : Finished updating add-ons
2021-06-08 15:19:06.882 INFO : zigbee2mqtt-adapter: -----DOWNLOAD COMPLETE, STARTING INSTALL-----
���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������2021-06-08 15:20:45.241 INFO : Opening database: /home/pi/.webthings/log/logs.sqlite3
2021-06-08 15:20:51.101 INFO : wifi-setup: waitForWiFi: networks exist: [ 'BROTON_IOT' ]
2021-06-08 15:20:51.178 INFO : wifi-setup: waitForWifi: connection found
2021-06-08 15:20:51.316 INFO : HTTPS server listening on port 4443
2021-06-08 15:20:51.318 INFO : Redirector listening on port 8080
2021-06-08 15:20:51.401 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2021-06-08 15:21:21.945 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2021-06-08 15:21:25.197 INFO : Loading add-on: power-settings
2021-06-08 15:21:25.203 INFO : Loading add-on: zigbee2mqtt-adapter
2021-06-08 15:21:27.053 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3
2021-06-08 15:21:27.102 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2021-06-08 15:21:27.640 INFO : PageKite connected!
2021-06-08 15:21:27.645 INFO : Starting certificate renewal.
2021-06-08 15:21:27.685 INFO : Certificate not yet due for renewal.
2021-06-08 15:21:28.762 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2021-06-08 15:21:32.584 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter
2021-06-08 15:21:32.816 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH
2021-06-08 15:21:32.817 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect.
2021-06-08 15:21:32.838 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0
2021-06-08 15:21:32.994 INFO : zigbee2mqtt-adapter: Auto-update is enabled. Checking if Zigbee2MQTT should be updated...
2021-06-08 15:21:34.241 INFO : Checking for add-on updates...
2021-06-08 15:21:35.579 INFO : Finished updating add-ons
2021-06-08 15:21:44.878 ERROR : zigbee2mqtt-adapter: (node:894) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'mqtt' of undefined
2021-06-08 15:21:44.879 ERROR : zigbee2mqtt-adapter: at read (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:290:11)
2021-06-08 15:21:44.881 ERROR : zigbee2mqtt-adapter: at get (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:365:21)
2021-06-08 15:21:44.883 ERROR : zigbee2mqtt-adapter: at Object.reRead (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:701:9)
2021-06-08 15:21:44.884 ERROR : zigbee2mqtt-adapter: at start (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:27:14)
2021-06-08 15:21:44.886 ERROR : zigbee2mqtt-adapter: at Object. (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:60:1)
2021-06-08 15:21:44.887 ERROR : zigbee2mqtt-adapter: at Module._compile (internal/modules/cjs/loader.js:778:30)
2021-06-08 15:21:44.889 ERROR : zigbee2mqtt-adapter: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2021-06-08 15:21:44.890 ERROR : zigbee2mqtt-adapter: at Module.load (internal/modules/cjs/loader.js:653:32)
2021-06-08 15:21:44.891 ERROR : zigbee2mqtt-adapter: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2021-06-08 15:21:44.893 ERROR : zigbee2mqtt-adapter: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
2021-06-08 15:21:44.895 ERROR : zigbee2mqtt-adapter: (node:894) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
2021-06-08 15:21:44.897 ERROR : zigbee2mqtt-adapter: (node:894) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2021-06-08 15:23:22.790 INFO : Opening database: /home/pi/.webthings/log/logs.sqlite3
2021-06-08 15:25:40.835 INFO : wifi-setup: waitForWiFi: networks exist: [ 'BROTON_IOT' ]
2021-06-08 15:25:40.998 INFO : wifi-setup: waitForWifi: connection found
2021-06-08 15:25:41.282 INFO : HTTPS server listening on port 4443
2021-06-08 15:25:41.285 INFO : Redirector listening on port 8080
2021-06-08 15:25:41.435 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2021-06-08 15:25:42.871 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2021-06-08 15:25:46.190 INFO : Loading add-on: power-settings
2021-06-08 15:25:46.196 INFO : Loading add-on: zigbee2mqtt-adapter
2021-06-08 15:25:48.058 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3
2021-06-08 15:25:48.105 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2021-06-08 15:25:48.659 INFO : PageKite connected!
2021-06-08 15:25:48.665 INFO : Starting certificate renewal.
2021-06-08 15:25:48.708 INFO : Certificate not yet due for renewal.
2021-06-08 15:25:49.696 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2021-06-08 15:25:53.562 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter
2021-06-08 15:25:53.794 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH
2021-06-08 15:25:53.796 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect.
2021-06-08 15:25:53.817 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0
2021-06-08 15:25:53.972 INFO : zigbee2mqtt-adapter: Auto-update is enabled. Checking if Zigbee2MQTT should be updated...
2021-06-08 15:25:55.187 INFO : Checking for add-on updates...
2021-06-08 15:25:56.529 INFO : Finished updating add-ons
2021-06-08 15:26:05.984 ERROR : zigbee2mqtt-adapter: (node:898) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'mqtt' of undefined
2021-06-08 15:26:05.987 ERROR : zigbee2mqtt-adapter: at read (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:290:11)
2021-06-08 15:26:05.989 ERROR : zigbee2mqtt-adapter: at get (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:365:21)
2021-06-08 15:26:05.991 ERROR : zigbee2mqtt-adapter: at Object.reRead (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:701:9)
2021-06-08 15:26:05.993 ERROR : zigbee2mqtt-adapter: at start (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:27:14)
2021-06-08 15:26:06.001 ERROR : zigbee2mqtt-adapter: at Object. (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:60:1)
2021-06-08 15:26:06.003 ERROR : zigbee2mqtt-adapter: at Module._compile (internal/modules/cjs/loader.js:778:30)
2021-06-08 15:26:06.004 ERROR : zigbee2mqtt-adapter: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2021-06-08 15:26:06.006 ERROR : zigbee2mqtt-adapter: at Module.load (internal/modules/cjs/loader.js:653:32)
2021-06-08 15:26:06.008 ERROR : zigbee2mqtt-adapter: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2021-06-08 15:26:06.010 ERROR : zigbee2mqtt-adapter: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
2021-06-08 15:26:06.013 ERROR : zigbee2mqtt-adapter: (node:898) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
2021-06-08 15:26:06.014 ERROR : zigbee2mqtt-adapter: (node:898) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2021-06-08 15:27:39.389 INFO : Opening database: /home/pi/.webthings/log/logs.sqlite3
2021-06-08 15:28:15.406 INFO : wifi-setup: waitForWiFi: networks exist: [ 'BROTON_IOT' ]
2021-06-08 15:28:15.484 INFO : wifi-setup: waitForWifi: connection found
2021-06-08 15:28:15.623 INFO : HTTPS server listening on port 4443
2021-06-08 15:28:15.625 INFO : Redirector listening on port 8080
2021-06-08 15:28:15.708 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2021-06-08 15:28:17.736 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2021-06-08 15:28:22.063 INFO : Loading add-on: power-settings
2021-06-08 15:28:22.069 INFO : Loading add-on: zigbee2mqtt-adapter
2021-06-08 15:28:23.925 INFO : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3
2021-06-08 15:28:23.971 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2021-06-08 15:28:24.459 INFO : PageKite connected!
2021-06-08 15:28:24.465 INFO : Starting certificate renewal.
2021-06-08 15:28:24.503 INFO : Certificate not yet due for renewal.
2021-06-08 15:28:25.373 INFO : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2021-06-08 15:28:27.646 INFO : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter
2021-06-08 15:28:27.875 INFO : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH
2021-06-08 15:28:27.877 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect.
2021-06-08 15:28:27.896 INFO : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0
2021-06-08 15:28:28.070 INFO : zigbee2mqtt-adapter: Auto-update is enabled. Checking if Zigbee2MQTT should be updated...
2021-06-08 15:28:31.077 INFO : Checking for add-on updates...
2021-06-08 15:28:32.449 INFO : Finished updating add-ons
2021-06-08 15:28:40.010 ERROR : zigbee2mqtt-adapter: (node:897) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'mqtt' of undefined
2021-06-08 15:28:40.012 ERROR : zigbee2mqtt-adapter: at read (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:290:11)
2021-06-08 15:28:40.014 ERROR : zigbee2mqtt-adapter: at get (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:365:21)
2021-06-08 15:28:40.016 ERROR : zigbee2mqtt-adapter: at Object.reRead (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/lib/util/settings.js:701:9)
2021-06-08 15:28:40.018 ERROR : zigbee2mqtt-adapter: at start (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:27:14)
2021-06-08 15:28:40.020 ERROR : zigbee2mqtt-adapter: at Object. (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:60:1)
2021-06-08 15:28:40.021 ERROR : zigbee2mqtt-adapter: at Module._compile (internal/modules/cjs/loader.js:778:30)
2021-06-08 15:28:40.023 ERROR : zigbee2mqtt-adapter: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2021-06-08 15:28:40.025 ERROR : zigbee2mqtt-adapter: at Module.load (internal/modules/cjs/loader.js:653:32)
2021-06-08 15:28:40.027 ERROR : zigbee2mqtt-adapter: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2021-06-08 15:28:40.029 ERROR : zigbee2mqtt-adapter: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
2021-06-08 15:28:40.032 ERROR : zigbee2mqtt-adapter: (node:897) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
2021-06-08 15:28:40.033 ERROR : zigbee2mqtt-adapter: (node:897) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2021-06-08 21:22:04.195 INFO : Tunnel domain found. Tunnel name is: gw01-digitalhive and tunnel domain is: webthings.io
2021-06-08 21:22:04.200 INFO : Tunnel name is set to: https://gw01-digitalhive.webthings.io
2021-06-08 21:22:04.202 INFO : Local mDNS Service Domain Name is: gateway
2021-06-08 21:22:10.127 ERROR : Failed to get property battery: getProperty: device: z2m-0x00158d0004876bbf not found.
2021-06-08 21:22:10.130 ERROR : Failed to get property linkquality: getProperty: device: z2m-0x00158d0004876bbf not found.
2021-06-08 21:22:10.131 ERROR : Failed to get property temperature: getProperty: device: z2m-0x00158d0004876bbf not found.
2021-06-08 21:22:10.133 ERROR : Failed to get property humidity: getProperty: device: z2m-0x00158d0004876bbf not found.
2021-06-08 21:22:10.134 ERROR : Failed to get property pressure: getProperty: device: z2m-0x00158d0004876bbf not found.
2021-06-08 21:22:10.135 ERROR : Failed to get property data_transmission: getProperty: device: z2m-0x00158d0004876bbf not found.
2021-06-08 21:22:10.136 ERROR : Failed to get property voltage: getProperty: device: z2m-0x00158d0004876bbf not found.
2021-06-08 21:22:10.138 ERROR : Failed to get property battery: getProperty: device: z2m-0x00158d0004876b54 not found.
2021-06-08 21:22:10.139 ERROR : Failed to get property linkquality: getProperty: device: z2m-0x00158d0004876b54 not found.
2021-06-08 21:22:10.140 ERROR : Failed to get property temperature: getProperty: device: z2m-0x00158d0004876b54 not found.
2021-06-08 21:22:10.141 ERROR : Failed to get property humidity: getProperty: device: z2m-0x00158d0004876b54 not found.
2021-06-08 21:22:10.143 ERROR : Failed to get property pressure: getProperty: device: z2m-0x00158d0004876b54 not found.
2021-06-08 21:22:10.144 ERROR : Failed to get property data_transmission: getProperty: device: z2m-0x00158d0004876b54 not found.
2021-06-08 21:22:10.145 ERROR : Failed to get property voltage: getProperty: device: z2m-0x00158d0004876b54 not found.
2021-06-08 21:22:10.146 ERROR : Failed to get property state: getProperty: device: z2m-0x00158d0003539a52 not found.
2021-06-08 21:22:10.148 ERROR : Failed to get property power: getProperty: device: z2m-0x00158d0003539a52 not found.
2021-06-08 21:22:10.149 ERROR : Failed to get property energy: getProperty: device: z2m-0x00158d0003539a52 not found.
2021-06-08 21:22:10.150 ERROR : Failed to get property temperature: getProperty: device: z2m-0x00158d0003539a52 not found.
2021-06-08 21:22:10.151 ERROR : Failed to get property power_outage_memory: getProperty: device: z2m-0x00158d0003539a52 not found.
2021-06-08 21:22:10.153 ERROR : Failed to get property linkquality: getProperty: device: z2m-0x00158d0003539a52 not found.
2021-06-08 21:22:10.154 ERROR : Failed to get property data_transmission: getProperty: device: z2m-0x00158d0003539a52 not found.
2021-06-08 21:22:10.155 ERROR : Failed to get property consumption: getProperty: device: z2m-0x00158d0003539a52 not found.

Messsage format incorrect?

I recently set up a completely new ZigBee stick follwing the quide on zigbee2mqtt. When I try to add a new device I always get the following error:

2020-01-18 10:14:12.032 ERROR : zigbee2mqtt: /home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/zigbee2mqtt-adapter.js:83
2020-01-18 10:14:12.033 ERROR : zigbee2mqtt: const description = Devices[msg.device.modelId];
2020-01-18 10:14:12.034 ERROR : zigbee2mqtt: ^
2020-01-18 10:14:12.034 ERROR : zigbee2mqtt:
2020-01-18 10:14:12.036 ERROR : zigbee2mqtt: TypeError: Cannot read property 'modelId' of undefined
2020-01-18 10:14:12.037 ERROR : zigbee2mqtt: at ZigbeeMqttAdapter.handleIncomingMessage (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/zigbee2mqtt-adapter.js:83:46)
2020-01-18 10:14:12.037 ERROR : zigbee2mqtt: at emitThree (events.js:136:13)
2020-01-18 10:14:12.038 ERROR : zigbee2mqtt: at MqttClient.emit (events.js:217:7)
2020-01-18 10:14:12.039 ERROR : zigbee2mqtt: at MqttClient._handlePublish (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/mqtt/lib/client.js:987:12)
2020-01-18 10:14:12.039 ERROR : zigbee2mqtt: at MqttClient._handlePacket (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/mqtt/lib/client.js:336:12)
2020-01-18 10:14:12.040 ERROR : zigbee2mqtt: at work (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/mqtt/lib/client.js:292:12)
2020-01-18 10:14:12.041 ERROR : zigbee2mqtt: at Writable.writable._write (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/mqtt/lib/client.js:302:5)
2020-01-18 10:14:12.042 ERROR : zigbee2mqtt: at doWrite (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/readable-stream/lib/_stream_writable.js:428:64)
2020-01-18 10:14:12.043 ERROR : zigbee2mqtt: at writeOrBuffer (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/readable-stream/lib/_stream_writable.js:417:5)
2020-01-18 10:14:12.043 ERROR : zigbee2mqtt: at Writable.write (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/readable-stream/lib/_stream_writable.js:334:11)
2020-01-18 10:14:12.046 INFO : Plugin: zigbee2mqtt-adapter died, code = 1 restarting after 0
2020-01-18 10:14:12.647 INFO : zigbee2mqtt: Opening database: /home/pi/.mozilla-iot/config/db.sqlite3
2020-01-18 10:14:13.334 INFO : zigbee2mqtt: Loading add-on zigbee2mqtt-adapter from /home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter
2020-01-18 10:14:26.539 ERROR : zigbee2mqtt: /home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/zigbee2mqtt-adapter.js:83
2020-01-18 10:14:26.540 ERROR : zigbee2mqtt: const description = Devices[msg.device.modelId];
2020-01-18 10:14:26.541 ERROR : zigbee2mqtt:

as far as I can see the devices are sent as follows:

{
"type":"devices",
"message":[
{
"ieeeAddr":"0x00124b000be88ea7",
"type":"Coordinator",
"networkAddress":0,
"friendly_name":"Coordinator",
"softwareBuildID":"zStack12",
"dateCode":"20190608",
"lastSeen":1579346355132
},
{
"ieeeAddr":"0x00158d0004249146",
"type":"Router",
"networkAddress":22354,
"model":"ZNLDP12LM",
"friendly_name":"0x00158d0004249146",
"manufacturerID":4447,
"manufacturerName":"LUMI",
"powerSource":"DC Source",
"modelID":"lumi.light.aqcn02",
"hardwareVersion":1,
"softwareBuildID":"1.23\u0000",
"dateCode":"11-22-2018",
"lastSeen":null
}
]
}

It seems that the "device" element is missing.

Another problem was that "modelId" ist sent as "modelID" (uppercase D).

After playing around for a bit I was able to fix it by changing zigbee2mqtt-adapter.js to

81: if (!topic.startsWith(${this.config.prefix}/bridge)) {
to
81: if (!!msg.device && !topic.startsWith(${this.config.prefix}/bridge)) {

and

113: const description = Devices[info.modelId];
to
113: const description = Devices[info.modelID];

I understand that the first fix is merely a dirty work around but it seems to work correctly now.

Still I'm wondering if this is a general problem and if this should be fixed in the code?

0.5.0 cannot work with MQTT only

I use the adapter only for receiving messages from MQTT but after version 0.4.* it tries to use serial adapter and throw error because i don't have any adapter connected(Only mqtt messages through network).

Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter 2021-02-06 13:13:06.191 INFO : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect. 2021-02-06 13:13:06.213 ERROR : zigbee2mqtt-adapter: ls: cannot access '/dev/serial/by-id': No such file or directory 2021-02-06 13:13:06.220 ERROR : zigbee2mqtt-adapter: { Error: Command failed: ls -l /dev/serial/by-id 2021-02-06 13:13:06.222 ERROR : zigbee2mqtt-adapter: ls: cannot access '/dev/serial/by-id': No such file or directory 2021-02-06 13:13:06.225 ERROR : zigbee2mqtt-adapter: 2021-02-06 13:13:06.227 ERROR : zigbee2mqtt-adapter: at checkExecSyncError (child_process.js:629:11) 2021-02-06 13:13:06.229 ERROR : zigbee2mqtt-adapter: at Object.execSync (child_process.js:666:13) 2021-02-06 13:13:06.231 ERROR : zigbee2mqtt-adapter: at new ZigbeeMqttAdapter (/home/pi/.webthings/addons/zigbee2mqtt-adapter/zigbee2mqtt-adapter.js:81:43) 2021-02-06 13:13:06.233 ERROR : zigbee2mqtt-adapter: at loadAdapter (/home/pi/.webthings/addons/zigbee2mqtt-adapter/zigbee2mqtt-adapter.js:988:2) 2021-02-06 13:13:06.235 ERROR : zigbee2mqtt-adapter: at pluginClient.register.catch.then (/home/pi/mozilla-iot/gateway/src/addon-loader.js:110:9) 2021-02-06 13:13:06.237 ERROR : zigbee2mqtt-adapter: at process._tickCallback (internal/process/next_tick.js:68:7)

installation help

hello:

I would love to be able to help and contribute by adding objects, but I can not find how to install add-ons on the mozilla IOT platform that are not in your list, someone could tell me or give me some reference.

ledvance smart+ motion sensor not updating

Hi,

I managed to pair my zigbee devices with the zigbee2mqtt add-on.
But after a while some of them lost connection. I tried reboot and repairing but this fails for some devices, like e.g. the smart+ motion sensor from ledvance.

When trying to repair it somehow shows up in the list of new devices and the log file says something about messages received, like e.g.
2021-10-10 14:01:18.792 INFO : zigbee2mqtt-adapter: 2021-10-10 14:01:24.472 INFO : zigbee2mqtt-adapter: ola running stdout: �[34mZigbee2MQTT:debug�[39m 2021-10-10 14:01:24: Received Zigbee message from '0x000d6f000bb28c6f', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":503337744,"imageType":48,"manufacturerCode":4174}' from endpoint 1 with groupID null 2021-10-10 14:01:24.473 INFO : zigbee2mqtt-adapter: 2021-10-10 14:01:24.477 INFO : zigbee2mqtt-adapter: ola running stdout: �[34mZigbee2MQTT:debug�[39m 2021-10-10 14:01:24: Device '0x000d6f000bb28c6f' requested OTA

but in the things page the sensor shows all the time the same message.
link quality 0
temperature 22 degrees
and occupancy Bewegung

which seems to be the entries after connection was lost.
any ideas how to solve this? It seems from the log file that zigbee2mqtt can in fact communicate with the device...

It's gone?

I can't find this add-on in the Mozilla WebThings interface anymore?

Default address does not have a port number

After installing it manually, the settings page says:

Mosquitto or other mqtt server host/port to connect to
But the url string mqtt://localhost does not have a port in it? Shouldn't that then be mqtt://localhost:1883 instead?

Error while running package.sh

On a Raspberry pi 4 I tried to create this add-on form the code, and ran into this:

make: Entering directory '/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/sqlite3/build'
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3260000/sqlite3.o
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘strftimeFunc’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:14080:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:21921:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
                       z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
                                                    ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:14080:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:30178:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
     sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
                                                      ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:14080:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:75014:19: note: in expansion of macro ‘SQLITE_DYNAMIC’
   }else if( xDel==SQLITE_DYNAMIC ){
                   ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘valueFromExpr’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:14080:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:75419:55: note: in expansion of macro ‘SQLITE_DYNAMIC’
       sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
                                                       ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:14080:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:75462:29: note: in expansion of macro ‘SQLITE_DYNAMIC’
                          0, SQLITE_DYNAMIC);
                             ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:90356:38: warning: cast between incompatible function types from ‘int (*)(u32,  void *, void *, void *)’ {aka ‘int (*)(unsigned int,  void *, void *, void *)’} to ‘void (*)(void *, const char *)’ [-Wcast-function-type]
       void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace;
                                      ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘printfFunc’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:14080:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:112292:25: note: in expansion of macro ‘SQLITE_DYNAMIC’
                         SQLITE_DYNAMIC);
                         ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘generateColumnNames’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:14080:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:125795:58: note: in expansion of macro ‘SQLITE_DYNAMIC’
         sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
                                                          ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:14080:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:125802:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
       sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
                                                    ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3InvokeBusyHandler’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:154304:12: warning: cast between incompatible function types from ‘int (*)(void *, int)’ to ‘int (*)(void *, int,  sqlite3_file *)’ {aka ‘int (*)(void *, int,  struct sqlite3_file *)’} [-Wcast-function-type]
     xTra = (int(*)(void*,int,sqlite3_file*))p->xBusyHandler;
            ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3_busy_timeout’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:154382:30: warning: cast between incompatible function types from ‘int (*)(void *, int,  sqlite3_file *)’ {aka ‘int (*)(void *, int,  struct sqlite3_file *)’} to ‘int (*)(void *, int)’ [-Wcast-function-type]
     sqlite3_busy_handler(db, (int(*)(void*,int))sqliteDefaultBusyCallback,
                              ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3_trace’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:154723:16: warning: cast between incompatible function types from ‘void (*)(void *, const char *)’ to ‘int (*)(u32,  void *, void *, void *)’ {aka ‘int (*)(unsigned int,  void *, void *, void *)’} [-Wcast-function-type]
   db->xTrace = (int(*)(u32,void*,void*,void*))xTrace;
                ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3_db_status’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:20744:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
       op = SQLITE_DBSTATUS_CACHE_WRITE+1;
       ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:20746:5: note: here
     case SQLITE_DBSTATUS_CACHE_HIT:
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3_str_vappendf’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:27452:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
         flag_long = sizeof(char*)==sizeof(i64) ? 2 :
         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      sizeof(char*)==sizeof(long int) ? 1 : 0;
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:27455:7: note: here
       case etORDINAL:
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:27457:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
         cThousand = 0;
         ~~~~~~~~~~^~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:27459:7: note: here
       case etDECIMAL:
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3GetToken’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:151967:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( !sqlite3Isdigit(z[1]) )
         ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:151976:5: note: here
     case CC_DIGIT: {
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:152066:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( z[1]=='\'' ){
         ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:152080:5: note: here
     case CC_ID: {
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3ExprCodeTarget’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:99485:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case TK_AGG_COLUMN: {
                         ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:99498:5: note: here
     case TK_COLUMN: {
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘resolveP2Values’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:76492:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
           if( pOp->p2!=0 ) p->readOnly = 0;
             ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:76495:9: note: here
         case OP_AutoCommit:
         ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:76533:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
         case OP_VFilter: {
                          ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:76542:9: note: here
         default: {
         ^~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘resolveExprStep’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:95335:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case TK_ISNOT: {
                    ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:95351:5: note: here
     case TK_BETWEEN:
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘impliesNotNullRow’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:101026:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( (pExpr->pLeft->op==TK_COLUMN && IsVirtual(pExpr->pLeft->y.pTab))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        || (pExpr->pRight->op==TK_COLUMN && IsVirtual(pExpr->pRight->y.pTab))
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:101030:5: note: here
     default:
     ^~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘fkActionTrigger’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:115395:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
         if( !pChanges ){
           ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:115399:7: note: here
       default:
       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3GenerateConstraintChecks’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:117007:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
         onError = OE_Abort;
                 ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:117010:7: note: here
       case OE_Rollback:
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:117070:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, 0, iDataCur);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:117074:7: note: here
       case OE_Ignore: {
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:117279:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, pIdx, iIdxCur+ix);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:117283:7: note: here
       case OE_Ignore: {
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:83912:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if( (pIn3->flags & MEM_Null)==0 ) break;
     ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:83946:1: note: here
 case OP_Halt: {
 ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:84079:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if( pOp->p1>db->aLimit[SQLITE_LIMIT_LENGTH] ){
     ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:84098:1: note: here
 case OP_String: {          /* out2 */
 ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:87148:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
 case OP_IfNoHope: {     /* jump, in3 */
                   ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:87156:1: note: here
 case OP_NoConflict:     /* jump, in3 */
 ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:88084:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
   p->aCounter[SQLITE_STMTSTATUS_SORT]++;
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:88103:1: note: here
 case OP_Rewind: {        /* jump */
 ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:89384:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
   pOp->opcode = OP_AggStep1;
               ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:89387:1: note: here
 case OP_AggStep1: {
 ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:90249:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
   pOp->opcode += 2;
   ~~~~~~~~~~~~^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:90252:1: note: here
 case OP_PureFunc:              /* group */
 ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘fts3SnippetFunc’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:161933:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 6: nToken = sqlite3_value_int(apVal[5]);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:161934:5: note: here
     case 5: iCol = sqlite3_value_int(apVal[4]);
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:161934:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 5: iCol = sqlite3_value_int(apVal[4]);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:161935:5: note: here
     case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:161935:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:161936:5: note: here
     case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:161936:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:161937:5: note: here
     case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘fts3ColumnMethod’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:161690:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
         iCol = p->nColumn;
         ~~~~~^~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:161694:5: note: here
     default:
     ^~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘cellArea’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181082:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 5:  area  = p->aCoord[9].f - p->aCoord[8].f;
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181083:7: note: here
       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181083:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181084:7: note: here
       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181084:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181085:7: note: here
       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181085:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181086:7: note: here
       default: area *= p->aCoord[1].f - p->aCoord[0].f;
       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181092:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 5:  area  = p->aCoord[9].i - p->aCoord[8].i;
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181093:7: note: here
       case 4:  area *= p->aCoord[7].i - p->aCoord[6].i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181093:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 4:  area *= p->aCoord[7].i - p->aCoord[6].i;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181094:7: note: here
       case 3:  area *= p->aCoord[5].i - p->aCoord[4].i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181094:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 3:  area *= p->aCoord[5].i - p->aCoord[4].i;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181095:7: note: here
       case 2:  area *= p->aCoord[3].i - p->aCoord[2].i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181095:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 2:  area *= p->aCoord[3].i - p->aCoord[2].i;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:181096:7: note: here
       default: area *= p->aCoord[1].i - p->aCoord[0].i;
       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘rtreeCallbackConstraint’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180265:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+32, &c); aCoord[8] = c.f;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180266:7: note: here
       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180267:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+24, &c); aCoord[6] = c.f;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180268:7: note: here
       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180269:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+16, &c); aCoord[4] = c.f;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180270:7: note: here
       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180271:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+8,  &c); aCoord[2] = c.f;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180272:7: note: here
       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.f;
       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180280:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+32, &c); aCoord[8] = c.i;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180281:7: note: here
       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180282:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+24, &c); aCoord[6] = c.i;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180283:7: note: here
       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180284:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+16, &c); aCoord[4] = c.i;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180285:7: note: here
       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180286:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+8,  &c); aCoord[2] = c.i;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180287:7: note: here
       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.i;
       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘rtreeNonleafConstraint’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180339:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( p->op!=RTREE_EQ ) break;  /* RTREE_LE and RTREE_LT end here */
         ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:180342:5: note: here
     default: /* RTREE_GT or RTREE_GE,  or fallthrough of RTREE_EQ */
     ^~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘jsonRenderNode’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:177039:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( pNode->jnFlags & JNODE_RAW ){
         ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:177045:5: note: here
     case JSON_REAL:
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘jsonReturn’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:177153:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       int_as_real: /* fall through to real */;
       ^~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:177155:5: note: here
     case JSON_REAL: {
     ^~~~
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c: In function ‘jsonEachColumn’:
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:178797:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( p->bRecursive ){
         ^
Release/obj/gen/sqlite-autoconf-3260000/sqlite3.c:178807:5: note: here
     default: {
     ^~~~~~~
  AR(target) Release/obj.target/deps/sqlite3.a
  COPY Release/sqlite3.a
  CXX(target) Release/obj.target/node_sqlite3/src/database.o
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2167: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]
     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                              ^
In file included from ../src/database.cc:3:
../src/database.cc: In member function ‘void node_sqlite3::Database::Process()’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:49:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(this->handle(), cb, 1, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:49:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(this->handle(), cb, 1, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:63:13: note: in expansion of macro ‘EMIT_EVENT’
             EMIT_EVENT(handle(), 2, info);
             ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:63:13: note: in expansion of macro ‘EMIT_EVENT’
             EMIT_EVENT(handle(), 2, info);
             ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In member function ‘void node_sqlite3::Database::Schedule(node_sqlite3::Database::Work_Callback, node_sqlite3::Database::Baton*, bool)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:92:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:92:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:96:13: note: in expansion of macro ‘EMIT_EVENT’
             EMIT_EVENT(handle(), 2, argv);
             ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:96:13: note: in expansion of macro ‘EMIT_EVENT’
             EMIT_EVENT(handle(), 2, argv);
             ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../src/database.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Database::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/database.cc:133:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(info.This(), Nan::New("filename").ToLocalChecked(), info[0].As<String>(), ReadOnly);
          ^~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/database.cc:133:101: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(info.This(), Nan::New("filename").ToLocalChecked(), info[0].As<String>(), ReadOnly);
                                                                                                     ^
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/database.cc:133:101: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(info.This(), Nan::New("filename").ToLocalChecked(), info[0].As<String>(), ReadOnly);
                                                                                                     ^
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/database.cc:134:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(info.This(), Nan::New("mode").ToLocalChecked(), Nan::New(mode), ReadOnly);
          ^~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/database.cc:134:91: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(info.This(), Nan::New("mode").ToLocalChecked(), Nan::New(mode), ReadOnly);
                                                                                           ^
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/database.cc:134:91: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(info.This(), Nan::New("mode").ToLocalChecked(), Nan::New(mode), ReadOnly);
                                                                                           ^
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)’:
../src/database.cc:145:55: 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]
         &baton->request, Work_Open, (uv_after_work_cb)Work_AfterOpen);
                                                       ^~~~~~~~~~~~~~
../src/database.cc:144:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterOpen(uv_work_t*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:190:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(db->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:190:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(db->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:194:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(db->handle(), 2, info);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:194:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(db->handle(), 2, info);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:199:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(db->handle(), 1, info);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:199:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(db->handle(), 1, info);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)’:
../src/database.cc:231:56: 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]
         &baton->request, Work_Close, (uv_after_work_cb)Work_AfterClose);
                                                        ^~~~~~~~~~~~~~~
../src/database.cc:230:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterClose(uv_work_t*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:273:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(db->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:273:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(db->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:277:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(db->handle(), 2, info);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:277:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(db->handle(), 2, info);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:282:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(db->handle(), 1, info);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:282:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(db->handle(), 1, info);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Database::Serialize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:297:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(info.This(), callback, 0, NULL);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:297:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(info.This(), callback, 0, NULL);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Database::Parallelize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:314:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(info.This(), callback, 0, NULL);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:314:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(info.This(), callback, 0, NULL);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::TraceCallback(node_sqlite3::Database*, std::__cxx11::string*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:418:5: note: in expansion of macro ‘EMIT_EVENT’
     EMIT_EVENT(db->handle(), 2, argv);
     ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:418:5: note: in expansion of macro ‘EMIT_EVENT’
     EMIT_EVENT(db->handle(), 2, argv);
     ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::ProfileCallback(node_sqlite3::Database*, node_sqlite3::Database::ProfileInfo*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:459:5: note: in expansion of macro ‘EMIT_EVENT’
     EMIT_EVENT(db->handle(), 3, argv);
     ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:459:5: note: in expansion of macro ‘EMIT_EVENT’
     EMIT_EVENT(db->handle(), 3, argv);
     ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::UpdateCallback(node_sqlite3::Database*, node_sqlite3::Database::UpdateInfo*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:504:5: note: in expansion of macro ‘EMIT_EVENT’
     EMIT_EVENT(db->handle(), 4, argv);
     ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:504:5: note: in expansion of macro ‘EMIT_EVENT’
     EMIT_EVENT(db->handle(), 4, argv);
     ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)’:
../src/database.cc:526:55: 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]
         &baton->request, Work_Exec, (uv_after_work_cb)Work_AfterExec);
                                                       ^~~~~~~~~~~~~~
../src/database.cc:525:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterExec(uv_work_t*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:561:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(db->handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:561:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(db->handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:565:13: note: in expansion of macro ‘EMIT_EVENT’
             EMIT_EVENT(db->handle(), 2, info);
             ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:565:13: note: in expansion of macro ‘EMIT_EVENT’
             EMIT_EVENT(db->handle(), 2, info);
             ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:570:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(db->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:570:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(db->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_Wait(node_sqlite3::Database::Baton*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:600:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(baton->db->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:600:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(baton->db->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)’:
../src/database.cc:626:104: 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]
         &baton->request, Work_LoadExtension, reinterpret_cast<uv_after_work_cb>(Work_AfterLoadExtension));
                                                                                                        ^
../src/database.cc:625:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^~~~~~
In file included from ../src/database.cc:3:
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_AfterLoadExtension(uv_work_t*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:663:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(db->handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:663:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(db->handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:667:13: note: in expansion of macro ‘EMIT_EVENT’
             EMIT_EVENT(db->handle(), 2, info);
             ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/database.cc:667:13: note: in expansion of macro ‘EMIT_EVENT’
             EMIT_EVENT(db->handle(), 2, info);
             ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:672:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(db->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/database.cc:3:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/database.cc:672:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(db->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/database.cc:4:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from /usr/include/nodejs/src/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/database.h:10,
                 from ../src/database.cc:4:
/usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/usr/include/nodejs/src/node_object_wrap.h:85:78:   required from here
/usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:66:61:   required from here
/usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
In file included from ../src/database.h:12,
                 from ../src/database.cc:4:
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = std::__cxx11::basic_string<char>; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, std::__cxx11::basic_string<char>*)]’:
../src/database.cc:391:59:   required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
         uv_async_init(uv_default_loop(), &watcher, reinterpret_cast<uv_async_cb>(listener));
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = node_sqlite3::Database::ProfileInfo; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, node_sqlite3::Database::ProfileInfo*)]’:
../src/database.cc:429:65:   required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
../src/async.h: In instantiation of ‘Async<Item, Parent>::Async(Parent*, Async<Item, Parent>::Callback) [with Item = node_sqlite3::Database::UpdateInfo; Parent = node_sqlite3::Database; Async<Item, Parent>::Callback = void (*)(node_sqlite3::Database*, node_sqlite3::Database::UpdateInfo*)]’:
../src/database.cc:470:62:   required from here
../src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
  CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
In file included from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2167: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]
     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                              ^
In file included from ../src/node_sqlite3.cc:7:
../src/node_sqlite3.cc: In function ‘void {anonymous}::RegisterModule(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:21:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READONLY, OPEN_READONLY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:21:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READONLY, OPEN_READONLY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:21:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READONLY, OPEN_READONLY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:22:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READWRITE, OPEN_READWRITE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:22:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READWRITE, OPEN_READWRITE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:22:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READWRITE, OPEN_READWRITE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:23:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_CREATE, OPEN_CREATE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:23:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_CREATE, OPEN_CREATE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:23:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_CREATE, OPEN_CREATE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:24:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_FULLMUTEX, OPEN_FULLMUTEX);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:24:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_FULLMUTEX, OPEN_FULLMUTEX);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:24:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_FULLMUTEX, OPEN_FULLMUTEX);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:25:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_URI, OPEN_URI);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:25:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_URI, OPEN_URI);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:25:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_URI, OPEN_URI);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:26:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_SHAREDCACHE, OPEN_SHAREDCACHE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:26:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_SHAREDCACHE, OPEN_SHAREDCACHE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:26:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_SHAREDCACHE, OPEN_SHAREDCACHE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:27:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_PRIVATECACHE, OPEN_PRIVATECACHE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:27:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_PRIVATECACHE, OPEN_PRIVATECACHE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:27:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_PRIVATECACHE, OPEN_PRIVATECACHE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:66:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:28:5: note: in expansion of macro ‘DEFINE_CONSTANT_STRING’
     DEFINE_CONSTANT_STRING(target, SQLITE_VERSION, VERSION);
     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:70:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:28:5: note: in expansion of macro ‘DEFINE_CONSTANT_STRING’
     DEFINE_CONSTANT_STRING(target, SQLITE_VERSION, VERSION);
     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:70:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:28:5: note: in expansion of macro ‘DEFINE_CONSTANT_STRING’
     DEFINE_CONSTANT_STRING(target, SQLITE_VERSION, VERSION);
     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:66:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:30:5: note: in expansion of macro ‘DEFINE_CONSTANT_STRING’
     DEFINE_CONSTANT_STRING(target, SQLITE_SOURCE_ID, SOURCE_ID);
     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:70:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:30:5: note: in expansion of macro ‘DEFINE_CONSTANT_STRING’
     DEFINE_CONSTANT_STRING(target, SQLITE_SOURCE_ID, SOURCE_ID);
     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:70:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:30:5: note: in expansion of macro ‘DEFINE_CONSTANT_STRING’
     DEFINE_CONSTANT_STRING(target, SQLITE_SOURCE_ID, SOURCE_ID);
     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:32:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_VERSION_NUMBER, VERSION_NUMBER);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:32:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_VERSION_NUMBER, VERSION_NUMBER);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:32:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_VERSION_NUMBER, VERSION_NUMBER);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:34:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OK, OK);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:34:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OK, OK);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:34:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_OK, OK);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:35:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_ERROR, ERROR);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:35:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_ERROR, ERROR);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:35:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_ERROR, ERROR);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:36:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_INTERNAL, INTERNAL);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:36:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_INTERNAL, INTERNAL);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:36:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_INTERNAL, INTERNAL);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:37:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_PERM, PERM);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:37:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_PERM, PERM);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:37:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_PERM, PERM);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:38:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_ABORT, ABORT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:38:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_ABORT, ABORT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:38:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_ABORT, ABORT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:39:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_BUSY, BUSY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:39:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_BUSY, BUSY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:39:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_BUSY, BUSY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:40:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_LOCKED, LOCKED);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:40:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_LOCKED, LOCKED);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:40:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_LOCKED, LOCKED);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:41:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOMEM, NOMEM);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:41:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOMEM, NOMEM);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:41:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOMEM, NOMEM);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:42:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_READONLY, READONLY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:42:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_READONLY, READONLY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:42:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_READONLY, READONLY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:43:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_INTERRUPT, INTERRUPT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:43:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_INTERRUPT, INTERRUPT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:43:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_INTERRUPT, INTERRUPT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:44:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_IOERR, IOERR);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:44:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_IOERR, IOERR);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:44:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_IOERR, IOERR);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:45:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_CORRUPT, CORRUPT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:45:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_CORRUPT, CORRUPT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:45:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_CORRUPT, CORRUPT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:46:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOTFOUND, NOTFOUND);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:46:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOTFOUND, NOTFOUND);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:46:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOTFOUND, NOTFOUND);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:47:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_FULL, FULL);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:47:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_FULL, FULL);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:47:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_FULL, FULL);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:48:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_CANTOPEN, CANTOPEN);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:48:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_CANTOPEN, CANTOPEN);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:48:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_CANTOPEN, CANTOPEN);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:49:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_PROTOCOL, PROTOCOL);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:49:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_PROTOCOL, PROTOCOL);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:49:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_PROTOCOL, PROTOCOL);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:50:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_EMPTY, EMPTY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:50:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_EMPTY, EMPTY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:50:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_EMPTY, EMPTY);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:51:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_SCHEMA, SCHEMA);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:51:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_SCHEMA, SCHEMA);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:51:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_SCHEMA, SCHEMA);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:52:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_TOOBIG, TOOBIG);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:52:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_TOOBIG, TOOBIG);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:52:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_TOOBIG, TOOBIG);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:53:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_CONSTRAINT, CONSTRAINT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:53:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_CONSTRAINT, CONSTRAINT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:53:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_CONSTRAINT, CONSTRAINT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:54:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_MISMATCH, MISMATCH);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:54:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_MISMATCH, MISMATCH);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:54:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_MISMATCH, MISMATCH);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:55:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_MISUSE, MISUSE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:55:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_MISUSE, MISUSE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:55:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_MISUSE, MISUSE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:56:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOLFS, NOLFS);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:56:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOLFS, NOLFS);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:56:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOLFS, NOLFS);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:57:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_AUTH, AUTH);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:57:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_AUTH, AUTH);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:57:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_AUTH, AUTH);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:58:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_FORMAT, FORMAT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:58:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_FORMAT, FORMAT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:58:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_FORMAT, FORMAT);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:59:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_RANGE, RANGE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:59:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_RANGE, RANGE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:59:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_RANGE, RANGE);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:59:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(target,                                                      \
          ^~~~~~~~
../src/node_sqlite3.cc:60:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOTADB, NOTADB);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:60:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOTADB, NOTADB);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../src/node_sqlite3.cc:7:
../src/macros.h:63:5: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     );
     ^
../src/node_sqlite3.cc:60:5: note: in expansion of macro ‘DEFINE_CONSTANT_INTEGER’
     DEFINE_CONSTANT_INTEGER(target, SQLITE_NOTADB, NOTADB);
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
In file included from ../../nan/nan.h:51,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
../src/node_sqlite3.cc: At global scope:
/usr/include/nodejs/src/node.h:570: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]
       (node::addon_register_func) (regfunc),                          \
                                           ^
/usr/include/nodejs/src/node.h:604:3: note: in expansion of macro ‘NODE_MODULE_X’
   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
   ^~~~~~~~~~~~~
../src/node_sqlite3.cc:109:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(node_sqlite3, RegisterModule)
 ^~~~~~~~~~~
In file included from /usr/include/nodejs/src/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/database.h:10,
                 from ../src/node_sqlite3.cc:8:
/usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/usr/include/nodejs/src/node_object_wrap.h:85:78:   required from here
/usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:66:61:   required from here
/usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
  CXX(target) Release/obj.target/node_sqlite3/src/statement.o
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2167: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]
     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                              ^
In file included from ../src/statement.cc:6:
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Error(T*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../src/statement.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Statement::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/statement.cc:103:10: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(info.This(),Nan::New("sql").ToLocalChecked(), sql, ReadOnly);
          ^~~~~~~~
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/statement.cc:103:78: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(info.This(),Nan::New("sql").ToLocalChecked(), sql, ReadOnly);
                                                                              ^
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/statement.cc:103:78: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
     Nan::ForceSet(info.This(),Nan::New("sql").ToLocalChecked(), sql, ReadOnly);
                                                                              ^
In file included from ../../nan/nan.h:197,
                 from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan_maybe_43_inl.h:130:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginPrepare(node_sqlite3::Database::Baton*)’:
../src/statement.cc:119:58: 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]
         &baton->request, Work_Prepare, (uv_after_work_cb)Work_AfterPrepare);
                                                          ^~~~~~~~~~~~~~~~~
../src/statement.cc:118:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_AfterPrepare(uv_work_t*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:161:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:161:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginBind(node_sqlite3::Statement::Baton*)’:
../src/macros.h:127:73: 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]
         Work_##type, reinterpret_cast<uv_after_work_cb>(Work_After##type));    \
                                                                         ^
../src/statement.cc:322:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Bind);
     ^~~~~~~~~~~~~~~
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^~~~~~
../src/statement.cc:322:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Bind);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_AfterBind(uv_work_t*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:347:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:347:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginGet(node_sqlite3::Statement::Baton*)’:
../src/macros.h:127:73: 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]
         Work_##type, reinterpret_cast<uv_after_work_cb>(Work_After##type));    \
                                                                         ^
../src/statement.cc:370:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Get);
     ^~~~~~~~~~~~~~~
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^~~~~~
../src/statement.cc:370:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Get);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_AfterGet(uv_work_t*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:412:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(stmt->handle(), cb, 2, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:412:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(stmt->handle(), cb, 2, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:416:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:416:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginRun(node_sqlite3::Statement::Baton*)’:
../src/macros.h:127:73: 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]
         Work_##type, reinterpret_cast<uv_after_work_cb>(Work_After##type));    \
                                                                         ^
../src/statement.cc:438:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Run);
     ^~~~~~~~~~~~~~~
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^~~~~~
../src/statement.cc:438:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Run);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_AfterRun(uv_work_t*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:483:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:483:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginAll(node_sqlite3::Statement::Baton*)’:
../src/macros.h:127:73: 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]
         Work_##type, reinterpret_cast<uv_after_work_cb>(Work_After##type));    \
                                                                         ^
../src/statement.cc:504:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(All);
     ^~~~~~~~~~~~~~~
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^~~~~~
../src/statement.cc:504:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(All);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_AfterAll(uv_work_t*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:556:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(stmt->handle(), cb, 2, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:556:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(stmt->handle(), cb, 2, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:564:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(stmt->handle(), cb, 2, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:564:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(stmt->handle(), cb, 2, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginEach(node_sqlite3::Statement::Baton*)’:
../src/statement.cc:597:92: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
     each_baton->async = new Async(each_baton->stmt, reinterpret_cast<uv_async_cb>(AsyncEach));
                                                                                            ^
In file included from ../src/statement.cc:6:
../src/macros.h:127:73: 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]
         Work_##type, reinterpret_cast<uv_after_work_cb>(Work_After##type));    \
                                                                         ^
../src/statement.cc:601:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Each);
     ^~~~~~~~~~~~~~~
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^~~~~~
../src/statement.cc:601:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Each);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::AsyncEach(uv_async_t*, int)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:680:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(async->stmt->handle(), cb, 2, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:680:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(async->stmt->handle(), cb, 2, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:694:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(async->stmt->handle(), cb, 2, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:694:13: note: in expansion of macro ‘TRY_CATCH_CALL’
             TRY_CATCH_CALL(async->stmt->handle(), cb, 2, argv);
             ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginReset(node_sqlite3::Statement::Baton*)’:
../src/macros.h:127:73: 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]
         Work_##type, reinterpret_cast<uv_after_work_cb>(Work_After##type));    \
                                                                         ^
../src/statement.cc:724:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Reset);
     ^~~~~~~~~~~~~~~
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^~~~~~
../src/statement.cc:724:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Reset);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_AfterReset(uv_work_t*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:743:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:743:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Finalize(node_sqlite3::Statement::Baton*)’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:837:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(baton->stmt->handle(), cb, 0, NULL);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:837:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(baton->stmt->handle(), cb, 0, NULL);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In member function ‘void node_sqlite3::Statement::CleanQueue()’:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:873:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(handle(), cb, 1, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/statement.cc:873:17: note: in expansion of macro ‘TRY_CATCH_CALL’
                 TRY_CATCH_CALL(handle(), cb, 1, argv);
                 ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:887:13: note: in expansion of macro ‘EMIT_EVENT’
             EMIT_EVENT(handle(), 2, info);
             ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
                                                            ^
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:887:13: note: in expansion of macro ‘EMIT_EVENT’
             EMIT_EVENT(handle(), 2, info);
             ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from /usr/include/nodejs/src/node.h:63,
                 from ../src/statement.cc:2:
/usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/usr/include/nodejs/src/node_object_wrap.h:85:78:   required from here
/usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:66:61:   required from here
/usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
In file included from ../src/statement.cc:6:
../src/statement.cc: In instantiation of ‘static void node_sqlite3::Statement::Error(T*) [with T = node_sqlite3::Statement::PrepareBaton]’:
../src/statement.cc:153:20:   required from here
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In instantiation of ‘static void node_sqlite3::Statement::Error(T*) [with T = node_sqlite3::Statement::Baton]’:
../src/statement.cc:340:20:   required from here
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In instantiation of ‘static void node_sqlite3::Statement::Error(T*) [with T = node_sqlite3::Statement::RowBaton]’:
../src/statement.cc:403:20:   required from here
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In instantiation of ‘static void node_sqlite3::Statement::Error(T*) [with T = node_sqlite3::Statement::RunBaton]’:
../src/statement.cc:473:20:   required from here
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In instantiation of ‘static void node_sqlite3::Statement::Error(T*) [with T = node_sqlite3::Statement::RowsBaton]’:
../src/statement.cc:539:20:   required from here
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/statement.cc: In instantiation of ‘static void node_sqlite3::Statement::Error(T*) [with T = node_sqlite3::Statement::EachBaton]’:
../src/statement.cc:706:20:   required from here
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/statement.cc:74:9: note: in expansion of macro ‘TRY_CATCH_CALL’
         TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
         ^~~~~~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
In file included from ../src/statement.cc:6:
../src/macros.h:109:22: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback((context), (callback), (argc), (argv))
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/macros.h:102:5: note: in expansion of macro ‘TRY_CATCH_CALL’
     TRY_CATCH_CALL((obj),                                                      \
     ^~~~~~~~~~~~~~
../src/statement.cc:78:9: note: in expansion of macro ‘EMIT_EVENT’
         EMIT_EVENT(stmt->handle(), 2, argv);
         ^~~~~~~~~~
In file included from ../src/database.h:10,
                 from ../src/statement.cc:7:
../../nan/nan.h:929:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
  SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node
  COPY Release/node_sqlite3.node
  COPY /home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/sqlite3/lib/binding/node-v64-linux-arm/node_sqlite3.node
  TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory '/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/sqlite3/build'
+ [email protected]
added 324 packages from 282 contributors in 242.581s

zigbee2mqtt not working anymore

Since june, i'm unable to have zigbee2mqtt working,

i try to erase the .webthings folder to reset my data, not working.

i try to just reflash my sd card (i have the raspberry pi image on raspberry pi 3)

my hardware is conbee II usb stick

and there is the log

2021-08-29 21:38:36.521 ERROR : zigbee2mqtt-adapter: (node:1460) UnhandledPromiseRejectionWarning: Error: Command failed: npm run build
2021-08-29 21:38:36.524 ERROR : zigbee2mqtt-adapter: sh: 1: tsc: not found
2021-08-29 21:38:36.530 ERROR : zigbee2mqtt-adapter: npm ERR! code ELIFECYCLE
2021-08-29 21:38:36.532 ERROR : zigbee2mqtt-adapter: npm ERR! syscall spawn
2021-08-29 21:38:36.534 ERROR : zigbee2mqtt-adapter: npm ERR! file sh
2021-08-29 21:38:36.535 ERROR : zigbee2mqtt-adapter: npm ERR! errno ENOENT
2021-08-29 21:38:36.537 ERROR : zigbee2mqtt-adapter: npm ERR! [email protected] build: tsc && node index.js writehash
2021-08-29 21:38:36.539 ERROR : zigbee2mqtt-adapter: npm ERR! spawn ENOENT
2021-08-29 21:38:36.541 ERROR : zigbee2mqtt-adapter: npm ERR!
2021-08-29 21:38:36.543 ERROR : zigbee2mqtt-adapter: npm ERR! Failed at the [email protected] build script.
2021-08-29 21:38:36.545 ERROR : zigbee2mqtt-adapter: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-08-29 21:38:36.547 ERROR : zigbee2mqtt-adapter:
2021-08-29 21:38:36.549 ERROR : zigbee2mqtt-adapter: npm ERR! A complete log of this run can be found in:
2021-08-29 21:38:36.550 ERROR : zigbee2mqtt-adapter: npm ERR! /home/pi/.npm/_logs/2021-08-29T20_38_36_460Z-debug.log
2021-08-29 21:38:36.552 ERROR : zigbee2mqtt-adapter:
2021-08-29 21:38:36.554 ERROR : zigbee2mqtt-adapter: at ChildProcess.exithandler (child_process.js:294:12)
2021-08-29 21:38:36.556 ERROR : zigbee2mqtt-adapter: at ChildProcess.emit (events.js:198:13)
2021-08-29 21:38:36.558 ERROR : zigbee2mqtt-adapter: at maybeClose (internal/child_process.js:982:16)
2021-08-29 21:38:36.560 ERROR : zigbee2mqtt-adapter: at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
2021-08-29 21:38:36.562 ERROR : zigbee2mqtt-adapter: (node:1460) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
2021-08-29 21:38:36.564 ERROR : zigbee2mqtt-adapter: (node:1460) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

thing didn'T received data

i setted up zibgee2mqtt, everything was working fine but now my thing didn'T receive data(i have a xiaomi temp and humidity sensor and a sinope thermostat both supported) every sensor are at 0.

i can set the heating target point on the thermostat without any issue.

can someone help me with this issue please!

adapter not connecting

Hi,
I recently restarted my gateway and now my things are not connecting anymore. The log output says the following:

2022-11-13 22:35:37.981 INFO : Plugin: date-time-adapter died, code = 0 restarting after 4000 2022-11-13 22:35:40.176 INFO : zigbee2mqtt-adapter: attempting to latch onto MQTT 2022-11-13 22:35:40.277 INFO : zigbee2mqtt-adapter: starting zigbee2MQTT using: node /home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js 2022-11-13 22:35:40.279 INFO : zigbee2mqtt-adapter: initial this.config.serial_port = /dev/ttyACM0 2022-11-13 22:35:40.281 INFO : zigbee2mqtt-adapter: this.zigbee2mqtt_configuration_devices_file_path = /home/pi/.webthings/data/zigbee2mqtt-adapter/devices.yaml 2022-11-13 22:35:40.282 INFO : zigbee2mqtt-adapter: this.zigbee2mqtt_configuration_log_path = /home/pi/.webthings/data/zigbee2mqtt-adapter/log 2022-11-13 22:35:40.284 INFO : zigbee2mqtt-adapter: Using IKEA test server for firmware updates? true 2022-11-13 22:35:40.308 ERROR : zigbee2mqtt-adapter: mqtt error: { Error: connect ECONNREFUSED 127.0.0.1:1883 2022-11-13 22:35:40.309 ERROR : zigbee2mqtt-adapter: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14) 2022-11-13 22:35:40.311 ERROR : zigbee2mqtt-adapter: errno: 'ECONNREFUSED', 2022-11-13 22:35:40.312 ERROR : zigbee2mqtt-adapter: code: 'ECONNREFUSED', 2022-11-13 22:35:40.313 ERROR : zigbee2mqtt-adapter: syscall: 'connect', 2022-11-13 22:35:40.315 ERROR : zigbee2mqtt-adapter: address: '127.0.0.1', 2022-11-13 22:35:40.316 ERROR : zigbee2mqtt-adapter: port: 1883 } 2022-11-13 22:35:41.267 INFO : zigbee2mqtt-adapter: ola running stdout: Zigbee2MQTT requires node version ^14 || ^16 || ^18, you are running v10.24.1!

I tried to manually update the node version but somehow the gateway doesn't recognise it.
Any help would be appreciated.

cheers
Tobias

cannot get data from window sensor

After dealing with the previous issue, and adding support for my version of the magnetic sensor to the devices list, I got another issue.

If the add-on receives the actual device data, it's hoping to find a device ID in msg.device.modelId. However, the device dictionary is not sent with a normal open/close message. It only contains:
{ battery: 100, voltage: 3055, contact: true, linkquality: 68 }

The deviceId itself is available as the MQTT topic title.

Need help adding support for new devices.

Hi. I try to add new device (ikea tradfri spot).

I think the addons runs well in webthings:

  • I see traces at webthings start:
2019-12-17 22:56:53.279 WARN   : manifest.json did not exist for add-on zigbee2mqtt-adapter
2019-12-17 22:56:53.281 INFO   : Not checking SHA256SUMS file for zigbee2mqtt-adapter since a .git directory was detec      ted
2019-12-17 22:56:53.307 INFO   : Loading add-on: zigbee2mqtt-adapter
2019-12-17 22:56:54.022 INFO   : zigbee2mqtt: Opening database: /home/pi/.mozilla-iot/config/db.sqlite3
2019-12-17 22:56:54.532 INFO   : zigbee2mqtt: Loading add-on zigbee2mqtt-adapter from /home/pi/.mozilla-iot/addons/zig      bee2mqtt-adapter
2019-12-17 22:56:55.004 INFO   : PageKite connected!
2019-12-17 22:56:55.007 INFO   : Starting certificate renewal.
2019-12-17 22:56:55.023 INFO   : Certificate not yet due for renewal.
2019-12-17 22:57:03.384 INFO   : Checking for add-on updates...
2019-12-17 22:57:05.839 INFO   : Not updating zigbee2mqtt-adapter since a .git directory was detected
2019-12-17 22:57:05.842 INFO   : Finished updating add-ons
  • When I try to add devices in webthings, I see an MQTT request to list devices:
zigbee2mqtt/bridge/config/devices/get (null)
zigbee2mqtt/bridge/config/devices [{"ieeeAddr":"0x00124b0019367fa1","type":"Coordinator","netw
...

the answer does contains some bulbs that I am trying to add:

    {
      "ieeeAddr": "0x14b457fffe487b91",
      "type": "Router",
      "networkAddress": 64343,
      "model": "LED1537R6",
      "friendly_name": "lum/salon/n10",
      "manufacturerID": 4476,
      "manufacturerName": "IKEA of Sweden",
      "powerSource": "Mains (single phase)",
      "modelID": "TRADFRI bulb GU10 WS 400lm",
      "hardwareVersion": 1,
      "softwareBuildID": "2.0.022",
      "dateCode": "20190308",
      "lastSeen": null
    }

(note: device needs to have / in its friend_name because that makes my node red flows way easier to maintain, but is this compatible with

this.client.subscribe(`${this.config.prefix}/+`);
?)
So I added the following in devices.js:

  'LED1537R6': {
    name: 'LED1537R6',
    '@type': ['Light', 'OnOffSwitch'],
    properties: {
      state: {
        '@type': 'OnOffProperty',
        type: 'boolean',
        fromMqtt: v => v === 'ON',
        toMqtt: v => (v ? 'ON' : 'OFF'),
      },
      brightness: {
        '@type': 'BrightnessProperty',
        type: 'number',
        minimum: 0,
        maximum: 255
      },
      color_temp: {
        type: 'integer',
        minimum: 0,
        maximum: 500,
      },
      linkquality: {
        type: 'integer',
        readOnly: true,
      },
    },
  },

but when I try to add device, the bulbs are not found:

2019-12-17 22:57:22.100 INFO   : About to call startPairing on ZigbeeMqttAdapter
2019-12-17 22:57:30.131 INFO   : Opened a new things socket
2019-12-17 22:58:22.107 INFO   : Pairing timeout
2019-12-17 22:58:22.112 ERROR  : Thing was not added
2019-12-17 22:58:22.114 ERROR  : addNewThing cancelled

Did I use the wrong name? Am I forced to factory request all my devicesand repair them from WebThings ?
I also tryed with TRADFRI bulb GU10 WS 400lm as name. I don't have supported devices to test withthem.

Issue connecting the window sensor: Cannot read property 'modelId' of undefined

I have managed to install the add-on manually, I think. The Zigbee2mqtt software is running in a terminal window, and when I press the button on the Aqara window sensor for 3 seconds I can see some messages scroll by. It seems Zigbee2MQTT is working.

The add-on also show some activity at the same time: it crashes.

2019-07-31 11:29:42.767 INFO   : Opened a new things socket
2019-07-31 11:29:48.170 ERROR  : zigbee2mqtt: /home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/zigbee2mqtt-adapter.js:83
2019-07-31 11:29:48.171 ERROR  : zigbee2mqtt:       const description = Devices[msg.device.modelId];
2019-07-31 11:29:48.172 ERROR  : zigbee2mqtt:                                              ^
2019-07-31 11:29:48.173 ERROR  : zigbee2mqtt: 
2019-07-31 11:29:48.174 ERROR  : zigbee2mqtt: TypeError: Cannot read property 'modelId' of undefined
2019-07-31 11:29:48.175 ERROR  : zigbee2mqtt:     at ZigbeeMqttAdapter.handleIncomingMessage (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/zigbee2mqtt-adapter.js:83:46)
2019-07-31 11:29:48.176 ERROR  : zigbee2mqtt:     at emitThree (events.js:136:13)
2019-07-31 11:29:48.176 ERROR  : zigbee2mqtt:     at MqttClient.emit (events.js:217:7)
2019-07-31 11:29:48.177 ERROR  : zigbee2mqtt:     at MqttClient._handlePublish (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/mqtt/lib/client.js:987:12)
2019-07-31 11:29:48.179 ERROR  : zigbee2mqtt:     at MqttClient._handlePacket (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/mqtt/lib/client.js:336:12)
2019-07-31 11:29:48.180 ERROR  : zigbee2mqtt:     at work (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/mqtt/lib/client.js:292:12)
2019-07-31 11:29:48.181 ERROR  : zigbee2mqtt:     at Writable.writable._write (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/mqtt/lib/client.js:302:5)
2019-07-31 11:29:48.182 ERROR  : zigbee2mqtt:     at doWrite (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/readable-stream/lib/_stream_writable.js:428:64)
2019-07-31 11:29:48.182 ERROR  : zigbee2mqtt:     at writeOrBuffer (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/readable-stream/lib/_stream_writable.js:417:5)
2019-07-31 11:29:48.183 ERROR  : zigbee2mqtt:     at Writable.write (/home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter/node_modules/readable-stream/lib/_stream_writable.js:334:11)

Integrate zigbee2mqtt

The latest version of my fork runs the zigbee2mqtt project from a sub-directory of the add-on. Mozilla doesn't want to accept add-ons anymore that require the installation of things onto the system.

Perhaps something like this could be incorporated into this version?

See also:
Koenkk/zigbee2mqtt#1849

Adapter Failing to Load

I have just rebuilt a brand new instance of WT 1.0.0 and am getting the following error in the logs

2021-11-07 09:29:25.358 INFO   : Loading add-on: zigbee2mqtt-adapter
2021-11-07 09:29:26.903 INFO   : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3
2021-11-07 09:29:26.949 INFO   : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2021-11-07 09:29:28.351 INFO   : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2021-11-07 09:29:30.752 INFO   : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter
2021-11-07 09:29:30.940 INFO   : zigbee2mqtt-adapter: Debugging is enabled
2021-11-07 09:29:30.944 INFO   : zigbee2mqtt-adapter: { local_zigbee2mqtt: true,
2021-11-07 09:29:30.945 INFO   : zigbee2mqtt-adapter:   auto_update: false,
2021-11-07 09:29:30.947 INFO   : zigbee2mqtt-adapter:   mqtt: 'mqtt://localhost',
2021-11-07 09:29:30.949 INFO   : zigbee2mqtt-adapter:   prefix: 'zigbee2mqtt',
2021-11-07 09:29:30.950 INFO   : zigbee2mqtt-adapter:   serial_port: '',
2021-11-07 09:29:30.951 INFO   : zigbee2mqtt-adapter:   channel: '11',
2021-11-07 09:29:30.953 INFO   : zigbee2mqtt-adapter:   ikea_test_server: false,
2021-11-07 09:29:30.954 INFO   : zigbee2mqtt-adapter:   virtual_brightness_alternative: false,
2021-11-07 09:29:30.955 INFO   : zigbee2mqtt-adapter:   debug: true }
2021-11-07 09:29:30.958 INFO   : zigbee2mqtt-adapter: OS: linux
2021-11-07 09:29:30.959 INFO   : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH
2021-11-07 09:29:30.961 INFO   : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect.
2021-11-07 09:29:30.980 INFO   : zigbee2mqtt-adapter: line: total 0
2021-11-07 09:29:30.982 INFO   : zigbee2mqtt-adapter: line: lrwxrwxrwx 1 root root 13 Nov  7 09:26 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B00193B1876-if00 -> ../../ttyACM0
2021-11-07 09:29:30.984 INFO   : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0
2021-11-07 09:29:30.986 INFO   : zigbee2mqtt-adapter: line: 
2021-11-07 09:29:30.987 INFO   : zigbee2mqtt-adapter: this.zigbee2mqtt_data_dir_path =  /home/pi/.webthings/data/zigbee2mqtt-adapter
2021-11-07 09:29:30.989 INFO   : zigbee2mqtt-adapter: this.zigbee2mqtt_dir_path =  /home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt
2021-11-07 09:29:30.992 INFO   : zigbee2mqtt-adapter: this.config.local_zigbee2mqtt = true
2021-11-07 09:29:30.994 INFO   : zigbee2mqtt-adapter: zigbee2mqtt folder existed.
2021-11-07 09:29:30.996 INFO   : zigbee2mqtt-adapter: in run_zigbee2mqtt
2021-11-07 09:29:30.997 INFO   : zigbee2mqtt-adapter: Checking if config file exists
2021-11-07 09:29:31.001 INFO   : zigbee2mqtt-adapter: using Zigbee2MQTT's built-in simulated brightness feature
2021-11-07 09:29:31.003 INFO   : zigbee2mqtt-adapter: basic configuration.yaml file was succesfully created!
2021-11-07 09:29:41.001 INFO   : zigbee2mqtt-adapter: attempting to latch onto MQTT
2021-11-07 09:29:41.127 INFO   : zigbee2mqtt-adapter: starting zigbee2MQTT using: node /home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js
2021-11-07 09:29:41.130 INFO   : zigbee2mqtt-adapter: initial this.config.serial_port = /dev/ttyACM0
2021-11-07 09:29:41.131 INFO   : zigbee2mqtt-adapter: this.zigbee2mqtt_configuration_devices_file_path = /home/pi/.webthings/data/zigbee2mqtt-adapter/devices.yaml
2021-11-07 09:29:41.133 INFO   : zigbee2mqtt-adapter: this.zigbee2mqtt_configuration_log_path = /home/pi/.webthings/data/zigbee2mqtt-adapter/log
2021-11-07 09:29:41.134 INFO   : zigbee2mqtt-adapter: Using IKEA test server for firmware updates? false
2021-11-07 09:29:41.447 INFO   : zigbee2mqtt-adapter: ola stderr: internal/modules/cjs/loader.js:638
2021-11-07 09:29:41.449 INFO   : zigbee2mqtt-adapter:     throw err;
2021-11-07 09:29:41.450 INFO   : zigbee2mqtt-adapter:     ^
2021-11-07 09:29:41.452 INFO   : zigbee2mqtt-adapter: 
2021-11-07 09:29:41.454 INFO   : zigbee2mqtt-adapter: Error: Cannot find module 'core-js/features/object/from-entries'
2021-11-07 09:29:41.456 INFO   : zigbee2mqtt-adapter:     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
2021-11-07 09:29:41.457 INFO   : zigbee2mqtt-adapter:     at Function.Module._load (internal/modules/cjs/loader.js:562:25)
2021-11-07 09:29:41.459 INFO   : zigbee2mqtt-adapter:     at Module.require (internal/modules/cjs/loader.js:692:17)
2021-11-07 09:29:41.461 INFO   : zigbee2mqtt-adapter:     at require (internal/modules/cjs/helpers.js:25:18)
2021-11-07 09:29:41.463 INFO   : zigbee2mqtt-adapter:     at Object.<anonymous> (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:1:1)
2021-11-07 09:29:41.464 INFO   : zigbee2mqtt-adapter:     at Module._compile (internal/modules/cjs/loader.js:778:30)
2021-11-07 09:29:41.465 INFO   : zigbee2mqtt-adapter:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2021-11-07 09:29:41.467 INFO   : zigbee2mqtt-adapter:     at Module.load (internal/modules/cjs/loader.js:653:32)
2021-11-07 09:29:41.468 INFO   : zigbee2mqtt-adapter:     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2021-11-07 09:29:41.469 INFO   : zigbee2mqtt-adapter:     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
2021-11-07 09:29:41.470 INFO   : zigbee2mqtt-adapter: 
2021-11-07 09:29:41.473 INFO   : zigbee2mqtt-adapter: ola closing code: 1

ledvance smart+ mini switch

Hi,

I realized that for the Ledvance smart+ mini switch the thing on the thing page shows actions like on/off when pressing the up/down button but when using this device in the rules section there is only the actions up/down available.
Thus rules are never triggered. Any clues how I can change that behaviour?

Adding startup check

It could be a good idea to check if the zigbee addon is installed and/or active on zigbee2mqtt startup and maybe log an error message if it's true, it could help lot of users since people don'T seem to know both addon can'T run at the same time.

Issue with webthings 1.1.0-alpha2

i updated to webthings 1.1.0-alpha2 and i now have this issue(fresh install from .img)

022-12-06 13:14:48.015 INFO   : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3
2022-12-06 13:14:48.065 INFO   : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2022-12-06 13:14:50.433 INFO   : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2022-12-06 13:14:54.949 INFO   : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter
2022-12-06 13:14:55.134 ERROR  : zigbee2mqtt-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.name`, please read the `id` field from your manifest.json instead.
2022-12-06 13:14:55.135 ERROR  : zigbee2mqtt-adapter: The `manifest` object is deprecated and will be removed soon. Instead of using `manifest.moziot`, please read the user configuration with the `Database` class instead.
2022-12-06 13:14:55.140 INFO   : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH
2022-12-06 13:14:55.141 INFO   : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect.
2022-12-06 13:14:55.175 INFO   : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0
2022-12-06 13:14:55.177 INFO   : zigbee2mqtt-adapter: this.zigbee2mqtt_dir_path =  /home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt
2022-12-06 13:14:55.210 INFO   : zigbee2mqtt-adapter: basic configuration.yaml file was succesfully created!
2022-12-06 13:15:05.187 INFO   : zigbee2mqtt-adapter: attempting to latch onto MQTT
2022-12-06 13:15:05.928 INFO   : zigbee2mqtt-adapter: ola running stdout: 		Zigbee2MQTT requires node version ^14 || ^16 || ^18 || ^19, you are running v10.24.1!
2022-12-06 13:15:05.930 INFO   : zigbee2mqtt-adapter: 
2022-12-06 13:15:05.932 INFO   : zigbee2mqtt-adapter: 
2022-12-06 13:15:09.092 INFO   : zigbee2mqtt-adapter: ola stderr: (node:7439) UnhandledPromiseRejectionWarning: /home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/node_modules/axios/index.js:1
2022-12-06 13:15:09.093 INFO   : zigbee2mqtt-adapter: import axios from './lib/axios.js';
2022-12-06 13:15:09.095 INFO   : zigbee2mqtt-adapter:        ^^^^^
2022-12-06 13:15:09.097 INFO   : zigbee2mqtt-adapter: 
2022-12-06 13:15:09.108 INFO   : zigbee2mqtt-adapter: SyntaxError: Unexpected identifier
2022-12-06 13:15:09.110 INFO   : zigbee2mqtt-adapter:     at Module._compile (internal/modules/cjs/loader.js:723:23)
2022-12-06 13:15:09.112 INFO   : zigbee2mqtt-adapter:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2022-12-06 13:15:09.113 INFO   : zigbee2mqtt-adapter:     at Module.load (internal/modules/cjs/loader.js:653:32)
2022-12-06 13:15:09.115 INFO   : zigbee2mqtt-adapter:     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2022-12-06 13:15:09.117 INFO   : zigbee2mqtt-adapter:     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
2022-12-06 13:15:09.119 INFO   : zigbee2mqtt-adapter:     at Module.require (internal/modules/cjs/loader.js:692:17)
2022-12-06 13:15:09.121 INFO   : zigbee2mqtt-adapter:     at require (internal/modules/cjs/helpers.js:25:18)
2022-12-06 13:15:09.123 INFO   : zigbee2mqtt-adapter:     at Object.getAxios (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/ota/common.js:464:19)
2022-12-06 13:15:09.125 INFO   : zigbee2mqtt-adapter:     at Object.<anonymous> (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/node_modules/zigbee-herdsman-converters/lib/ota/inovelli.js:2:22)
2022-12-06 13:15:09.127 INFO   : zigbee2mqtt-adapter:     at Module._compile (internal/modules/cjs/loader.js:778:30)
2022-12-06 13:15:09.129 INFO   : zigbee2mqtt-adapter: 
2022-12-06 13:15:09.131 INFO   : zigbee2mqtt-adapter: ola stderr: (node:7439) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
2022-12-06 13:15:09.132 INFO   : zigbee2mqtt-adapter: (node:7439) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Tradfri remote events

Hi,

I have a tradfri remote paired to the gateway
and realised that it seems there are not separate events triggered when a button is pressed twice.
e.g. when pressing the toggle button in the middle the action variable is only changed if another button was pressed before. This complicates or completely makes rules not working because there only an action state not an event is recognized. Is there anyway to also make events available for this device?

After installation, I couldn't see zigbee2mqtt in addons.

I finished installation, this is my log.
pi@gateway:~/.mozilla-iot/addons/zigbee2mqtt $ ./package.sh
npm notice
npm notice 📦 [email protected]
npm notice === Tarball Contents ===
npm notice 16.7kB LICENSE
npm notice 473B SHA256SUMS
npm notice 358B index.js
npm notice 4.1kB zigbee2mqtt-adapter.js
npm notice 1.3kB package.json
npm notice 894B README.md
npm notice === Tarball Details ===
npm notice name: zigbee2mqtt-adapter
npm notice version: 0.2.6
npm notice filename: zigbee2mqtt-adapter-0.2.6.tgz
npm notice package size: 8.0 kB
npm notice unpacked size: 23.9 kB
npm notice shasum: a7a747a58e0240108f4cb02edb6ff1b6736265cc
npm notice integrity: sha512-yQlKbNxyrfrK2[...]uYW3Mk8m5HXRA==
npm notice total files: 6
npm notice
zigbee2mqtt-adapter-0.2.6.tgz

But I couldn't see zigbee2mqtt in addons.
My WebThings Gateway version for Raspberry Pi is "0.12".

Xiaomi Mi Wireless Switch

First of all, awesome addon!
I successfully managed to pair my Xiaomi Mi Wireless Switch using this add-on.
The problem is the button's clicks are represented as property rather than as an event.
Thus the rule-engine will only detect a change from single click to long click but not two single clicks after another.

some actions created with Things are not triggering webthings.io rules

Detailed thread here: https://discourse.mozilla.org/t/rules-not-responding-to-some-actions-with-zigbee2mqtt/97022/8

I’ve recently switched from the legacy Zigbee add-on to the zigbee2mqtt add-on. I can see it’s quite a bit more powerful, but I’m having issues with pretty multiple Zigbee device I’ve tried, specifically buttons/remotes. Sometimes some buttons will work fine, but some actions such as long/double press don't work as expected. The Actions will be visible in the logs, but the actions are not triggering rules.

An example:

With the new Ikea Styrbar remote I can see all the exposed actions, and those actions are emitted when I click the corresponding button on the remote.

Screen Shot 2022-05-08 at 6 38 56 PM

In this example, l’ve selected arrow left click. When I click the left arrow on the remote, I see the action being read by the Thing, but if I build a Rule that uses the action as a trigger, the Rule is never triggered.

Screen Shot 2022-05-08 at 6 38 36 PM

The issue is not limited to the Ikea Styrbar remote. I’m also seeing issues with a SmartThings button. The button supports single, double clicks and long-press. I’ve set up a rules that respond to all three actions, but only the single click and the long-press rules are triggered. The Thing sees the double-click event, but it doesn’t trigger the Rule.

Since the Thing sees the action happening, I’m perplexed as to why the Rules are being triggered.

Is there something obvious I’m missing?

I’ve checked in /extensions/zigbee2mqtt-adapter to see if a pending update for any of my devices is available, but the Update button is dimmed for all of them, so I guess there aren’t any pending update.

I see this in the logs after clicking the left-button:

2022-05-09 17:57:16.534 INFO   : zigbee2mqtt-adapter: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ * * *
2022-05-09 17:57:16.535 INFO   : zigbee2mqtt-adapter: in incoming message, topic: zigbee2mqtt/0x04cd15fffe9d43bd
2022-05-09 17:57:16.536 INFO   : zigbee2mqtt-adapter: zigbee2mqtt
2022-05-09 17:57:16.537 INFO   : zigbee2mqtt-adapter: - zigbee_id = 0x04cd15fffe9d43bd
2022-05-09 17:57:16.537 INFO   : zigbee2mqtt-adapter: action -> 
2022-05-09 17:57:16.538 INFO   : zigbee2mqtt-adapter: arrow left click
2022-05-09 17:57:16.539 INFO   : zigbee2mqtt-adapter: battery -> 
2022-05-09 17:57:16.539 INFO   : zigbee2mqtt-adapter: 100
2022-05-09 17:57:16.545 INFO   : zigbee2mqtt-adapter: linkquality -> 
2022-05-09 17:57:16.547 INFO   : zigbee2mqtt-adapter: 159
2022-05-09 17:57:16.547 INFO   : zigbee2mqtt-adapter: - that property could not be found: update
2022-05-09 17:57:16.548 INFO   : zigbee2mqtt-adapter: - ignoring update property

If I update the rule to use the on action instead of arrow left click the rule is triggered
when I click on the up button on the remote.

2022-05-10 07:55:48.049 INFO   : zigbee2mqtt-adapter: zigbee2mqtt
2022-05-10 07:55:48.050 INFO   : zigbee2mqtt-adapter: - zigbee_id = 0x04cd15fffe9d43bd
2022-05-10 07:55:48.051 INFO   : zigbee2mqtt-adapter: extra_boolean updated
2022-05-10 07:55:48.052 INFO   : zigbee2mqtt-adapter: action -> 
2022-05-10 07:55:48.053 INFO   : zigbee2mqtt-adapter: on
2022-05-10 07:55:48.066 INFO   : zigbee2mqtt-adapter: battery -> 
2022-05-10 07:55:48.067 INFO   : zigbee2mqtt-adapter: 100
2022-05-10 07:55:48.068 INFO   : zigbee2mqtt-adapter: linkquality -> 
2022-05-10 07:55:48.070 INFO   : zigbee2mqtt-adapter: 159
2022-05-10 07:55:48.072 INFO   : zigbee2mqtt-adapter: - that property could not be found: update
2022-05-10 07:55:48.073 INFO   : zigbee2mqtt-adapter: - ignoring update property```

Configuration for "homeassistant: true" Not Persisting

Hi,
Really like the addon and have had it working beautiful as a gateway transmitting to homeassistant in the past. Now that I wish to push forward with my project I cannot figure out how I got it to work previously and I think there is something awry with the configuration files.

I have things connected and correctly transmitting to home assistant and the home assistant integration is sniffing the payloads off the broker (example below). But the formatting of them is I believe not what homeassistant is expecting. The original z2m project has a configuration for this to make it easy to pass data through to HA but when I manually adjust the configuration.yaml this is continually overwitten.

Here is an example of a payload not in HA format:

Message 219 received on zigbee2mqtt/0x60a423fffe3d56ca at 10:21 PM:
{
    "battery": 73,
    "humidity": 71.47,
    "linkquality": 131,
    "temperature": 21.18,
    "voltage": 2800
}

Here is an example of a payload showing the bridge configuration - note homeassistant: false even though I have configured it.

Message 200 received on homeassistant/bridge/info at 10:21 PM:
{
    "commit": "41b67fd",
    "config": {
        "advanced": {
            "adapter_concurrent": null,
            "adapter_delay": null,
            "availability_blacklist": [],
            "availability_blocklist": [],
            "availability_passlist": [],
            "availability_timeout": 10,
            "availability_whitelist": [],
            "cache_state": true,
            "cache_state_persistent": true,
            "cache_state_send_on_startup": true,
            "channel": 11,
            "elapsed": false,
            "ext_pan_id": [
                221,
                221,
                221,
                221,
                221,
                221,
                221,
                221
            ],
            "homeassistant_discovery_topic": "homeassistant",
            "homeassistant_legacy_entity_attributes": true,
            "homeassistant_legacy_triggers": true,
            "homeassistant_status_topic": "hass/status",
            "ikea_ota_use_test_url": false,
            "last_seen": "disable",
            "legacy_api": false,
            "log_directory": "/home/pi/.webthings/data/zigbee2mqtt-adapter/log",
            "log_file": "Zigbee2MQTT-adapter-%TIMESTAMP%.txt",
            "log_level": "debug",
            "log_output": [
                "console",
                "file"
            ],
            "log_rotation": true,
            "log_symlink_current": false,
            "log_syslog": {},
            "pan_id": 6754,
            "report": false,
            "soft_reset_timeout": 0,
            "timestamp_format": "YYYY-MM-DD HH:mm:ss"
        },
        "ban": [],
        "blocklist": [],
        "device_options": {
            "legacy": false,
            "simulated_brightness": {
                "delta": 2,
                "interval": 100
            }
        },
        "devices": {
            "0x60a423fffe3d56ca": {
                "friendly_name": "0x60a423fffe3d56ca"
            }
        },
        "experimental": {
            "output": "json"
        },
        "external_converters": [],
        "groups": {},
        "homeassistant": false,
        "map_options": {
            "graphviz": {
                "colors": {
                    "fill": {
                        "coordinator": "#333333",
                        "enddevice": "#CCCCCC",
                        "router": "#666666"
                    },
                    "font": {
                        "coordinator": "#ffffff",
                        "enddevice": "#000000",
                        "router": "#ffffff"
                    },
                    "line": {
                        "active": "#5d9bc7",
                        "inactive": "#554444"
                    }
                }
            }
        },
        "mqtt": {
            "base_topic": "homeassistant",
            "force_disable_retain": false,
            "include_device_information": false,
            "server": "............[.....]

zigbee2mqtt not working

Hi,

yesterday I installed the zigbee2mqtt adapter and it does not work for me.
Logfile says some error messages:

2021-09-18 12:14:56.660 ERROR : zigbee2mqtt-adapter: (node:6080) UnhandledPromiseRejectionWarning: Error: Command failed: npm run build 2021-09-18 12:14:56.661 ERROR : zigbee2mqtt-adapter: sh: 1: tsc: not found 2021-09-18 12:14:56.662 ERROR : zigbee2mqtt-adapter: npm ERR! code ELIFECYCLE 2021-09-18 12:14:56.662 ERROR : zigbee2mqtt-adapter: npm ERR! syscall spawn 2021-09-18 12:14:56.663 ERROR : zigbee2mqtt-adapter: npm ERR! file sh 2021-09-18 12:14:56.664 ERROR : zigbee2mqtt-adapter: npm ERR! errno ENOENT 2021-09-18 12:14:56.665 ERROR : zigbee2mqtt-adapter: npm ERR! [email protected] build: tsc && node index.js writehash 2021-09-18 12:14:56.665 ERROR : zigbee2mqtt-adapter: npm ERR! spawn ENOENT 2021-09-18 12:14:56.666 ERROR : zigbee2mqtt-adapter: npm ERR! 2021-09-18 12:14:56.667 ERROR : zigbee2mqtt-adapter: npm ERR! Failed at the [email protected] build script. 2021-09-18 12:14:56.667 ERROR : zigbee2mqtt-adapter: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2021-09-18 12:14:56.668 ERROR : zigbee2mqtt-adapter: 2021-09-18 12:14:56.669 ERROR : zigbee2mqtt-adapter: npm ERR! A complete log of this run can be found in: 2021-09-18 12:14:56.684 ERROR : zigbee2mqtt-adapter: npm ERR! /home/pi/.npm/_logs/2021-09-18T10_14_56_614Z-debug.log 2021-09-18 12:14:56.685 ERROR : zigbee2mqtt-adapter: 2021-09-18 12:14:56.686 ERROR : zigbee2mqtt-adapter: at ChildProcess.exithandler (child_process.js:294:12) 2021-09-18 12:14:56.687 ERROR : zigbee2mqtt-adapter: at ChildProcess.emit (events.js:198:13) 2021-09-18 12:14:56.687 ERROR : zigbee2mqtt-adapter: at maybeClose (internal/child_process.js:982:16) 2021-09-18 12:14:56.689 ERROR : zigbee2mqtt-adapter: at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 2021-09-18 12:14:56.697 ERROR : zigbee2mqtt-adapter: (node:6080) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 2021-09-18 12:14:56.699 ERROR : zigbee2mqtt-adapter: (node:6080) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I had some issues with mosquiito when using voco and have to restart a mosquitto manually when rebooting the gateway.
see voco issue 21

thanks a lot for helping out here.

Becoming co-maintainer

Hi @kabbi,

Thank you very much for the brilliant addon!
I wonder if I could become a co-maintainer.
I have a lot of experience with making adapters and I intend to switch to this addon for my Zigbee devices.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.