++ dirname ./run.sh
+ cd .
+ echo 1295
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Fri Apr 3 15:07:45 UTC 2026
+ uptime
15:07:45 up 0 min, 0 users, load average: 1.44, 0.45, 0.16
+ head=git@github.com:dartoos-dev/json_cache.git
+ ff=default
+ image=ghcr.io/cirruslabs/flutter:stable
+ rebase=true
+ squash=false
+ head_branch=master
+ author=rafamizes
+ tag=4.1.0
+ vars=('--env=head=git@github.com:dartoos-dev/json_cache.git' '--env=tag=4.1.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/json_cache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=4.1.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=rafamizes'\''\'\'''\'''\'' '\'';'\'' '\''sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml'\'' '\'';'\'' '\''sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''\'\'''\''+%F'\''\'\'''\'')" CHANGELOG.md'\'' '\'';'\'' '\''mkdir -p ~/.pub-cache'\'' '\'';'\'' '\''mv ../credentials.json ~/.pub-cache/credentials.json'\'' '\'';'\'' '\''flutter clean'\'' '\'';'\'' '\''flutter pub get'\'' '\'';'\'' '\''flutter pub publish -f'\'' '\'';'\'' '\''git commit -am "version $tag"'\'' '\'';'\'' '\''git checkout master'\'' '\'';'\'' '\''git merge __rultor'\'' '\'';'\'' '\''git checkout __rultor'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=rafamizes')
+ scripts=('export '\''head=git@github.com:dartoos-dev/json_cache.git'\''' ';' 'export '\''tag=4.1.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=rafamizes'\''' ';' 'sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml' ';' 'sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''+%F'\'')" CHANGELOG.md' ';' 'mkdir -p ~/.pub-cache' ';' 'mv ../credentials.json ~/.pub-cache/credentials.json' ';' 'flutter clean' ';' 'flutter pub get' ';' 'flutter pub publish -f' ';' 'git commit -am "version $tag"' ';' 'git checkout master' ';' 'git merge __rultor' ';' 'git checkout __rultor' ';')
+ directory=
+ container=dartoos-dev_json_cache_178
+ as_root=true
+ set -e -o pipefail
+ hostname
ip-172-31-31-37
+ pwd
/tmp/rultor-IjMR
+ 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:dartoos-dev/json_cache.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:dartoos-dev/json_cache.git'\''' ']'
+ cd ..
+ cat
+ '[' true = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:dartoos-dev/json_cache.git'\''' ';' 'export '\''tag=4.1.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=rafamizes'\''' ';' 'sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml' ';' 'sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''+%F'\'')" CHANGELOG.md' ';' 'mkdir -p ~/.pub-cache' ';' 'mv ../credentials.json ~/.pub-cache/credentials.json' ';' 'flutter clean' ';' 'flutter pub get' ';' 'flutter pub publish -f' ';' 'git commit -am "version $tag"' ';' 'git checkout master' ';' 'git merge __rultor' ';' 'git checkout __rultor' ';'
+ sensitive=()
+ set -ex -o pipefail
+ '[' -z 4.1.0 ']'
+ [[ 4.1.0 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "4.1.0"'
tag name is valid: "4.1.0"
+ cd repo
++ git tag -l 4.1.0
+ '[' -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=ghcr.io/cirruslabs/flutter:stable
+ docker pull ghcr.io/cirruslabs/flutter:stable
stable: Pulling from cirruslabs/flutter
20043066d3d5: Pulling fs layer
debb49cb0d5e: Pulling fs layer
3c191bc08c7d: Pulling fs layer
821ff31b6cb4: Pulling fs layer
31b8cbd6ffa1: Pulling fs layer
fed33a4f623e: Pulling fs layer
89b2bac8e3c6: Pulling fs layer
821ff31b6cb4: Waiting
31b8cbd6ffa1: Waiting
fed33a4f623e: Waiting
89b2bac8e3c6: Waiting
20043066d3d5: Verifying Checksum
20043066d3d5: Download complete
821ff31b6cb4: Verifying Checksum
821ff31b6cb4: Download complete
31b8cbd6ffa1: Verifying Checksum
31b8cbd6ffa1: Download complete
3c191bc08c7d: Verifying Checksum
3c191bc08c7d: Download complete
20043066d3d5: Pull complete
debb49cb0d5e: Verifying Checksum
debb49cb0d5e: Download complete
fed33a4f623e: Verifying Checksum
fed33a4f623e: Download complete
89b2bac8e3c6: Verifying Checksum
89b2bac8e3c6: Download complete
debb49cb0d5e: Pull complete
3c191bc08c7d: Pull complete
821ff31b6cb4: Pull complete
31b8cbd6ffa1: Pull complete
fed33a4f623e: Pull complete
89b2bac8e3c6: Pull complete
Digest: sha256:7f429b29a9568705def6308f94458633e7c21d8dcf14fe6e1762f9ced3ba83b8
Status: Downloaded newer image for ghcr.io/cirruslabs/flutter:stable
ghcr.io/cirruslabs/flutter:stable
+ docker ps --filter=status=exited
+ grep --quiet '\sdartoos-dev_json_cache_178\s*$'
+ ls -al .
total 48
drwx------ 3 ubuntu ubuntu 4096 Apr 3 15:07 .
drwxrwxrwt 12 root root 4096 Apr 3 15:07 ..
-rw-rw-r-- 1 ubuntu ubuntu 483 Apr 3 15:07 credentials.json
-rwxrwxr-x 1 ubuntu ubuntu 666 Apr 3 15:09 end.sh
-rwxrwxr-x 1 ubuntu ubuntu 170 Apr 3 15:07 entry.sh
-rw-rw-r-- 1 ubuntu ubuntu 5 Apr 3 15:07 pid
drwxrwxr-x 7 ubuntu ubuntu 4096 Apr 3 15:07 repo
-rwxrwxr-x 1 ubuntu ubuntu 6664 Apr 3 15:07 run.sh
-rw-rw-r-- 1 ubuntu ubuntu 686 Apr 3 15:07 script.sh
-rw-rw-r-- 1 ubuntu ubuntu 5378 Apr 3 15:10 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-IjMR:/main --env=head=git@github.com:dartoos-dev/json_cache.git --env=tag=4.1.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/json_cache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=4.1.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=rafamizes'\''\'\'''\'''\'' '\'';'\'' '\''sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml'\'' '\'';'\'' '\''sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''\'\'''\''+%F'\''\'\'''\'')" CHANGELOG.md'\'' '\'';'\'' '\''mkdir -p ~/.pub-cache'\'' '\'';'\'' '\''mv ../credentials.json ~/.pub-cache/credentials.json'\'' '\'';'\'' '\''flutter clean'\'' '\'';'\'' '\''flutter pub get'\'' '\'';'\'' '\''flutter pub publish -f'\'' '\'';'\'' '\''git commit -am "version $tag"'\'' '\'';'\'' '\''git checkout master'\'' '\'';'\'' '\''git merge __rultor'\'' '\'';'\'' '\''git checkout __rultor'\'' '\'';'\'' )' --env=head_branch=master --env=author=rafamizes --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-IjMR/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=dartoos-dev_json_cache_178 ghcr.io/cirruslabs/flutter:stable /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
+ set -e
+ set -o pipefail
+ mkdir /home/r
+ cp -R ./cid ./credentials.json ./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
Resolving dependencies...
Downloading packages...
> _fe_analyzer_shared 93.0.0 (was 64.0.0) (98.0.0 available)
> analyzer 10.0.1 (was 6.2.0) (12.0.0 available)
args 2.4.2 (2.7.0 available)
async 2.11.0 (2.13.1 available)
boolean_selector 2.1.1 (2.1.2 available)
> characters 1.4.1 (was 1.4.0)
+ cli_config 0.2.0
convert 3.1.1 (3.1.2 available)
> coverage 1.15.0 (was 1.7.2)
crypto 3.0.3 (3.0.7 available)
ffi 2.1.0 (2.2.0 available)
file 7.0.0 (7.0.1 available)
flutter_secure_storage 9.2.4 (10.0.0 available)
flutter_secure_storage_linux 1.2.3 (3.0.0 available)
flutter_secure_storage_macos 3.1.3 (4.0.0 available)
flutter_secure_storage_platform_interface 1.1.2 (2.0.1 available)
flutter_secure_storage_web 1.2.1 (2.1.0 available)
flutter_secure_storage_windows 3.1.2 (4.1.0 available)
frontend_server_client 3.2.0 (4.0.0 available)
glob 2.1.2 (2.1.3 available)
http_multi_server 3.2.1 (3.2.2 available)
http_parser 4.0.2 (4.1.2 available)
io 1.0.4 (1.0.5 available)
js 0.6.7 (0.7.2 available)
logging 1.2.0 (1.3.0 available)
> matcher 0.12.19 (was 0.12.17)
> material_color_utilities 0.13.0 (was 0.11.1)
> meta 1.17.0 (was 1.16.0) (1.18.2 available)
mime 1.0.5 (2.0.0 available)
package_config 2.1.0 (2.2.0 available)
path_provider_android 2.2.20 (2.2.23 available)
path_provider_foundation 2.3.2 (2.6.0 available)
path_provider_windows 2.2.1 (2.3.0 available)
platform 3.1.4 (3.1.6 available)
pool 1.5.1 (1.5.2 available)
pub_semver 2.1.4 (2.2.0 available)
safe_local_storage 2.0.1 (2.0.3 available)
shared_preferences 2.5.3 (2.5.5 available)
shared_preferences_android 2.4.15 (2.4.23 available)
shared_preferences_foundation 2.5.2 (2.5.6 available)
shared_preferences_platform_interface 2.4.1 (2.4.2 available)
shared_preferences_web 2.4.2 (2.4.3 available)
shelf 1.4.1 (1.4.2 available)
shelf_static 1.1.2 (1.1.3 available)
shelf_web_socket 1.0.4 (3.0.0 available)
source_map_stack_trace 2.1.1 (2.1.2 available)
source_maps 0.10.12 (0.10.13 available)
source_span 1.10.0 (1.10.2 available)
string_scanner 1.2.0 (1.4.1 available)
synchronized 3.1.0+1 (3.4.0 available)
term_glyph 1.2.1 (1.2.2 available)
> test 1.30.0 (was 1.26.2) (1.31.0 available)
> test_api 0.7.10 (was 0.7.6) (0.7.11 available)
> test_core 0.6.16 (was 0.6.11) (0.6.17 available)
typed_data 1.3.2 (1.4.0 available)
vector_math 2.2.0 (2.3.0 available)
vm_service 14.2.4 (15.0.2 available)
watcher 1.1.0 (1.2.1 available)
web_socket_channel 2.4.0 (3.0.3 available)
win32 5.2.0 (6.0.0 available)
xdg_directories 1.0.4 (1.1.0 available)
> yaml 3.1.3 (was 3.1.2)
Changed 12 dependencies!
56 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Resolving dependencies...
Downloading packages...
_fe_analyzer_shared 93.0.0 (98.0.0 available)
analyzer 10.0.1 (12.0.0 available)
args 2.4.2 (2.7.0 available)
async 2.11.0 (2.13.1 available)
boolean_selector 2.1.1 (2.1.2 available)
convert 3.1.1 (3.1.2 available)
crypto 3.0.3 (3.0.7 available)
ffi 2.1.0 (2.2.0 available)
file 7.0.0 (7.0.1 available)
flutter_secure_storage 9.2.4 (10.0.0 available)
flutter_secure_storage_linux 1.2.3 (3.0.0 available)
flutter_secure_storage_macos 3.1.3 (4.0.0 available)
flutter_secure_storage_platform_interface 1.1.2 (2.0.1 available)
flutter_secure_storage_web 1.2.1 (2.1.0 available)
flutter_secure_storage_windows 3.1.2 (4.1.0 available)
frontend_server_client 3.2.0 (4.0.0 available)
glob 2.1.2 (2.1.3 available)
http_multi_server 3.2.1 (3.2.2 available)
http_parser 4.0.2 (4.1.2 available)
io 1.0.4 (1.0.5 available)
js 0.6.7 (0.7.2 available)
logging 1.2.0 (1.3.0 available)
meta 1.17.0 (1.18.2 available)
mime 1.0.5 (2.0.0 available)
package_config 2.1.0 (2.2.0 available)
path_provider_android 2.2.20 (2.2.23 available)
path_provider_foundation 2.3.2 (2.6.0 available)
path_provider_windows 2.2.1 (2.3.0 available)
platform 3.1.4 (3.1.6 available)
pool 1.5.1 (1.5.2 available)
pub_semver 2.1.4 (2.2.0 available)
safe_local_storage 2.0.1 (2.0.3 available)
shared_preferences 2.5.3 (2.5.5 available)
shared_preferences_android 2.4.15 (2.4.23 available)
shared_preferences_foundation 2.5.2 (2.5.6 available)
shared_preferences_platform_interface 2.4.1 (2.4.2 available)
shared_preferences_web 2.4.2 (2.4.3 available)
shelf 1.4.1 (1.4.2 available)
shelf_static 1.1.2 (1.1.3 available)
shelf_web_socket 1.0.4 (3.0.0 available)
source_map_stack_trace 2.1.1 (2.1.2 available)
source_maps 0.10.12 (0.10.13 available)
source_span 1.10.0 (1.10.2 available)
string_scanner 1.2.0 (1.4.1 available)
synchronized 3.1.0+1 (3.4.0 available)
term_glyph 1.2.1 (1.2.2 available)
test 1.30.0 (1.31.0 available)
test_api 0.7.10 (0.7.11 available)
test_core 0.6.16 (0.6.17 available)
typed_data 1.3.2 (1.4.0 available)
vector_math 2.2.0 (2.3.0 available)
vm_service 14.2.4 (15.0.2 available)
watcher 1.1.0 (1.2.1 available)
web_socket_channel 2.4.0 (3.0.3 available)
win32 5.2.0 (6.0.0 available)
xdg_directories 1.0.4 (1.1.0 available)
Got dependencies!
56 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Publishing json_cache 4.1.0 to https://pub.dev:
├── CHANGELOG.md (8 KB)
├── LICENSE (1 KB)
├── README.md (17 KB)
├── analysis_options.yaml (<1 KB)
├── example
│ └── main.dart (<1 KB)
├── lib
│ ├── json_cache.dart (<1 KB)
│ └── src
│ ├── json_cache.dart (1 KB)
│ ├── json_cache_exception.dart (1 KB)
│ ├── json_cache_fake.dart (1 KB)
│ ├── json_cache_flutter_secure_storage.dart (1 KB)
│ ├── json_cache_hive.dart (1 KB)
│ ├── json_cache_hollow.dart (1 KB)
│ ├── json_cache_local_storage.dart (1 KB)
│ ├── json_cache_mem.dart (5 KB)
│ ├── json_cache_safe_local_storage.dart (1 KB)
│ ├── json_cache_shared_preferences.dart (1 KB)
│ ├── json_cache_try.dart (3 KB)
│ └── json_cache_wrap.dart (1 KB)
├── pubspec.yaml (<1 KB)
└── test
├── fake_local_storage.dart (1 KB)
├── flutter_secure_storage_mock.dart (4 KB)
├── json_cache_exception_test.dart (1 KB)
├── json_cache_fake_test.dart (5 KB)
├── json_cache_flutter_secure_storage_test.dart (3 KB)
├── json_cache_hive_test.dart (3 KB)
├── json_cache_hollow_test.dart (2 KB)
├── json_cache_local_storage_test.dart (2 KB)
├── json_cache_mem_test.dart (8 KB)
├── json_cache_safe_local_storage_test.dart (6 KB)
├── json_cache_shared_preferences_test.dart (2 KB)
├── json_cache_try_test.dart (4 KB)
└── json_cache_wrap_test.dart (2 KB)
Total compressed archive size: 20 KB.
Validating package...
Package validation found the following 2 potential issues:
* 1 checked-in file is modified in git.
Usually you want to publish from a clean git state.
Consider committing these files or reverting the changes.
Modified files:
pubspec.yaml
Run `git status` for more information.
* /home/r/repo/CHANGELOG.md doesn't mention current version (4.1.0).
Consider updating it with notes on this version prior to publication.
Pub needs your authorization to upload packages on your behalf.
In a web browser, go to https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force&response_type=code&client_id=818368855108-8grd2eg9tj9f38os6f1urbcvsq399u8n.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A37841&code_challenge=IDR4HFT0DG3raXKKaZ1Jrur4OerP8SV74prOfWyLMMQ&code_challenge_method=S256&scope=openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email
Then click "Allow access".
Waiting for your authorization...
ff8b0b77b13abba0ba7565b22475f8e89be82f7ce64250f0bf61ccfadea37520
'pid' file is absent on the server after the end of operation; it seems that we didn't manage to start Docker container correctly