[1m[32m==>[m[1m Building on v[m
[1m[32m==>[m[1m Checking for remote environment...[m
[1m[32m==>[m[1m Syncing package to remote host...[m
sending incremental file list
./
PKGBUILD
          1,399  50%    0.00kB/s    0:00:00            2,774 100%    1.31MB/s    0:00:00 (xfr#1, to-chk=4/6)
prometheus-2.40.3-1.log
            200 100%  195.31kB/s    0:00:00              200 100%  195.31kB/s    0:00:00 (xfr#2, to-chk=3/6)
prometheus.conf
             19 100%   18.55kB/s    0:00:00               19 100%   18.55kB/s    0:00:00 (xfr#3, to-chk=2/6)
prometheus.service
            700  92%  683.59kB/s    0:00:00              758 100%  740.23kB/s    0:00:00 (xfr#4, to-chk=1/6)
prometheus.sysusers
             45 100%   43.95kB/s    0:00:00               45 100%   43.95kB/s    0:00:00 (xfr#5, to-chk=0/6)

sent 917 bytes  received 162 bytes  2,158.00 bytes/sec
total size is 3,784  speedup is 3.51
[1m[32m==>[m[1m Patching arch to riscv64...[m
[1m[32m==>[m[1m Running  extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix2 on remote host...[m
[?25l:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
:: Starting full system upgrade...
 there is nothing to do
[?25h[1m[32m==>[m[1m Building in chroot for [extra] (riscv64)...[m
[1m[32m==>[m[1m Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix2]...[m[1mdone[m
[1m[32m==>[m[1m Making package: prometheus 2.40.3-1 (Wed Nov 30 19:10:40 2022)[m
[1m[32m==>[m[1m Retrieving sources...[m
[1m[34m  ->[m[1m Downloading prometheus-v2.40.3.tar.gz...[m
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0100 98304    0 98304    0     0  36579      0 --:--:--  0:00:02 --:--:-- 97138100 1351k    0 1351k    0     0   353k      0 --:--:--  0:00:03 --:--:--  629k100 4192k    0 4192k    0     0   909k      0 --:--:--  0:00:04 --:--:-- 1428k100 6012k    0 6012k    0     0  1146k      0 --:--:--  0:00:05 --:--:-- 1685k
[1m[34m  ->[m[1m Found prometheus.service[m
[1m[34m  ->[m[1m Found prometheus.sysusers[m
[1m[34m  ->[m[1m Found prometheus.conf[m
[1m[32m==>[m[1m Validating source files with sha256sums...[m
    prometheus-v2.40.3.tar.gz ... Passed
    prometheus.service ... Passed
    prometheus.sysusers ... Passed
    prometheus.conf ... Passed
[1m[32m==>[m[1m Making package: prometheus 2.40.3-1 (Wed Nov 30 19:11:27 2022)[m
[1m[32m==>[m[1m Checking runtime dependencies...[m
[1m[32m==>[m[1m Checking buildtime dependencies...[m
[1m[32m==>[m[1m Installing missing dependencies...[m
[?25lresolving dependencies...
looking for conflicting packages...

Package (20)               New Version  Net Change  Download Size

extra/c-ares               1.18.1-1       0.43 MiB               
core/libnsl                2.0.0-2        0.06 MiB               
extra/libuv                1.44.2-1       0.52 MiB               
extra/libyaml              0.2.5-1        0.14 MiB               
community/node-gyp         9.3.0-1        4.38 MiB               
community/nodejs-nopt      7.0.0-1        0.03 MiB               
extra/perl-error           0.17029-4      0.04 MiB               
extra/perl-mailtools       2.21-6         0.11 MiB               
extra/perl-timedate        2.33-4         0.08 MiB               
core/python                3.10.8-3      81.34 MiB               
community/python-pathspec  0.10.2-1       0.17 MiB       0.04 MiB
community/python-yaml      6.0-1          0.68 MiB               
community/semver           7.3.8-1        0.11 MiB               
extra/git                  2.38.1-2      32.84 MiB               
community/go               2:1.19.1-1   434.38 MiB               
community/nodejs           19.1.0-1      52.27 MiB      13.28 MiB
community/npm              8.19.2-1       6.49 MiB               
community/typescript       4.9.3-1       63.75 MiB       2.21 MiB
community/yamllint         1.28.0-1       0.34 MiB               
community/yarn             1.22.19-1      5.08 MiB               

Total Download Size:    15.53 MiB
Total Installed Size:  683.25 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 nodejs-19.1.0-1-riscv64 downloading...
 typescript-4.9.3-1-any downloading...
 python-pathspec-0.10.2-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing go...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [pending]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
installing libnsl...
installing libuv...
installing c-ares...
installing nodejs...
Optional dependencies for nodejs
    npm: nodejs package manager [pending]
installing nodejs-nopt...
installing python...
Optional dependencies for python
    python-setuptools
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
installing semver...
installing node-gyp...
installing npm...
installing python-pathspec...
installing libyaml...
installing python-yaml...
installing yamllint...
installing typescript...
installing yarn...
:: Running post-transaction hooks...
(1/1) Warn about old perl modules
[?25h[1m[32m==>[m[1m Retrieving sources...[m
[1m[34m  ->[m[1m Found prometheus-v2.40.3.tar.gz[m
[1m[34m  ->[m[1m Found prometheus.service[m
[1m[34m  ->[m[1m Found prometheus.sysusers[m
[1m[34m  ->[m[1m Found prometheus.conf[m
[1m[33m==> WARNING:[m[1m Skipping all source file integrity checks.[m
[1m[32m==>[m[1m Extracting sources...[m
[1m[34m  ->[m[1m Extracting prometheus-v2.40.3.tar.gz with bsdtar[m
[1m[32m==>[m[1m Starting build()...[m
go: downloading github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749
# get https://proxy.golang.org/github.com/shurcoo%21l/httpfs/@v/v0.0.0-20190707220628-8d4bc4ba7749.zip
# get https://proxy.golang.org/github.com/shurcoo%21l/httpfs/@v/v0.0.0-20190707220628-8d4bc4ba7749.zip: 200 OK (1.083s)
# get https://proxy.golang.org/github.com/shurcoo%21l/httpfs/@v/v0.0.0-20190707220628-8d4bc4ba7749.mod
# get https://proxy.golang.org/github.com/shurcoo%21l/httpfs/@v/v0.0.0-20190707220628-8d4bc4ba7749.mod: 200 OK (0.195s)
ui.go
cd web/ui && npm install
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated @types/react-resize-detector@6.1.0: This is a stub types definition. react-resize-detector provides its own type definitions, so you do not need this installed.
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1

added 1401 packages, and audited 1405 packages in 4m

233 packages are looking for funding
  run `npm fund` for details

9 vulnerabilities (8 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm notice 
npm notice New major version of npm available! 8.19.2 -> 9.1.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.1.2>
npm notice Run `npm install -g npm@9.1.2` to update!
npm notice 
cd web/ui && npm install
cd web/ui && CI="" npm run build

> build
> bash build_ui.sh --all

build lezer-promql

> @prometheus-io/lezer-promql@0.40.3 build
> bash ./build.sh

+ npx lezer-generator src/promql.grammar -o src/parser
Wrote src/parser.js and src/parser.terms.js
+ cat src/parser.terms.js
+ bash ./generate-types.sh
+ mkdir -p ./dist
+ indexFile=./dist/index.d.ts
+ [[ -f ./dist/index.d.ts ]]
+ cat
++ sed -E 's/ = [0-9]+/: number/' src/parser.terms.js
+ rollup -c
[36m
[1m./src/parser.js[22m → [1m./dist/index.cjs, ./dist/index.es.js[22m...[39m
[32mcreated [1m./dist/index.cjs, ./dist/index.es.js[22m in [1m1.3s[22m[39m
build codemirror-promql

> @prometheus-io/codemirror-promql@0.40.3 build
> npm run build:lib


> @prometheus-io/codemirror-promql@0.40.3 build:lib
> bash ./build.sh

+ tsc --module esnext --target es2018 --outDir dist/esm

up to date, audited 1405 packages in 50s

233 packages are looking for funding
  run `npm fund` for details

9 vulnerabilities (8 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
+ tsc --module commonjs --target es5 --outDir dist/cjs --downlevelIteration
build react-app

> @prometheus-io/app@0.40.3 build
> react-scripts build

Creating an optimized production build...
Failed to compile.

NonErrorEmittedError: (Emitted value instead of an instance of Error) [object Object]


npm ERR! Lifecycle script `build` failed with error: 
npm ERR! Error: command failed 
npm ERR!   in workspace: @prometheus-io/app@0.40.3 
npm ERR!   at location: /build/prometheus/src/prometheus-2.40.3/web/ui/react-app 
make: *** [Makefile:54: ui-build] Error 1
[1m[31m==> ERROR:[m[1m A failure occurred in build().[m
[1m    Aborting...[m
[1m[31m==> ERROR:[m[1m Build failed, check /var/lib/archbuild/extra-riscv64/felix2/build[m
receiving incremental file list
prometheus-2.40.3-1-riscv64-build.log

sent 43 bytes  received 1,610 bytes  3,306.00 bytes/sec
total size is 3,639  speedup is 2.20
