++ dirname ./run.sh
+ cd .
+ echo 1297
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Fri Oct 16 12:39:40 UTC 2026
+ uptime
12:39:40 up 1 min, 0 users, load average: 1.21, 0.43, 0.16
+ head=git@github.com:l3r8yJ/mdspec.git
+ image=rust:1.96.0-bookworm
+ head_branch=main
+ author=l3r8yj
+ tag=v0.1.6
+ vars=('--env=head=git@github.com:l3r8yJ/mdspec.git' '--env=tag=v0.1.6' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:l3r8yJ/mdspec.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=v0.1.6'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=main'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=l3r8yj'\''\'\'''\'''\'' '\'';'\'' '\''set -euo pipefail'\'' '\'';'\'' '\''apt-get update'\'' '\'';'\'' '\''apt-get install -y --no-install-recommends jq'\'' '\'';'\'' '\''just_version=1.58.0'\'' '\'';'\'' '\''just_archive="just-${just_version}-x86_64-unknown-linux-musl.tar.gz"'\'' '\'';'\'' '\''curl --fail --silent --show-error --location --retry 2 --output "/tmp/${just_archive}" "https://github.com/casey/just/releases/download/${just_version}/${just_archive}"'\'' '\'';'\'' '\''echo "4a5cc2f53e6f0f8c59092a6cc38291eb729d46a7dd95d3ae582008881b84931d /tmp/${just_archive}" | sha256sum --check --strict || { echo "just ${just_version} archive checksum mismatch" >&2; exit 1; }'\'' '\'';'\'' '\''tar --extract --file "/tmp/${just_archive}" --directory /usr/local/bin just'\'' '\'';'\'' '\''just --version'\'' '\'';'\'' '\''set -euo pipefail'\'' '\'';'\'' '\''export RELEASE_TAG="${tag}"'\'' '\'';'\'' '\''base_sha=$(git rev-parse HEAD)'\'' '\'';'\'' '\''ci_run=$(curl --fail --silent --show-error --connect-timeout 10 --max-time 30 --retry 2 --get --data-urlencode "head_sha=$base_sha" --data-urlencode branch=main --data-urlencode event=push --data-urlencode per_page=1 https://api.github.com/repos/l3r8yJ/mdspec/actions/workflows/ci.yml/runs)'\'' '\'';'\'' '\''jq --exit-status --arg sha "$base_sha" '\''\'\'''\''.workflow_runs[0] | .head_sha == $sha and .head_branch == "main" and .event == "push" and .status == "completed" and .conclusion == "success"'\''\'\'''\'' <<< "$ci_run" > /dev/null || { echo '\''\'\'''\''Release requires successful main push CI for this exact commit.'\''\'\'''\'' >&2; exit 1; }'\'' '\'';'\'' '\''just release-bump'\'' '\'';'\'' '\''just verify-tag'\'' '\'';'\'' '\''cargo_directory="${CARGO_HOME:-$HOME/.cargo}"'\'' '\'';'\'' '\''credential_path="$cargo_directory/credentials.toml"'\'' '\'';'\'' '\''[[ ! -e "$credential_path" && ! -e "$cargo_directory/credentials" ]] || { echo '\''\'\'''\''Refusing to overwrite existing Cargo credentials.'\''\'\'''\'' >&2; exit 1; }'\'' '\'';'\'' '\''test -s ../credentials || { echo '\''\'\'''\''The credentials asset is missing or empty: l3r8yJ/home#assets/crates-credentials.'\''\'\'''\'' >&2; exit 1; }'\'' '\'';'\'' '\''mkdir -p "$cargo_directory"'\'' '\'';'\'' '\''trap '\''\'\'''\''rm -f -- "$credential_path"'\''\'\'''\'' EXIT'\'' '\'';'\'' '\''install -m 600 ../credentials "$credential_path"'\'' '\'';'\'' '\''just publish'\'' '\'';'\'' )' '--env=head_branch=main' '--env=author=l3r8yj')
+ scripts=('export '\''head=git@github.com:l3r8yJ/mdspec.git'\''' ';' 'export '\''tag=v0.1.6'\''' ';' 'export '\''head_branch=main'\''' ';' 'export '\''author=l3r8yj'\''' ';' 'set -euo pipefail' ';' 'apt-get update' ';' 'apt-get install -y --no-install-recommends jq' ';' 'just_version=1.58.0' ';' 'just_archive="just-${just_version}-x86_64-unknown-linux-musl.tar.gz"' ';' 'curl --fail --silent --show-error --location --retry 2 --output "/tmp/${just_archive}" "https://github.com/casey/just/releases/download/${just_version}/${just_archive}"' ';' 'echo "4a5cc2f53e6f0f8c59092a6cc38291eb729d46a7dd95d3ae582008881b84931d /tmp/${just_archive}" | sha256sum --check --strict || { echo "just ${just_version} archive checksum mismatch" >&2; exit 1; }' ';' 'tar --extract --file "/tmp/${just_archive}" --directory /usr/local/bin just' ';' 'just --version' ';' 'set -euo pipefail' ';' 'export RELEASE_TAG="${tag}"' ';' 'base_sha=$(git rev-parse HEAD)' ';' 'ci_run=$(curl --fail --silent --show-error --connect-timeout 10 --max-time 30 --retry 2 --get --data-urlencode "head_sha=$base_sha" --data-urlencode branch=main --data-urlencode event=push --data-urlencode per_page=1 https://api.github.com/repos/l3r8yJ/mdspec/actions/workflows/ci.yml/runs)' ';' 'jq --exit-status --arg sha "$base_sha" '\''.workflow_runs[0] | .head_sha == $sha and .head_branch == "main" and .event == "push" and .status == "completed" and .conclusion == "success"'\'' <<< "$ci_run" > /dev/null || { echo '\''Release requires successful main push CI for this exact commit.'\'' >&2; exit 1; }' ';' 'just release-bump' ';' 'just verify-tag' ';' 'cargo_directory="${CARGO_HOME:-$HOME/.cargo}"' ';' 'credential_path="$cargo_directory/credentials.toml"' ';' '[[ ! -e "$credential_path" && ! -e "$cargo_directory/credentials" ]] || { echo '\''Refusing to overwrite existing Cargo credentials.'\'' >&2; exit 1; }' ';' 'test -s ../credentials || { echo '\''The credentials asset is missing or empty: l3r8yJ/home#assets/crates-credentials.'\'' >&2; exit 1; }' ';' 'mkdir -p "$cargo_directory"' ';' 'trap '\''rm -f -- "$credential_path"'\'' EXIT' ';' 'install -m 600 ../credentials "$credential_path"' ';' 'just publish' ';')
+ directory=
+ container=l3r8yj_mdspec_70
+ as_root=true
+ set -e -o pipefail
+ hostname
ip-172-31-27-120
+ pwd
/tmp/rultor-DXVz
+ 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 --recurse-submodules git@github.com:l3r8yJ/mdspec.git repo
Cloning into 'repo'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
+ cd repo
+ git config user.email gpg@rultor.com
+ git config user.name Rultor.com
+ '[' -z 'export '\''head=git@github.com:l3r8yJ/mdspec.git'\''' ']'
+ cd ..
+ cat
+ '[' true = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:l3r8yJ/mdspec.git'\''' ';' 'export '\''tag=v0.1.6'\''' ';' 'export '\''head_branch=main'\''' ';' 'export '\''author=l3r8yj'\''' ';' 'set -euo pipefail' ';' 'apt-get update' ';' 'apt-get install -y --no-install-recommends jq' ';' just_version=1.58.0 ';' 'just_archive="just-${just_version}-x86_64-unknown-linux-musl.tar.gz"' ';' 'curl --fail --silent --show-error --location --retry 2 --output "/tmp/${just_archive}" "https://github.com/casey/just/releases/download/${just_version}/${just_archive}"' ';' 'echo "4a5cc2f53e6f0f8c59092a6cc38291eb729d46a7dd95d3ae582008881b84931d /tmp/${just_archive}" | sha256sum --check --strict || { echo "just ${just_version} archive checksum mismatch" >&2; exit 1; }' ';' 'tar --extract --file "/tmp/${just_archive}" --directory /usr/local/bin just' ';' 'just --version' ';' 'set -euo pipefail' ';' 'export RELEASE_TAG="${tag}"' ';' 'base_sha=$(git rev-parse HEAD)' ';' 'ci_run=$(curl --fail --silent --show-error --connect-timeout 10 --max-time 30 --retry 2 --get --data-urlencode "head_sha=$base_sha" --data-urlencode branch=main --data-urlencode event=push --data-urlencode per_page=1 https://api.github.com/repos/l3r8yJ/mdspec/actions/workflows/ci.yml/runs)' ';' 'jq --exit-status --arg sha "$base_sha" '\''.workflow_runs[0] | .head_sha == $sha and .head_branch == "main" and .event == "push" and .status == "completed" and .conclusion == "success"'\'' <<< "$ci_run" > /dev/null || { echo '\''Release requires successful main push CI for this exact commit.'\'' >&2; exit 1; }' ';' 'just release-bump' ';' 'just verify-tag' ';' 'cargo_directory="${CARGO_HOME:-$HOME/.cargo}"' ';' 'credential_path="$cargo_directory/credentials.toml"' ';' '[[ ! -e "$credential_path" && ! -e "$cargo_directory/credentials" ]] || { echo '\''Refusing to overwrite existing Cargo credentials.'\'' >&2; exit 1; }' ';' 'test -s ../credentials || { echo '\''The credentials asset is missing or empty: l3r8yJ/home#assets/crates-credentials.'\'' >&2; exit 1; }' ';' 'mkdir -p "$cargo_directory"' ';' 'trap '\''rm -f -- "$credential_path"'\'' EXIT' ';' 'install -m 600 ../credentials "$credential_path"' ';' 'just publish' ';'
+ sensitive=()
+ set -ex -o pipefail
+ '[' -z v0.1.6 ']'
+ [[ v0.1.6 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "v0.1.6"'
tag name is valid: "v0.1.6"
+ cd repo
++ git tag -l v0.1.6
+ '[' -n '' ']'
+ BRANCH_NAME=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ export BRANCH_NAME
+ 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=rust:1.96.0-bookworm
+ docker pull rust:1.96.0-bookworm
1.96.0-bookworm: Pulling from library/rust
425befdf76e5: Pulling fs layer
f4fd7bf6f603: Pulling fs layer
791c68bc2063: Pulling fs layer
9eb598f63f1e: Pulling fs layer
16e9f8d93459: Pulling fs layer
9eb598f63f1e: Waiting
16e9f8d93459: Waiting
f4fd7bf6f603: Verifying Checksum
f4fd7bf6f603: Download complete
791c68bc2063: Verifying Checksum
791c68bc2063: Download complete
425befdf76e5: Verifying Checksum
425befdf76e5: Download complete
9eb598f63f1e: Verifying Checksum
9eb598f63f1e: Download complete
16e9f8d93459: Verifying Checksum
16e9f8d93459: Download complete
425befdf76e5: Pull complete
f4fd7bf6f603: Pull complete
791c68bc2063: Pull complete
9eb598f63f1e: Pull complete
16e9f8d93459: Pull complete
Digest: sha256:5e2214abe154fe26e39f64488952e5c991eeed1d6d6da7cc8381ae83927f0cfc
Status: Downloaded newer image for rust:1.96.0-bookworm
docker.io/library/rust:1.96.0-bookworm
+ docker ps --filter=status=exited
+ grep --quiet '\sl3r8yj_mdspec_70\s*$'
+ ls -al .
total 56
drwx------ 3 ubuntu ubuntu 4096 Oct 16 12:39 .
drwxrwxrwt 12 root root 4096 Oct 16 12:39 ..
-rw-rw-r-- 1 ubuntu ubuntu 57 Oct 16 12:39 credentials
-rwxrwxr-x 1 ubuntu ubuntu 666 Oct 16 12:39 end.sh
-rwxrwxr-x 1 ubuntu ubuntu 170 Oct 16 12:39 entry.sh
-rw-rw-r-- 1 ubuntu ubuntu 5 Oct 16 12:39 pid
drwxrwxr-x 8 ubuntu ubuntu 4096 Oct 16 12:39 repo
-rwxrwxr-x 1 ubuntu ubuntu 9965 Oct 16 12:39 run.sh
-rw-rw-r-- 1 ubuntu ubuntu 2192 Oct 16 12:39 script.sh
-rw-rw-r-- 1 ubuntu ubuntu 9914 Oct 16 12:40 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-DXVz:/main --env=head=git@github.com:l3r8yJ/mdspec.git --env=tag=v0.1.6 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:l3r8yJ/mdspec.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=v0.1.6'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=main'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=l3r8yj'\''\'\'''\'''\'' '\'';'\'' '\''set -euo pipefail'\'' '\'';'\'' '\''apt-get update'\'' '\'';'\'' '\''apt-get install -y --no-install-recommends jq'\'' '\'';'\'' '\''just_version=1.58.0'\'' '\'';'\'' '\''just_archive="just-${just_version}-x86_64-unknown-linux-musl.tar.gz"'\'' '\'';'\'' '\''curl --fail --silent --show-error --location --retry 2 --output "/tmp/${just_archive}" "https://github.com/casey/just/releases/download/${just_version}/${just_archive}"'\'' '\'';'\'' '\''echo "4a5cc2f53e6f0f8c59092a6cc38291eb729d46a7dd95d3ae582008881b84931d /tmp/${just_archive}" | sha256sum --check --strict || { echo "just ${just_version} archive checksum mismatch" >&2; exit 1; }'\'' '\'';'\'' '\''tar --extract --file "/tmp/${just_archive}" --directory /usr/local/bin just'\'' '\'';'\'' '\''just --version'\'' '\'';'\'' '\''set -euo pipefail'\'' '\'';'\'' '\''export RELEASE_TAG="${tag}"'\'' '\'';'\'' '\''base_sha=$(git rev-parse HEAD)'\'' '\'';'\'' '\''ci_run=$(curl --fail --silent --show-error --connect-timeout 10 --max-time 30 --retry 2 --get --data-urlencode "head_sha=$base_sha" --data-urlencode branch=main --data-urlencode event=push --data-urlencode per_page=1 https://api.github.com/repos/l3r8yJ/mdspec/actions/workflows/ci.yml/runs)'\'' '\'';'\'' '\''jq --exit-status --arg sha "$base_sha" '\''\'\'''\''.workflow_runs[0] | .head_sha == $sha and .head_branch == "main" and .event == "push" and .status == "completed" and .conclusion == "success"'\''\'\'''\'' <<< "$ci_run" > /dev/null || { echo '\''\'\'''\''Release requires successful main push CI for this exact commit.'\''\'\'''\'' >&2; exit 1; }'\'' '\'';'\'' '\''just release-bump'\'' '\'';'\'' '\''just verify-tag'\'' '\'';'\'' '\''cargo_directory="${CARGO_HOME:-$HOME/.cargo}"'\'' '\'';'\'' '\''credential_path="$cargo_directory/credentials.toml"'\'' '\'';'\'' '\''[[ ! -e "$credential_path" && ! -e "$cargo_directory/credentials" ]] || { echo '\''\'\'''\''Refusing to overwrite existing Cargo credentials.'\''\'\'''\'' >&2; exit 1; }'\'' '\'';'\'' '\''test -s ../credentials || { echo '\''\'\'''\''The credentials asset is missing or empty: l3r8yJ/home#assets/crates-credentials.'\''\'\'''\'' >&2; exit 1; }'\'' '\'';'\'' '\''mkdir -p "$cargo_directory"'\'' '\'';'\'' '\''trap '\''\'\'''\''rm -f -- "$credential_path"'\''\'\'''\'' EXIT'\'' '\'';'\'' '\''install -m 600 ../credentials "$credential_path"'\'' '\'';'\'' '\''just publish'\'' '\'';'\'' )' --env=head_branch=main --env=author=l3r8yj --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-DXVz/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=l3r8yj_mdspec_70 rust:1.96.0-bookworm /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
+ set -e
+ set -o pipefail
+ mkdir /home/r
+ cp -R ./cid ./credentials ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chmod a+x /home/r/script.sh
+ /home/r/script.sh
Get:1ohttp://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2ohttp://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [34.8 kB]
Get:4ohttp://deb.debian.org/debian bookworm/main amd64 Packages [8790 kB]
Get:5ohttp://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
Get:64http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [353 kB]
Fetchedo9391gkB ino2s (5243 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libjq1 libonig5
The following NEW packages will be installed:
jq libjq1 libonig5
0 upgraded, 3 newly installed, 0 to remove and 64 not upgraded.
Need to get 387 kB of archives.
After this operation, 1170 kB of additional disk space will be used.
Get:1ohttp://deb.debian.org/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB]
Get:2Whttp://deb.debian.org/debian bookworm/main amd64 libjq1 amd64 1.6-2.1+deb12u2 [136 kB]
Get:3Whttp://deb.debian.org/debian bookworm/main amd64 jq amd64 1.6-2.1+deb12u2 [64.0 kB]
Fetchedo387nkB6in00sB(12.8 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libonig5:amd64.
(Reading database ... 23256 files and directories currently installed.)
Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ...
Unpacking libonig5:amd64 (6.9.8-1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../libjq1_1.6-2.1+deb12u2_amd64.deb ...
Unpacking libjq1:amd64 (1.6-2.1+deb12u2) ...
Selecting previously unselected package jq.
Preparing to unpack .../jq_1.6-2.1+deb12u2_amd64.deb ...
Unpacking jq (1.6-2.1+deb12u2) ...
Setting up libonig5:amd64 (6.9.8-1) ...
Setting up libjq1:amd64 (1.6-2.1+deb12u2) ...
Setting up jq (1.6-2.1+deb12u2) ...
Processing triggers for libc-bin (2.36-9+deb12u14) ...
/tmp/just-1.58.0-x86_64-unknown-linux-musl.tar.gz: OK
just 1.58.0
1minfo:0m syncing channel updates for 1.96.0-x86_64-unknown-linux-gnu
1minfo:0m latest update on 2026-05-28 for version 1.96.0 (ac68faa20 2026-05-25)
1minfo:0m component rust-std is up to date
1minfo:0m downloading 3 components
1msed -i '0,/^version = ".*"$/s//version = "0.1.6"/' Cargo.toml0m
1msed -i '/^name = "mdspec"$/{n;s/^version = ".*"$/version = "0.1.6"/}' Cargo.lock0m
[__rultor 1fd7f08] chore: bump version to v0.1.6
2 files changed, 2 insertions(+), 2 deletions(-)
1mcargo publish --locked --no-verify0m
1m92m Updating0m crates.io index
1m92m Updating0m crates.io index
1m92m Packaging0m mdspec v0.1.6 (/home/r/repo)
1m92m Updating0m crates.io index
1m92m Packaged0m 80 files, 230.0KiB (51.2KiB compressed)
1m92m Uploading0m mdspec v0.1.6 (/home/r/repo)
1m92m Uploaded0m mdspec v0.1.6 to registry `crates-io`
1m92mnote0m: waiting for mdspec v0.1.6 to be available at registry `crates-io`
1m96mhelp0m: you may press ctrl-c to skip waiting; the crate should be available shortly
1m92m Published0m mdspec v0.1.6 at registry `crates-io`
+ mv /home/r/repo .
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag v0.1.6 -m 'v0.1.6: tagged by rultor.com'
+ git reset --hard
HEAD is now at 1fd7f08 chore: bump version to v0.1.6
+ git clean -fd
+ git checkout main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
+ git branch -D __rultor
Deleted branch __rultor (was 1fd7f08).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:l3r8yJ/mdspec.git
* [new tag] v0.1.6 -> v0.1.6
container 853165cb279b49eda614b0890eba9d8feda85ffa021cbaa2dc05e3728dd17267 is dead
Fri Oct 16 12:40:50 UTC 2026