rultor.com logo This build log was produced by rultor.com for zerocracy/zerocracy-mcp-server#4
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1153
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Tue Apr 29 14:25:23 UTC 2025
+ uptime
 14:25:23 up 1 min,  0 users,  load average: 1.34, 0.40, 0.14
+ 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.1
+ vars=('--env=head=git@github.com:zerocracy/zerocracy-mcp-server.git' '--env=tag=0.0.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''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.1'\''' ';' '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_4
+ as_root=false
+ hostname
ip-172-31-31-234
+ pwd
/tmp/rultor-vfyr
+ 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.1'\''' ';' '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.1 ']'
+ [[ 0.0.1 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.0.1"'
tag name is valid: "0.0.1"
+ cd repo
++ git tag -l 0.0.1
+ '[' ']'
+ 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.14
++ bc
++ echo 0.14 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.14, low enough to run a new Docker container'
load average is 0.14, 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
19f1f54854d6: Verifying Checksum
19f1f54854d6: Download complete
5d174db1ceb2: Verifying Checksum
5d174db1ceb2: Download complete
68201ec6e581: Verifying Checksum
68201ec6e581: 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
a636019cf292: Verifying Checksum
a636019cf292: Download complete
93a383e9e423: Verifying Checksum
93a383e9e423: Download complete
b3ee2c8b8446: Verifying Checksum
b3ee2c8b8446: Download complete
b1404aceef3a: Verifying Checksum
b1404aceef3a: Download complete
8d3bcd15f7fe: Verifying Checksum
8d3bcd15f7fe: 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_4\s*$'
+ ls -al .
total 52
drwx------  3 ubuntu ubuntu 4096 Apr 29 14:25 .
drwxrwxrwt 12 root   root   4096 Apr 29 14:25 ..
-rwxrwxr-x  1 ubuntu ubuntu 2089 Apr 29 14:25 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  490 Apr 29 14:25 entry.sh
-rw-rw-r--  1 ubuntu ubuntu   74 Apr 29 14:25 npmrc
-rw-rw-r--  1 ubuntu ubuntu    5 Apr 29 14:25 pid
drwxrwxr-x  8 ubuntu ubuntu 4096 Apr 29 14:25 repo
-rwxrwxr-x  1 ubuntu ubuntu 9272 Apr 29 14:25 run.sh
-rw-rw-r--  1 ubuntu ubuntu  659 Apr 29 14:25 script.sh
-rw-rw-r--  1 ubuntu ubuntu 6551 Apr 29 14:25 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-vfyr:/main --env=head=git@github.com:zerocracy/zerocracy-mcp-server.git --env=tag=0.0.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''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-vfyr/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=zerocracy_zerocracy-mcp-server_4 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.1' ; 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-29 14:25:59 - 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 [359 kB]
Get:64http://deb.debian.org/debiangbullseye-updates/main amd64 Packages [18.8 kB]
Fetchedo8,631]kBsinr2s0(3,686 kB/s)
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 0 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(8,922 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 ino0s (61.3 kB/s)
Reading package lists... Done
1;34m2025-04-29 14:26:08 - Repository configured successfully.0m
38;5;79m2025-04-29 14:26:08 - To install Node.js, run: apt-get install nodejs -y0m
38;5;79m2025-04-29 14:26:08 - You can use N|solid Runtime as a node.js alternative0m
1;32m2025-04-29 14:26:08 - 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 0 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 (50.4]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⠋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⠙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⠙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⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K
added 457 packages, and audited 458 packages in 9s
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 (235481 bytes)
/home/r/repo/package.json is a binary file (993 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/copyrights.yml ...
Reading .github/workflows/eslint.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 src/baza.ts ...
Reading src/server.ts ...
Reading test/baza.test.ts ...
Reading test/server.test.ts ...
npx jest --preset ts-jest --no-color --ci
1G0K⠙1G0KDetermining test suites to run...999DK
1A
 RUNS  ...
1A
 RUNS  ...
1APASS test/server.test.ts (7.913 s)

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

 RUNS  ...
1A999DK
Test Suites: 2 passed, 2 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        9.372 s
Ran all test suites.
1G0K⠙1G0Knpx eslint . --config eslint.config.mjs
1G0K⠙1G0K1G0K⠙1G0Kmkdir -p temp
npx @modelcontextprotocol/inspector \
        --config fixtures/claude-desktop-config.json \
        --server zerocracy \
        --cli --method tools/list > temp/tools.json
if ! jq empty temp/tools.json; then
cat temp/tools.json
exit 1
fi
091753d303a23600c58f2d1e13a1034a879fd96e337b1bf88d640a62891ef778
Error response from daemon: Cannot kill container: 091753d303a23600c58f2d1e13a1034a879fd96e337b1bf88d640a62891ef778: container 091753d303a23600c58f2d1e13a1034a879fd96e337b1bf88d640a62891ef778 is not running
container 091753d303a23600c58f2d1e13a1034a879fd96e337b1bf88d640a62891ef778 is dead
Tue Apr 29 14:32:15 UTC 2025