rultor.com logo This build log was produced by rultor.com for zerocracy/zerocracy-mcp-server#6
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1222
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Wed Apr 30 15:33:25 UTC 2025
+ uptime
 15:33:25 up 1 min,  0 users,  load average: 0.99, 0.42, 0.16
+ head=git@github.com:zerocracy/zerocracy-mcp-server.git
+ ff=default
+ image=yegor256/ruby
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.0.3
+ vars=('--env=head=git@github.com:zerocracy/zerocracy-mcp-server.git' '--env=tag=0.0.3' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.3'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo /usr/bin/install-node.sh'\'' '\'';'\'' '\''npm install --no-color'\'' '\'';'\'' '\''pdd -f /dev/null -v'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/" package.json'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/" src/server.ts'\'' '\'';'\'' '\''make'\'' '\'';'\'' '\''git commit -am "set version to ${tag}"'\'' '\'';'\'' '\''chmod 600 ../npmrc'\'' '\'';'\'' '\''npm publish --no-color --userconfig=../npmrc'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''' ';' 'export '\''tag=0.0.3'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo /usr/bin/install-node.sh' ';' 'npm install --no-color' ';' 'pdd -f /dev/null -v' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i "s/0\.0\.0/${tag}/" package.json' ';' 'sed -i "s/0\.0\.0/${tag}/" src/server.ts' ';' 'make' ';' 'git commit -am "set version to ${tag}"' ';' 'chmod 600 ../npmrc' ';' 'npm publish --no-color --userconfig=../npmrc' ';')
+ directory=
+ container=zerocracy_zerocracy-mcp-server_6
+ as_root=false
+ hostname
ip-172-31-19-150
+ pwd
/tmp/rultor-RnTJ
+ git --version
git version 2.34.1
+ docker --version
Docker version 25.0.3, build 4debf41
+ mkdir -p /home/ubuntu/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/ubuntu/.ssh/config
+ git clone git@github.com:zerocracy/zerocracy-mcp-server.git repo
Cloning into 'repo'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'export '\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''' ';' 'export '\''tag=0.0.3'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo /usr/bin/install-node.sh' ';' 'npm install --no-color' ';' 'pdd -f /dev/null -v' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i "s/0\.0\.0/${tag}/" package.json' ';' 'sed -i "s/0\.0\.0/${tag}/" src/server.ts' ';' make ';' 'git commit -am "set version to ${tag}"' ';' 'chmod 600 ../npmrc' ';' 'npm publish --no-color --userconfig=../npmrc' ';'
+ sensitive=()
+ rm -rf .gnupg
+ set -ex
+ '[' -z 0.0.3 ']'
+ [[ 0.0.3 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.0.3"'
tag name is valid: "0.0.3"
+ cd repo
++ git tag -l 0.0.3
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.17
++ bc
++ echo 0.17 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.17, low enough to run a new Docker container'
load average is 0.17, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/ruby
+ docker pull yegor256/ruby
Using default tag: latest
latest: Pulling from yegor256/ruby
19f1f54854d6: Pulling fs layer
3ee1ef79bfdc: Pulling fs layer
68201ec6e581: Pulling fs layer
b3ee2c8b8446: Pulling fs layer
5d174db1ceb2: Pulling fs layer
621eb568a8b7: Pulling fs layer
40bed440eda0: Pulling fs layer
4f4fb700ef54: Pulling fs layer
834a2e8fb218: Pulling fs layer
44bddc08521c: Pulling fs layer
ad5d9f41d144: Pulling fs layer
1867b3ac1bcd: Pulling fs layer
a636019cf292: Pulling fs layer
93a383e9e423: Pulling fs layer
b1404aceef3a: Pulling fs layer
8d3bcd15f7fe: Pulling fs layer
b3ee2c8b8446: Waiting
5d174db1ceb2: Waiting
621eb568a8b7: Waiting
40bed440eda0: Waiting
4f4fb700ef54: Waiting
834a2e8fb218: Waiting
44bddc08521c: Waiting
ad5d9f41d144: Waiting
1867b3ac1bcd: Waiting
a636019cf292: Waiting
93a383e9e423: Waiting
b1404aceef3a: Waiting
8d3bcd15f7fe: Waiting
3ee1ef79bfdc: Verifying Checksum
3ee1ef79bfdc: Download complete
68201ec6e581: Verifying Checksum
68201ec6e581: Download complete
19f1f54854d6: Verifying Checksum
19f1f54854d6: Download complete
5d174db1ceb2: Verifying Checksum
5d174db1ceb2: Download complete
40bed440eda0: Verifying Checksum
40bed440eda0: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
621eb568a8b7: Verifying Checksum
621eb568a8b7: Download complete
834a2e8fb218: Verifying Checksum
834a2e8fb218: Download complete
44bddc08521c: Verifying Checksum
44bddc08521c: Download complete
ad5d9f41d144: Verifying Checksum
ad5d9f41d144: Download complete
1867b3ac1bcd: Verifying Checksum
1867b3ac1bcd: Download complete
93a383e9e423: Verifying Checksum
93a383e9e423: Download complete
a636019cf292: Verifying Checksum
a636019cf292: Download complete
b1404aceef3a: Verifying Checksum
b1404aceef3a: Download complete
8d3bcd15f7fe: Verifying Checksum
8d3bcd15f7fe: Download complete
b3ee2c8b8446: Verifying Checksum
b3ee2c8b8446: Download complete
19f1f54854d6: Pull complete
3ee1ef79bfdc: Pull complete
68201ec6e581: Pull complete
b3ee2c8b8446: Pull complete
5d174db1ceb2: Pull complete
621eb568a8b7: Pull complete
40bed440eda0: Pull complete
4f4fb700ef54: Pull complete
834a2e8fb218: Pull complete
44bddc08521c: Pull complete
ad5d9f41d144: Pull complete
1867b3ac1bcd: Pull complete
a636019cf292: Pull complete
93a383e9e423: Pull complete
b1404aceef3a: Pull complete
8d3bcd15f7fe: Pull complete
Digest: sha256:7d8b50fb3b62eb230b1b0aa1cfab8006e5b136aa9c876ff3a0226836b2b57916
Status: Downloaded newer image for yegor256/ruby:latest
docker.io/yegor256/ruby:latest
+ docker ps --filter=status=exited
+ grep --quiet '\szerocracy_zerocracy-mcp-server_6\s*$'
+ ls -al .
total 52
drwx------  3 ubuntu ubuntu 4096 Apr 30 15:33 .
drwxrwxrwt 12 root   root   4096 Apr 30 15:33 ..
-rwxrwxr-x  1 ubuntu ubuntu 2089 Apr 30 15:33 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  490 Apr 30 15:33 entry.sh
-rw-rw-r--  1 ubuntu ubuntu   74 Apr 30 15:33 npmrc
-rw-rw-r--  1 ubuntu ubuntu    5 Apr 30 15:33 pid
drwxrwxr-x  8 ubuntu ubuntu 4096 Apr 30 15:33 repo
-rwxrwxr-x  1 ubuntu ubuntu 9272 Apr 30 15:33 run.sh
-rw-rw-r--  1 ubuntu ubuntu  659 Apr 30 15:33 script.sh
-rw-rw-r--  1 ubuntu ubuntu 6551 Apr 30 15:34 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-RnTJ:/main --env=head=git@github.com:zerocracy/zerocracy-mcp-server.git --env=tag=0.0.3 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.3'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo /usr/bin/install-node.sh'\'' '\'';'\'' '\''npm install --no-color'\'' '\'';'\'' '\''pdd -f /dev/null -v'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/" package.json'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/" src/server.ts'\'' '\'';'\'' '\''make'\'' '\'';'\'' '\''git commit -am "set version to ${tag}"'\'' '\'';'\'' '\''chmod 600 ../npmrc'\'' '\'';'\'' '\''npm publish --no-color --userconfig=../npmrc'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --net=host --dns 8.8.8.8 --add-host docker:127.0.0.1 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-RnTJ/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=zerocracy_zerocracy-mcp-server_6 yegor256/ruby /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
++ awk -F : '$3 > 100 { print $1 }'
++ cat /etc/group
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G nogroup r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G ssh r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G r r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.gemrc /root/.profile /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./npmrc ./pid ./repo ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ cat /home/r/script.sh
#!/bin/bash
set -e
set -o pipefail
if [ -e /home/r/.profile ]; then source /home/r/.profile; fi
shopt -s expand_aliases
alias 'sudo=sudo -i'
export HOME=/home/r
cd "${HOME}/repo"
export 'head=git@github.com:zerocracy/zerocracy-mcp-server.git' ; export 'tag=0.0.3' ; export 'head_branch=master' ; export 'author=yegor256' ; sudo /usr/bin/install-node.sh ; npm install --no-color ; pdd -f /dev/null -v ; [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 ; sed -i "s/0\.0\.0/${tag}/" package.json ; sed -i "s/0\.0\.0/${tag}/" src/server.ts ; make ; git commit -am "set version to ${tag}" ; chmod 600 ../npmrc ; npm publish --no-color --userconfig=../npmrc ;
+ su --login r --command /home/r/script.sh
+ bash
+ curl -fsSL https://deb.nodesource.com/setup_18.x
38;5;79m2025-04-30 15:34:08 - Installing pre-requisites0m
Get:1ohttp://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2ohttp://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4ohttp://deb.debian.org/debian bullseye/main amd64 Packages [8,066 kB]
Get:5ohttp://deb.debian.org/debian-security bullseye-security/main amd64 Packages [360 kB]
Get:64http://deb.debian.org/debiangbullseye-updates/main amd64 Packages [18.8 kB]
Fetchedo8,632]kBsinr2s0(5,272 kB/s)ges 0 B/18.8 kB 0%]
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20210119).
gnupg is already the newest version (2.2.27-2+deb11u2).
curl is already the newest version (7.74.0-1.3+deb11u14).
The following NEW packages will be installed:
  apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 160 kB of archives.
After this operation, 166 kB of additional disk space will be used.
Get:1ohttp://deb.debian.org/debian bullseye/main amd64 apt-transport-https all 2.2.4 [160 kB]
Fetchedo160nkBsinr0sh(5,899 kB/s) kB 0%]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package apt-transport-https.
(Reading database ... 25299 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.2.4_all.deb ...
Unpacking apt-transport-https (2.2.4) ...
Setting up apt-transport-https (2.2.4) ...
Hit:1ohttp://deb.debian.org/debian bullseye InRelease
Hit:2ohttp://deb.debian.org/debian-security2bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Get:4ohttps://deb.nodesource.com/node_18.x2nodistro InRelease [12.1 kB]
Get:5Whttps://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [11.5 kB]
Fetchedo23.7gkB ino0sk(62.05kB/s)00%]
Reading package lists... Done
1;34m2025-04-30 15:34:13 - Repository configured successfully.0m
38;5;79m2025-04-30 15:34:13 - To install Node.js, run: apt-get install nodejs -y0m
38;5;79m2025-04-30 15:34:13 - You can use N|solid Runtime as a node.js alternative0m
1;32m2025-04-30 15:34:13 - To install N|solid Runtime, run: apt-get install nsolid -y
0m
+ apt-get install --yes nodejs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 29.7 MB of archives.
After this operation, 187 MB of additional disk space will be used.
Get:1ohttps://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.20.8-1nodesource1 [29.7 MB]
Fetchedo29.7gMBBin91s (56.2]MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package nodejs.
(Reading database ... 25303 files and directories currently installed.)
Preparing to unpack .../nodejs_18.20.8-1nodesource1_amd64.deb ...
Unpacking nodejs (18.20.8-1nodesource1) ...
Setting up nodejs (18.20.8-1nodesource1) ...
+ node --version
v18.20.8
+ npm --version
10.8.2
1G0K1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0K⠋1G0Knpm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
1G0K⠋1G0K⠙1G0Knpm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0K⠋1G0K⠙1G0Knpm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K
added 471 packages, and audited 472 packages in 8s
1G0K⠇1G0K
1G0K⠇1G0K82 packages are looking for funding
1G0K⠇1G0K  run `npm fund` for details
1G0K⠇1G0K
found 0 vulnerabilities
1G0K⠇1G0Knpm notice
npm notice New major version of npm available! 10.8.2 -> 11.3.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.3.0
npm notice To update run: npm install -g npm@11.3.0
npm notice
1G0K⠇1G0KFound 8 lines in /home/r/repo/.pdd
My version is 0.23.1
Ruby version is 3.4.3 at x86_64-linux
Reading from root dir .
Excluding target/**/*
Excluding coverage/**/*
Excluding node_modules/**/*
/usr/local/bundle/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic
/home/r/repo/fixtures/claude-desktop-config.json is a binary file (189 bytes)
/home/r/repo/package-lock.json is a binary file (241904 bytes)
/home/r/repo/package.json is a binary file (1057 bytes)
/home/r/repo/renovate.json is a binary file (114 bytes)
/home/r/repo/tsconfig.json is a binary file (244 bytes)
Reading .0pdd.yml ...
Reading .gitattributes ...
Reading .github/typos.toml ...
Reading .github/workflows/actionlint.yml ...
Reading .github/workflows/codecov.yml ...
Reading .github/workflows/copyrights.yml ...
Reading .github/workflows/eslint.yml ...
Reading .github/workflows/make.yml ...
Reading .github/workflows/markdown-lint.yml ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/reuse.yml ...
Reading .github/workflows/typos.yml ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/yamllint.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rultor.yml ...
Reading .xcop ...
Reading LICENSE.txt ...
Reading LICENSES/MIT.txt ...
Reading Makefile ...
Reading README.md ...
Reading REUSE.toml ...
Reading eslint.config.mjs ...
Reading index.ts ...
Reading jest.config.ts ...
Reading src/baza.ts ...
Reading src/prompts.ts ...
Reading src/resources.ts ...
Reading src/server.ts ...
Reading src/to_gpt.ts ...
Reading src/tools.ts ...
Reading test/baza.test.ts ...
Reading test/fake-transport.ts ...
Reading test/server.test.ts ...
Reading test/to_gpt.test.ts ...
npx -y jest --config jest.config.ts --no-color --ci
1G0K⠙1G0KDetermining test suites to run...999DK
1A999DK
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1APASS test/server.test.ts (8.008 s)

 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1APASS test/baza.test.ts

 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1A
 RUNS  ...
1APASS test/to_gpt.test.ts

 RUNS  ...
1A999DKRunning coverage on untested files...999DK--------------|---------|----------|---------|---------|-------------------
File          | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------|---------|----------|---------|---------|-------------------
All files     |     100 |      100 |     100 |     100 |
 baza.ts      |     100 |      100 |     100 |     100 |
 prompts.ts   |     100 |      100 |     100 |     100 |
 resources.ts |     100 |      100 |     100 |     100 |
 server.ts    |     100 |      100 |     100 |     100 |
 to_gpt.ts    |     100 |      100 |     100 |     100 |
 tools.ts     |     100 |      100 |     100 |     100 |
--------------|---------|----------|---------|---------|-------------------

Test Suites: 3 passed, 3 total
Tests:       12 passed, 12 total
Snapshots:   0 total
Time:        9.236 s
Ran all test suites.
1G0K⠙1G0Knpx -y eslint . --config eslint.config.mjs
1G0K⠙1G0K0m0m
0m4m/home/r/repo/src/prompts.ts24m0m
0m   2m4:1022m  31merror39m  'ResourceTemplate' is defined but never used           2m@typescript-eslint/no-unused-vars22m0m
0m  2m25:122m   31merror39m  This line has a length of 103. Maximum allowed is 100  2mmax-len22m0m
0m0m
0m31m1m✖ 2 problems (2 errors, 0 warnings)22m39m0m
0m31m1m22m39m0m
1G0K⠙1G0Kmake: *** [Makefile:14: lint] Error 1
container 2b5d5683a66c19e6cca792e6f6446835f4d6b81a038a799128a98565b6068561 is dead
Wed Apr 30 15:36:10 UTC 2025