Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///c%3A/Users/deldridge/.theia'
root ERROR (node:25332) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
root INFO Theia app listening on http://localhost:55589.
root WARN The local plugin referenced by local-dir:/c%3A/Users/deldridge/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/c%3A/Users/deldridge/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:C:\Users\deldridge\.arduinoProIDE\plugins does not exist.
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@0.3.10" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:root INFO Deploying backend plugin "cortex-debug@0.3.10" from "C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\plugins\cortex-debug\extension\dist\extension"
root INFO Deploying backend plugin "vscode-arduino-tools@0.0.2-beta.1" from "C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle"
root INFO Deploying backend plugin "cpp@1.52.1" from "C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-cpp\extension"
root INFO Deploying backend plugin "json@1.46.1" from "C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json\extension"
root WARN Backend ConfigServiceImpl.onStart is slow, took: 430.9 ms
daemon INFO Starting daemon from C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
root INFO Deploying backend plugin "json-language-features@1.46.1" from "C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain"
root INFO Deploy plugins list took: 439.6 ms
daemon INFO Using config file: c:\Users\deldridge\.arduinoIDE\arduino-cli.yaml
daemon INFO arduino-cli.exe version 0.20.2
daemon INFO Executing `arduino-cli daemon`
daemon INFO Setting up Prometheus metrics on :9090/metrics
daemon INFO {"IP":"127.0.0.1","Port":"55596"}
daemon INFO Daemon is running.
daemon INFO Adding libraries dir [dir: c:\Users\deldridge\Documents\Arduino\libraries, location: user]
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Git askpass helper is listening on http://127.0.0.1:55645.
root WARN Frontend CommonFrontendContribution.configure is slow, took: 610.2 ms
root INFO Using Git [2.24.1.windows.2] from the PATH. (C:\Program Files\Git\cmd\git.exe)
root WARN Failed to resolve module: @types/body-parser
root WARN Failed to resolve module: @types/cookie
root WARN Failed to resolve module: @types/dompurify
root WARN Failed to resolve module: @types/express
root WARN Failed to resolve module: @types/fs-extra
root WARN Failed to resolve module: @types/lodash.debounce
root WARN Failed to resolve module: @types/lodash.throttle
root WARN Failed to resolve module: @types/react
root WARN Failed to resolve module: @types/react-dom
root WARN Failed to resolve module: @types/react-virtualized
root WARN Failed to resolve module: @types/route-parser
root WARN Failed to resolve module: @types/safer-buffer
root WARN Failed to resolve module: @types/ws
root WARN Failed to resolve module: @types/yargs
root WARN Failed to resolve module: @theia/monaco
root WARN Failed to resolve module: @theia/editor
root WARN Failed to resolve module: @types/multer
root WARN Failed to resolve module: @types/rimraf
root WARN Failed to resolve module: @types/tar-fs
root WARN Failed to resolve module: @types/uuid
root WARN Failed to resolve module: @theia/navigator
root WARN Failed to resolve module: @types/p-queue
root WARN Failed to resolve module: @theia/preferences
root WARN Failed to resolve module: @theia/editor-preview
root WARN Failed to resolve module: @theia/keymaps
root WARN Failed to resolve module: @theia/messages
root WARN Failed to resolve module: @types/diff
root WARN Failed to resolve module: @types/markdown-it
root WARN Failed to resolve module: @types/mime
root WARN Failed to resolve module: @types/request
root WARN Failed to resolve module: @types/atob
root WARN Failed to resolve module: @types/auth0-js
root WARN Failed to resolve module: @types/btoa
root WARN Failed to resolve module: @types/dateformat
root WARN Failed to resolve module: @types/deepmerge
root WARN Failed to resolve module: @types/glob
root WARN Failed to resolve module: @types/google-protobuf
root WARN Failed to resolve module: @types/js-yaml
root WARN Failed to resolve module: @types/keytar
root WARN Failed to resolve module: @types/ncp
root WARN Failed to resolve module: @types/node-fetch
root WARN Failed to resolve module: @types/ps-tree
root WARN Failed to resolve module: @types/react-select
root WARN Failed to resolve module: @types/react-tabs
root WARN Failed to resolve module: @types/temp
root WARN Failed to resolve module: @types/which
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
root INFO Updating index: package_esp32_index.json completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\DELDRI~1\AppData\Local\Temp\210930511.sig: The system cannot find the file specified., index: C:\Users\DELDRI~1\AppData\Local\Temp\210930511, signaturefile: C:\Users\DELDRI~1\AppData\Local\Temp\210930511.sig]
daemon INFO URL: http://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
daemon INFO Updating index [url: http://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json]
daemon INFO Checking signature [error: opening signature file: open C:\Users\DELDRI~1\AppData\Local\Temp\603273305.sig: The system cannot find the file specified., index: C:\Users\DELDRI~1\AppData\Local\Temp\603273305, signaturefile: C:\Users\DELDRI~1\AppData\Local\Temp\603273305.sig]
daemon INFO Updating libraries index
root WARN Frontend keybindings.onStart is slow, took: 210.7 ms
root WARN Frontend TabBarToolbarRegistry.onStart is slow, took: 103.4 ms
fwuploader ERROR Error: Error executing "C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\build\arduino-fwuploader.exe" firmware list --format json: unexpected end of JSON input
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x133ca55]
goroutine 1 [running]:
github.com/arduino/arduino-fwuploader/cli/firmware.list(0x0, 0x0)
/home/runner/work/arduino-fwuploader/arduino-fwuploader/cli/firmware/list.go:66 +0x55
github.com/arduino/arduino-fwuploader/cli/firmware.newListCommand.func1(0xc000192c80, 0xc00048eda0, 0x0, 0x2)
/home/runner/work/arduino-fwuploader/arduino-fwuploader/cli/firmware/list.go:42 +0x45
github.com/spf13/cobra.(*Command).execute(0xc000192c80, 0xc00048ed80, 0x2, 0x2, 0xc000192c80, 0xc00048ed80)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:856 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0xc000192280, 0x0, 0x0, 0x1381a80)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:960 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:897
main.main()
/home/runner/work/arduino-fwuploader/arduino-fwuploader/main.go:35 +0x45
at ChildProcess.<anonymous> (C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\lib\node\exec-util.js:53:31)
at ChildProcess.emit (events.js:223:5)
at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
root ERROR Request updatableBoards failed with error: Error executing "C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\build\arduino-fwuploader.exe" firmware list --format json: unexpected end of JSON input
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x133ca55]
goroutine 1 [running]:
github.com/arduino/arduino-fwuploader/cli/firmware.list(0x0, 0x0)
/home/runner/work/arduino-fwuploader/arduino-fwuploader/cli/firmware/list.go:66 +0x55
github.com/arduino/arduino-fwuploader/cli/firmware.newListCommand.func1(0xc000192c80, 0xc00048eda0, 0x0, 0x2)
/home/runner/work/arduino-fwuploader/arduino-fwuploader/cli/firmware/list.go:42 +0x45
github.com/spf13/cobra.(*Command).execute(0xc000192c80, 0xc00048ed80, 0x2, 0x2, 0xc000192c80, 0xc00048ed80)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:856 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0xc000192280, 0x0, 0x0, 0x1381a80)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:960 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:897
main.main()
/home/runner/work/arduino-fwuploader/arduino-fwuploader/main.go:35 +0x45
root ERROR DefaultJsonSchemaContribution.registerSchemas is taking more than 500.0 ms, new schemas are ignored.
root INFO Updating index: library_index.json.gz completed.
root INFO Updating index: library_index.json.sig completed.
daemon INFO Checking signature [index: c:\Users\deldridge\AppData\Local\Arduino15\package_index.json, signaturefile: c:\Users\deldridge\AppData\Local\Arduino15\package_index.json.sig, trusted: true]
daemon INFO Checking signature [error: opening signature file: open c:\Users\deldridge\AppData\Local\Arduino15\package_esp32_index.json.sig: The system cannot find the file specified., index: c:\Users\deldridge\AppData\Local\Arduino15\package_esp32_index.json, signaturefile: c:\Users\deldridge\AppData\Local\Arduino15\package_esp32_index.json.sig]
daemon INFO Loading hardware from: c:\Users\deldridge\AppData\Local\Arduino15\packages
daemon INFO Loading package arduino from: C:\Users\deldridge\AppData\Local\Arduino15\packages\arduino\hardware
daemon INFO Checking signature [error: opening signature file: open C:\Users\deldridge\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\installed.json.sig: The system cannot find the file specified., index: C:\Users\deldridge\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\installed.json, signaturefile: C:\Users\deldridge\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:avr",Installed:"1.8.5",Latest:"1.8.5",Name:"Arduino AVR Boards"}]
daemon INFO Checking existence of 'tools' path: C:\Users\deldridge\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loading tools from dir: C:\Users\deldridge\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loaded tool [tool: Version: 1.3.0 Systems: [OS: i686-linux-gnu, OS: x86_64-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 7.3.0-atmel3.6.1-arduino7 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin14, OS: i686-mingw32, OS: i686-linux-gnu, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 6.3.0-arduino17 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin12, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loading package builtin from: C:\Users\deldridge\AppData\Local\Arduino15\packages\builtin
daemon INFO Checking existence of 'tools' path: C:\Users\deldridge\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loading tools from dir: C:\Users\deldridge\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loaded tool [tool: Version: 5.8-arduino11 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 1.0.5 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 1.3.2 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 0.9.1 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Adding libraries dir [dir: C:\Users\deldridge\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries, location: platform]
daemon INFO starting discovery builtin:serial-discovery process
daemon INFO starting discovery builtin:mdns-discovery process
daemon INFO started discovery builtin:mdns-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.20.2" to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO started discovery builtin:serial-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.20.2" to discovery builtin:serial-discovery
daemon INFO from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO sending command START_SYNC to discovery builtin:serial-discovery
daemon INFO sending command START_SYNC to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:mdns-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:serial-discovery received message type: start_sync, message: OK
root WARN Frontend EditorNavigationContribution.onStart is slow, took: 5227.4 ms
root WARN Frontend WorkspaceService.onStart is slow, took: 515.4 ms
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
root INFO [9303534d-807a-4c65-8d43-d70315e1203c] Waiting for backend deployment took: 692.9 ms [Finished 14.825 s after frontend start]
root INFO [9303534d-807a-4c65-8d43-d70315e1203c] Sync of 5 plugins took: 714.9 ms [Finished 15.540 s after frontend start]
root INFO <<< The layout has been successfully restored.
root INFO [hosted-plugin: 15404] PLUGIN_HOST(15404) starting instance
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c][marus25.cortex-debug]: Loaded contributions.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c][vscode.cpp]: Loaded contributions.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c][vscode.json]: Loaded contributions.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c][vscode.json-language-features]: Loaded contributions.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c] Load contributions of 5 plugins took: 331.6 ms [Finished 18.211 s after frontend start]
root WARN Frontend EditorPreviewTreeDecorator.onDidInitializeLayout is slow, took: 333.6 ms
root INFO Finished loading frontend application after 18.359 seconds
root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
root WARN a registered grammar configuration for 'cpp' language is overridden
root INFO Changed application state from 'initialized_layout' to 'ready'.
root INFO [hosted-plugin: 15404] PLUGIN_HOST(15404): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 15404] PLUGIN_HOST(15404): initializing(cortex-debug@0.3.10 with C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15404] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 15404] PLUGIN_HOST(15404): initializing(vscode-arduino-tools@0.0.2-beta.1 with C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15404] PLUGIN_HOST(15404): initializing(cpp@1.52.1 with C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15404] PLUGIN_HOST(15404): initializing(json@1.46.1 with C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15404] PLUGIN_HOST(15404): initializing(json-language-features@1.46.1 with C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15404] PLUGIN_HOST(15404): PluginManagerExtImpl/loadPlugin(C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
root INFO [hosted-plugin: 15404] PLUGIN_HOST(15404): PluginManagerExtImpl/loadPlugin(C:\Users\deldridge\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle)
root INFO [9303534d-807a-4c65-8d43-d70315e1203c][marus25.cortex-debug]: Started plugin.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c][arduino.vscode-arduino-tools]: Started plugin.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c][vscode.cpp]: Started plugin.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c][vscode.json]: Started plugin.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c][vscode.json-language-features]: Started plugin.
root INFO [9303534d-807a-4c65-8d43-d70315e1203c] Start of 5 plugins took: 2090.9 ms [Finished 20.331 s after frontend start]
root ERROR [hosted-plugin: 15404] ApplicationInsights:CorrelationIdManager [
Error: self signed certificate in certificate chain
at TLSSocket.onConnectSecure (_tls_wrap.js:1321:34)
at TLSSocket.emit (events.js:223:5)
at TLSSocket._finishInit (_tls_wrap.js:794:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:608:12) {
code: 'SELF_SIGNED_CERT_IN_CHAIN'
}
]