+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 5481 + echo '1.69.1 839260fab' 1.69.1 839260fab + date Thu Jul 16 13:53:42 CEST 2020 + uptime 13:53:42 up 273 days, 10:02, 0 users, load average: 5.00, 4.63, 4.63 + ff=default + image=yegor256/rultor-image:1.3 + rebase=false + head_branch=master + pull_title='Old patterns reafctored' + author=acheshkov + directory= + head=git@github.com:cqfn/aibolit.git + pull_id=522 + fork=git@github.com:cqfn/aibolit.git + fork_branch=issue-469 + squash=false + vars=('--env=head=git@github.com:cqfn/aibolit.git' '--env=pull_id=522' '--env=fork=git@github.com:cqfn/aibolit.git' '--env=fork_branch=issue-469' '--env=head_branch=master' '--env=pull_title=Old patterns reafctored' '--env=author=acheshkov' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=522'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=issue-469'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Old patterns reafctored'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=acheshkov'\''\'\'''\'''\'' '\'';'\'' '\''python3 -m pip install twine'\'' '\'';'\'' '\''make'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''pull_id=522'\''' ';' 'export '\''fork=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''fork_branch=issue-469'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Old patterns reafctored'\''' ';' 'export '\''author=acheshkov'\''' ';' 'python3 -m pip install twine' ';' 'make' ';') + container=cqfn_aibolit_522 + as_root=false + mkdir -p /home/rultor/.ssh + echo -e 'Host github.com\n\tStrictHostKeyChecking no\n' + chmod 600 /home/rultor/.ssh/config + git clone git@github.com:cqfn/aibolit.git repo Cloning into 'repo'... + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:cqfn/aibolit.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''pull_id=522'\''' ';' 'export '\''fork=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''fork_branch=issue-469'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Old patterns reafctored'\''' ';' 'export '\''author=acheshkov'\''' ';' 'python3 -m pip install twine' ';' make ';' + sensitive=() + rm -rf .gpg + cd repo + git remote add fork git@github.com:cqfn/aibolit.git + git remote update Fetching origin Fetching fork From github.com:cqfn/aibolit * [new branch] acheshkov-patch-1 -> fork/acheshkov-patch-1 * [new branch] acheshkov-scope-update -> fork/acheshkov-scope-update * [new branch] issue-295 -> fork/issue-295 * [new branch] issue-310 -> fork/issue-310 * [new branch] issue-404 -> fork/issue-404 * [new branch] issue-418 -> fork/issue-418 * [new branch] issue-419 -> fork/issue-419 * [new branch] issue-469 -> fork/issue-469 * [new branch] issue_508 -> fork/issue_508 * [new branch] java_files_custom_dir -> fork/java_files_custom_dir * [new branch] master -> fork/master * [new branch] taks-258 -> fork/taks-258 * [new branch] task-258 -> fork/task-258 * [new branch] upstream/java_files_custom_dir -> fork/upstream/java_files_custom_dir + args= + '[' default == default ']' + args=' --ff' + '[' default == no ']' + '[' default == only ']' + export BRANCH=__rultor + BRANCH=__rultor ++ git show-branch __rultor ++ wc -l + '[' 0 -gt 0 ']' + git checkout -B __rultor fork/issue-469 Switched to a new branch '__rultor' Branch __rultor set up to track remote branch issue-469 from fork. + git checkout -B master origin/master Switched to and reset branch 'master' Branch master set up to track remote branch master from origin. Your branch is up-to-date with 'origin/master'. + '[' false == true ']' + '[' false == true ']' + git merge --ff __rultor Merge made by the 'recursive' strategy. aibolit/ast_framework/ast.py | 7 ++- aibolit/ast_framework/ast_node.py | 12 +++-- aibolit/ast_framework/java_class.py | 2 + aibolit/ast_framework/java_class_field.py | 2 + aibolit/ast_framework/java_class_method.py | 2 + aibolit/ast_framework/java_package.py | 2 + aibolit/patterns/assert_in_code/assert_in_code.py | 35 +++++++++++-- .../force_type_casting_finder.py | 11 +--- .../if_return_if_detection/if_detection.py | 61 ++++++++++++++++------ aibolit/patterns/instanceof/instance_of.py | 50 ++++++++++++------ aibolit/patterns/multiple_while/multiple_while.py | 56 +++++++++++--------- .../patterns/non_final_class/non_final_class.py | 54 ++++++++++++------- aibolit/utils/cfg_builder.py | 8 +-- 13 files changed, 201 insertions(+), 101 deletions(-) + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=4.62 ++ echo 4.62 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.62, low enough to run a new Docker container' load average is 4.62, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image:1.3 + docker pull yegor256/rultor-image:1.3 1.3: Pulling from yegor256/rultor-image 423ae2b273f4: Pulling fs layer de83a2304fa1: Pulling fs layer f9a83bce3af0: Pulling fs layer b6b53be908de: Pulling fs layer 081137535f3d: Pulling fs layer b607ea9379ba: Pulling fs layer 48816bf7a7bd: Pulling fs layer 90e9ac6dd6b7: Pulling fs layer fa904cd4fb1e: Pulling fs layer ba8f6944d06c: Pulling fs layer fa0e6f17d6eb: Pulling fs layer b6b53be908de: Waiting 081137535f3d: Waiting 6298c87b6e32: Pulling fs layer 5f99c5b7641f: Pulling fs layer b607ea9379ba: Waiting 521d9f91dd5a: Pulling fs layer 1ba2e4f1d77d: Pulling fs layer 48816bf7a7bd: Waiting d91558326f9c: Pulling fs layer 614d5d169f4c: Pulling fs layer 694b6bd3ddaa: Pulling fs layer 90e9ac6dd6b7: Waiting 7600d04b7287: Pulling fs layer 1f2d91593b48: Pulling fs layer 5b7b018a144c: Pulling fs layer f28f21ef6e29: Pulling fs layer 575a11abe8cd: Pulling fs layer 0f2f76927369: Pulling fs layer 9bd110ead14b: Pulling fs layer 114aef090218: Pulling fs layer a6aa43127a52: Pulling fs layer fa904cd4fb1e: Waiting ba8f6944d06c: Waiting 1f2d91593b48: Waiting fa0e6f17d6eb: Waiting 5b7b018a144c: Waiting 6298c87b6e32: Waiting d91558326f9c: Waiting 9bd110ead14b: Waiting f28f21ef6e29: Waiting 5f99c5b7641f: Waiting 614d5d169f4c: Waiting 114aef090218: Waiting 575a11abe8cd: Waiting 521d9f91dd5a: Waiting 694b6bd3ddaa: Waiting 7600d04b7287: Waiting 0f2f76927369: Waiting 1ba2e4f1d77d: Waiting a6aa43127a52: Waiting f9a83bce3af0: Verifying Checksum f9a83bce3af0: Download complete de83a2304fa1: Download complete b6b53be908de: Verifying Checksum b6b53be908de: Download complete 423ae2b273f4: Download complete 423ae2b273f4: Pull complete de83a2304fa1: Pull complete f9a83bce3af0: Pull complete b6b53be908de: Pull complete 081137535f3d: Verifying Checksum 081137535f3d: Download complete b607ea9379ba: Verifying Checksum b607ea9379ba: Download complete 081137535f3d: Pull complete b607ea9379ba: Pull complete 48816bf7a7bd: Verifying Checksum 48816bf7a7bd: Download complete fa904cd4fb1e: Verifying Checksum fa904cd4fb1e: Download complete 48816bf7a7bd: Pull complete fa0e6f17d6eb: Verifying Checksum fa0e6f17d6eb: Download complete ba8f6944d06c: Verifying Checksum ba8f6944d06c: Download complete 5f99c5b7641f: Verifying Checksum 5f99c5b7641f: Download complete 521d9f91dd5a: Verifying Checksum 521d9f91dd5a: Download complete 1ba2e4f1d77d: Verifying Checksum 1ba2e4f1d77d: Download complete 90e9ac6dd6b7: Verifying Checksum 90e9ac6dd6b7: Download complete 90e9ac6dd6b7: Pull complete fa904cd4fb1e: Pull complete ba8f6944d06c: Pull complete fa0e6f17d6eb: Pull complete 6298c87b6e32: Verifying Checksum 6298c87b6e32: Download complete 694b6bd3ddaa: Download complete 6298c87b6e32: Pull complete 614d5d169f4c: Verifying Checksum 614d5d169f4c: Download complete 7600d04b7287: Verifying Checksum 7600d04b7287: Download complete 1f2d91593b48: Verifying Checksum 1f2d91593b48: Download complete 5b7b018a144c: Verifying Checksum 5b7b018a144c: Download complete f28f21ef6e29: Download complete 0f2f76927369: Download complete 5f99c5b7641f: Pull complete 521d9f91dd5a: Pull complete 1ba2e4f1d77d: Pull complete 575a11abe8cd: Verifying Checksum 575a11abe8cd: Download complete 9bd110ead14b: Verifying Checksum 9bd110ead14b: Download complete d91558326f9c: Verifying Checksum d91558326f9c: Download complete a6aa43127a52: Verifying Checksum a6aa43127a52: Download complete 114aef090218: Verifying Checksum 114aef090218: Download complete d91558326f9c: Pull complete 614d5d169f4c: Pull complete 694b6bd3ddaa: Pull complete 7600d04b7287: Pull complete 1f2d91593b48: Pull complete 5b7b018a144c: Pull complete f28f21ef6e29: Pull complete 575a11abe8cd: Pull complete 0f2f76927369: Pull complete 9bd110ead14b: Pull complete 114aef090218: Pull complete a6aa43127a52: Pull complete Digest: sha256:3cb0326631b117124d419b281273f1e6f3e7cb3fb0c7045e91e563a884907c5e Status: Downloaded newer image for yegor256/rultor-image:1.3 + docker ps --filter=status=exited + grep --quiet '\scqfn_aibolit_522\s*$' + ls -al . total 720 drwx--x--x 3 rultor rultor 4096 Jul 16 13:53 . drwxrwxrwt 284 root root 684032 Jul 16 13:55 .. -rw-rw-r-- 1 rultor rultor 444 Jul 16 13:55 end.sh -rwxrwxr-x 1 rultor rultor 363 Jul 16 13:53 entry.sh -rw-rw-r-- 1 rultor rultor 5 Jul 16 13:53 pid drwxrwxr-x 8 rultor rultor 4096 Jul 16 13:53 repo -rwxrwxr-x 1 rultor rultor 5470 Jul 16 13:53 run.sh -rw-rw-r-- 1 rultor rultor 415 Jul 16 13:53 script.sh -rw-rw-r-- 1 rultor rultor 9488 Jul 16 13:55 stdout -rw-rw-r-- 1 rultor rultor 173 Jul 16 13:53 twine_token ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-itA9:/main --env=head=git@github.com:cqfn/aibolit.git --env=pull_id=522 --env=fork=git@github.com:cqfn/aibolit.git --env=fork_branch=issue-469 --env=head_branch=master '--env=pull_title=Old patterns reafctored' --env=author=acheshkov '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=522'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=issue-469'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Old patterns reafctored'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=acheshkov'\''\'\'''\'''\'' '\'';'\'' '\''python3 -m pip install twine'\'' '\'';'\'' '\''make'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-itA9/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=cqfn_aibolit_522 yegor256/rultor-image:1.3 /main/entry.sh WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r + usermod -s /bin/bash r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.cache /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout ./twine_token /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + su --login r --command /home/r/script.sh mesg: cannot open /dev/pts/0: Permission denied + set -e + set -o pipefail + shopt -s expand_aliases + alias 'sudo=sudo -i' + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + export head=git@github.com:cqfn/aibolit.git + head=git@github.com:cqfn/aibolit.git + export pull_id=522 + pull_id=522 + export fork=git@github.com:cqfn/aibolit.git + fork=git@github.com:cqfn/aibolit.git + export fork_branch=issue-469 + fork_branch=issue-469 + export head_branch=master + head_branch=master + export 'pull_title=Old patterns reafctored' + pull_title='Old patterns reafctored' + export author=acheshkov + author=acheshkov + python3 -m pip install twine Defaulting to user installation because normal site-packages is not writeable Collecting twine Downloading twine-3.2.0-py3-none-any.whl (34 kB) Requirement already satisfied: setuptools>=0.7.0 in /usr/lib/python3/dist-packages (from twine) (39.0.1) Collecting readme-renderer>=21.0 Downloading readme_renderer-26.0-py2.py3-none-any.whl (15 kB) Collecting requests>=2.20 Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB) K25l |████████████████████████████████| 61 kB 1019kB/ssetaa0:00:011 ?25hCollecting rfc3986>=1.4.0 Downloading rfc3986-1.4.0-py2.py3-none-any.whl (31 kB) Collecting keyring>=15.1 Downloading keyring-21.2.1-py3-none-any.whl (31 kB) Collecting importlib-metadata; python_version < "3.8" Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB) Collecting pkginfo>=1.4.2 Downloading pkginfo-1.5.0.1-py2.py3-none-any.whl (25 kB) Collecting colorama>=0.4.3 Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB) Collecting tqdm>=4.14 Downloading tqdm-4.47.0-py2.py3-none-any.whl (66 kB) K25l |████████████████████████████████| 66 kB 7722kB/ssetaa0:00:011 ?25hCollecting requests-toolbelt!=0.9.0,>=0.8.0 Downloading requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB) K25l |████████████████████████████████| 54 kB 409 kB/s eta 0:00:01 ?25hCollecting bleach>=2.1.0 Downloading bleach-3.1.5-py2.py3-none-any.whl (151 kB) K25l |████████████████████████████████| 151kkB65.8MMB/seeta00:00:01 ?25hCollecting docutils>=0.13.1 Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) K25l |████████████████████████████████| 548kkB65.7MMB/seeta00:00:01 ?25hCollecting Pygments>=2.5.1 Downloading Pygments-2.6.1-py3-none-any.whl (914 kB) K25l |████████████████████████████████| 914kkB76.7MMB/seeta00:00:01 ?25hRequirement already satisfied: six in /usr/lib/python3/dist-packages (from readme-renderer>=21.0->twine) (1.11.0) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (1.22) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (2018.1.18) Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (2.6) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (3.0.4) Collecting jeepney>=0.4.2; sys_platform == "linux" Downloading jeepney-0.4.3-py3-none-any.whl (21 kB) Collecting SecretStorage>=3; sys_platform == "linux" Downloading SecretStorage-3.1.2-py3-none-any.whl (14 kB) Collecting zipp>=0.5 Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB) Collecting webencodings Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting packaging Downloading packaging-20.4-py2.py3-none-any.whl (37 kB) Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from SecretStorage>=3; sys_platform == "linux"->keyring>=15.1->twine) (2.1.4) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) K25l |████████████████████████████████| 67 kB 585kB/sssetaa0:00:011 ?25hInstalling collected packages: webencodings, pyparsing, packaging, bleach, docutils, Pygments, readme-renderer, requests, rfc3986, jeepney, SecretStorage, zipp, importlib-metadata, keyring, pkginfo, colorama, tqdm, requests-toolbelt, twine 33m WARNING: The script pygmentize is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script keyring is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script pkginfo is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script tqdm is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script twine is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m Successfully installed Pygments-2.6.1 SecretStorage-3.1.2 bleach-3.1.5 colorama-0.4.3 docutils-0.16 importlib-metadata-1.7.0 jeepney-0.4.3 keyring-21.2.1 packaging-20.4 pkginfo-1.5.0.1 pyparsing-2.4.7 readme-renderer-26.0 requests-2.24.0 requests-toolbelt-0.9.1 rfc3986-1.4.0 tqdm-4.47.0 twine-3.2.0 webencodings-0.5.1 zipp-3.1.0 33mWARNING: You are using pip version 20.0.2; however, version 20.1.1 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.0m + make python3 -m pip install -r requirements.txt Error initializing plugin EntryPoint(name='Windows (alt)', value='keyrings.alt.Windows', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 203, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/Windows.py", line 9, in <module> from . import file_base File "/usr/lib/python3/dist-packages/keyrings/alt/file_base.py", line 13, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Error initializing plugin EntryPoint(name='file', value='keyrings.alt.file', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 203, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/file.py", line 11, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Error initializing plugin EntryPoint(name='pyfs', value='keyrings.alt.pyfs', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 203, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/pyfs.py", line 8, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Defaulting to user installation because normal site-packages is not writeable Collecting flake8==3.7.9 Downloading flake8-3.7.9-py2.py3-none-any.whl (69 kB) K25l |████████████████████████████████| 69 kB 1.02MB/ssetaa0:00:011 ?25hCollecting codecov==2.0.15 Downloading codecov-2.0.15-py2.py3-none-any.whl (11 kB) Collecting matplotlib==3.2.1 Downloading matplotlib-3.2.1-cp36-cp36m-manylinux1_x86_64.whl (12.4 MB) K25l |████████████████████████████████| 12.4MMB112.8MMB/seeta00:00:01 ?25hCollecting coverage==5.0.3 Downloading coverage-5.0.3-cp36-cp36m-manylinux1_x86_64.whl (227 kB) K25l |████████████████████████████████| 227kkB111.3MMB/seeta00:00:01 ?25hCollecting javalang==0.13.0 Downloading javalang-0.13.0-py3-none-any.whl (22 kB) Collecting sphinx==2.3.1 Downloading Sphinx-2.3.1-py3-none-any.whl (2.7 MB) K25l |████████████████████████████████| 2.7kMB110.6MMB/seeta00:00:01 ?25hCollecting beautifulsoup4==4.8.2 Downloading beautifulsoup4-4.8.2-py3-none-any.whl (106 kB) K25l |████████████████████████████████| 106kkB110.9MMB/seeta00:00:01 ?25hCollecting numpy==1.18.1 Downloading numpy-1.18.1-cp36-cp36m-manylinux1_x86_64.whl (20.1 MB) K25l |████████████████████████████████| 20.1MMB18.70kB/sseeta00:00:01 ?25hCollecting pandas==1.0.0 Downloading pandas-1.0.0-cp36-cp36m-manylinux1_x86_64.whl (10.1 MB) K25l |████████████████████████████████| 10.1MMB8101MkB/seeta00:00:01 ?25hCollecting scikit-learn==0.22.1 Downloading scikit_learn-0.22.1-cp36-cp36m-manylinux1_x86_64.whl (7.0 MB) K25l |████████████████████████████████| 7.0kMB112.3MMB/seeta00:00:01 ?25hCollecting scipy==1.4.1 Downloading scipy-1.4.1-cp36-cp36m-manylinux1_x86_64.whl (26.1 MB) K25l |████████████████████████████████| 26.1MMB112.7MMB/seeta00:00:01 ?25hCollecting mypy==0.770 Downloading mypy-0.770-cp36-cp36m-manylinux1_x86_64.whl (21.7 MB) K25l |████████████████████████████████| 21.7MMB91269kB/sseeta00:00:01 ?25hCollecting networkx==2.4 Downloading networkx-2.4-py3-none-any.whl (1.6 MB) K25l |████████████████████████████████| 1.6kMB111.6MMB/seeta00:00:01 ?25hCollecting catboost==0.22 Downloading catboost-0.22-cp36-none-manylinux1_x86_64.whl (64.4 MB) K25l |████████████████████████████████| 64.4MMB867.kB/s/seeta00:00:01 ?25hCollecting cchardet==2.1.6 Downloading cchardet-2.1.6-cp36-cp36m-manylinux2010_x86_64.whl (241 kB) K25l |████████████████████████████████| 241kkB110.6MMB/seeta00:00:01 ?25hCollecting lxml==4.5.0 Downloading lxml-4.5.0-cp36-cp36m-manylinux1_x86_64.whl (5.8 MB) K25l |████████████████████████████████| 5.8kMB110.6MMB/seeta00:00:01 ?25hCollecting cached-property==1.2.0 Downloading cached_property-1.2.0-py2.py3-none-any.whl (8.3 kB) Collecting deprecated==1.2.10 Downloading Deprecated-1.2.10-py2.py3-none-any.whl (8.7 kB) Collecting typing-extensions Downloading typing_extensions-3.7.4.2-py3-none-any.whl (22 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting pycodestyle<2.6.0,>=2.5.0 Downloading pycodestyle-2.5.0-py2.py3-none-any.whl (51 kB) K25l |████████████████████████████████| 51 kB 1.29MB/ssetaa0:00:011 ?25hCollecting pyflakes<2.2.0,>=2.1.0 Downloading pyflakes-2.1.1-py2.py3-none-any.whl (59 kB) K25l |████████████████████████████████| 59 kB 1.28MB/ss eta 0:00:01 ?25hCollecting entrypoints<0.4.0,>=0.3.0 Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB) Requirement already satisfied: requests>=2.7.9 in /home/r/.local/lib/python3.6/site-packages (from codecov==2.0.15->-r requirements.txt (line 2)) (2.24.0) Requirement already satisfied: python-dateutil>=2.1 in /usr/lib/python3/dist-packages (from matplotlib==3.2.1->-r requirements.txt (line 3)) (2.6.1) Collecting cycler>=0.10 Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/r/.local/lib/python3.6/site-packages (from matplotlib==3.2.1->-r requirements.txt (line 3)) (2.4.7) Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.2.0-cp36-cp36m-manylinux1_x86_64.whl (88 kB) K25l |████████████████████████████████| 88 kB 1.18MB/sseeta00:00:01 ?25hRequirement already satisfied: six in /usr/lib/python3/dist-packages (from javalang==0.13.0->-r requirements.txt (line 5)) (1.11.0) Collecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB) K25l |████████████████████████████████| 89 kB 1.53MB/ss eta 0:00:01 ?25hRequirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from sphinx==2.3.1->-r requirements.txt (line 6)) (39.0.1) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB) K25l |████████████████████████████████| 97 kB 1.03MB/sseeta00:00:01 ?25hCollecting imagesize Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.8.0-py2.py3-none-any.whl (8.6 MB) K25l |████████████████████████████████| 8.6kMB111.1MMB/seeta00:00:01 ?25hRequirement already satisfied: docutils>=0.12 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->-r requirements.txt (line 6)) (0.16) Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB) K25l |████████████████████████████████| 121kkB110.7MMB/seeta00:00:01 ?25hRequirement already satisfied: packaging in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->-r requirements.txt (line 6)) (20.4) Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-qthelp Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) K25l |████████████████████████████████| 90 kB 1.48MB/ss eta 0:00:01 ?25hCollecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) K25l |████████████████████████████████| 84 kB 6117kB/ss eta 0:00:01 ?25hCollecting Jinja2>=2.3 Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) K25l |████████████████████████████████| 125kkB111.2MMB/seeta00:00:01 ?25hCollecting sphinxcontrib-htmlhelp Downloading sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB) K25l |████████████████████████████████| 96 kB 7310kB/sseeta00:00:01 ?25hCollecting alabaster<0.8,>=0.7 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Requirement already satisfied: Pygments>=2.0 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->-r requirements.txt (line 6)) (2.6.1) Collecting soupsieve>=1.2 Downloading soupsieve-2.0.1-py3-none-any.whl (32 kB) Collecting pytz>=2017.2 Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB) K25l |████████████████████████████████| 510kkB111.2MMB/seeta00:00:01 ?25hCollecting joblib>=0.11 Downloading joblib-0.16.0-py3-none-any.whl (300 kB) K25l |████████████████████████████████| 300kkB111.7MMB/seeta00:00:01 ?25hCollecting mypy-extensions<0.5.0,>=0.4.3 Downloading mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB) Collecting typed-ast<1.5.0,>=1.4.0 Downloading typed_ast-1.4.1-cp36-cp36m-manylinux1_x86_64.whl (737 kB) K25l |████████████████████████████████| 737kkB111.1MMB/seeta00:00:01 ?25hCollecting decorator>=4.3.0 Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB) Collecting graphviz Downloading graphviz-0.14.1-py2.py3-none-any.whl (18 kB) Collecting plotly Downloading plotly-4.8.2-py2.py3-none-any.whl (11.5 MB) K25l |████████████████████████████████| 11.5MMB12788kB/sseeta00:00:01 ?25hCollecting wrapt<2,>=1.10 Downloading wrapt-1.12.1.tar.gz (27 kB) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->-r requirements.txt (line 2)) (3.0.4) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->-r requirements.txt (line 2)) (1.22) Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->-r requirements.txt (line 2)) (2.6) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->-r requirements.txt (line 2)) (2018.1.18) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl (27 kB) Collecting retrying>=1.3.3 Downloading retrying-1.3.3.tar.gz (10 kB) Building wheels for collected packages: wrapt, retrying Building wheel for wrapt (setup.py) ... ?25ldone ?25h Created wheel for wrapt: filename=wrapt-1.12.1-cp36-cp36m-linux_x86_64.whl size=69354 sha256=af0eccc20c48e66e7a25b9c70c16b0b4d35b27c7b81945bf00c272b8484ad1b8 Stored in directory: /home/r/.cache/pip/wheels/32/42/7f/23cae9ff6ef66798d00dc5d659088e57dbba01566f6c60db63 Building wheel for retrying (setup.py) ... ?25ldone ?25h Created wheel for retrying: filename=retrying-1.3.3-py3-none-any.whl size=9530 sha256=d856e0d61960bdfd5dedcb65e1748a37b462ffbbd8ec4b2245096f1227aac83f Stored in directory: /home/r/.cache/pip/wheels/ac/cb/8a/b27bf6323e2f4c462dcbf77d70b7c5e7868a7fbe12871770cf Successfully built wrapt retrying Installing collected packages: mccabe, pycodestyle, pyflakes, entrypoints, flake8, coverage, codecov, numpy, cycler, kiwisolver, matplotlib, javalang, sphinxcontrib-serializinghtml, snowballstemmer, imagesize, pytz, babel, sphinxcontrib-applehelp, sphinxcontrib-jsmath, sphinxcontrib-qthelp, sphinxcontrib-devhelp, MarkupSafe, Jinja2, sphinxcontrib-htmlhelp, alabaster, sphinx, soupsieve, beautifulsoup4, pandas, scipy, joblib, scikit-learn, typing-extensions, mypy-extensions, typed-ast, mypy, decorator, networkx, graphviz, retrying, plotly, catboost, cchardet, lxml, cached-property, wrapt, deprecated 33m WARNING: The script pycodestyle is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script pyflakes is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script flake8 is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The scripts coverage, coverage-3.6 and coverage3 are installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script codecov is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The scripts f2py, f2py3 and f2py3.6 are installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script pybabel is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The scripts sphinx-apidoc, sphinx-autogen, sphinx-build and sphinx-quickstart are installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The scripts dmypy, mypy, stubgen and stubtest are installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1 alabaster-0.7.12 babel-2.8.0 beautifulsoup4-4.8.2 cached-property-1.2.0 catboost-0.22 cchardet-2.1.6 codecov-2.0.15 coverage-5.0.3 cycler-0.10.0 decorator-4.4.2 deprecated-1.2.10 entrypoints-0.3 flake8-3.7.9 graphviz-0.14.1 imagesize-1.2.0 javalang-0.13.0 joblib-0.16.0 kiwisolver-1.2.0 lxml-4.5.0 matplotlib-3.2.1 mccabe-0.6.1 mypy-0.770 mypy-extensions-0.4.3 networkx-2.4 numpy-1.18.1 pandas-1.0.0 plotly-4.8.2 pycodestyle-2.5.0 pyflakes-2.1.1 pytz-2020.1 retrying-1.3.3 scikit-learn-0.22.1 scipy-1.4.1 snowballstemmer-2.0.0 soupsieve-2.0.1 sphinx-2.3.1 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-1.0.3 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.4 typed-ast-1.4.1 typing-extensions-3.7.4.2 wrapt-1.12.1 33mWARNING: You are using pip version 20.0.2; however, version 20.1.1 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.0m python3 -m pip install . Error initializing plugin EntryPoint(name='Windows (alt)', value='keyrings.alt.Windows', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 203, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/Windows.py", line 9, in <module> from . import file_base File "/usr/lib/python3/dist-packages/keyrings/alt/file_base.py", line 13, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Error initializing plugin EntryPoint(name='file', value='keyrings.alt.file', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 203, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/file.py", line 11, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Error initializing plugin EntryPoint(name='pyfs', value='keyrings.alt.pyfs', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 203, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/pyfs.py", line 8, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Defaulting to user installation because normal site-packages is not writeable Processing /home/r/repo Requirement already satisfied: beautifulsoup4==4.8.2 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (4.8.2) Requirement already satisfied: cached-property==1.2.0 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (1.2.0) Requirement already satisfied: catboost==0.22 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (0.22) Requirement already satisfied: cchardet==2.1.6 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (2.1.6) Requirement already satisfied: codecov==2.0.15 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (2.0.15) Requirement already satisfied: coverage==5.0.3 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (5.0.3) Requirement already satisfied: deprecated==1.2.10 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (1.2.10) Requirement already satisfied: flake8==3.7.9 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (3.7.9) Requirement already satisfied: javalang==0.13.0 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (0.13.0) Requirement already satisfied: lxml==4.5.0 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (4.5.0) Requirement already satisfied: matplotlib==3.2.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (3.2.1) Requirement already satisfied: mypy==0.770 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (0.770) Requirement already satisfied: networkx==2.4 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (2.4) Requirement already satisfied: numpy==1.18.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (1.18.1) Requirement already satisfied: pandas==1.0.0 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (1.0.0) Requirement already satisfied: scikit-learn==0.22.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (0.22.1) Requirement already satisfied: scipy==1.4.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (1.4.1) Requirement already satisfied: sphinx==2.3.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (2.3.1) Requirement already satisfied: typing-extensions in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (3.7.4.2) Requirement already satisfied: soupsieve>=1.2 in /home/r/.local/lib/python3.6/site-packages (from beautifulsoup4==4.8.2->aibolit==0.0.0) (2.0.1) Requirement already satisfied: six in /usr/lib/python3/dist-packages (from catboost==0.22->aibolit==0.0.0) (1.11.0) Requirement already satisfied: plotly in /home/r/.local/lib/python3.6/site-packages (from catboost==0.22->aibolit==0.0.0) (4.8.2) Requirement already satisfied: graphviz in /home/r/.local/lib/python3.6/site-packages (from catboost==0.22->aibolit==0.0.0) (0.14.1) Requirement already satisfied: requests>=2.7.9 in /home/r/.local/lib/python3.6/site-packages (from codecov==2.0.15->aibolit==0.0.0) (2.24.0) Requirement already satisfied: wrapt<2,>=1.10 in /home/r/.local/lib/python3.6/site-packages (from deprecated==1.2.10->aibolit==0.0.0) (1.12.1) Requirement already satisfied: pycodestyle<2.6.0,>=2.5.0 in /home/r/.local/lib/python3.6/site-packages (from flake8==3.7.9->aibolit==0.0.0) (2.5.0) Requirement already satisfied: entrypoints<0.4.0,>=0.3.0 in /home/r/.local/lib/python3.6/site-packages (from flake8==3.7.9->aibolit==0.0.0) (0.3) Requirement already satisfied: pyflakes<2.2.0,>=2.1.0 in /home/r/.local/lib/python3.6/site-packages (from flake8==3.7.9->aibolit==0.0.0) (2.1.1) Requirement already satisfied: mccabe<0.7.0,>=0.6.0 in /home/r/.local/lib/python3.6/site-packages (from flake8==3.7.9->aibolit==0.0.0) (0.6.1) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/r/.local/lib/python3.6/site-packages (from matplotlib==3.2.1->aibolit==0.0.0) (2.4.7) Requirement already satisfied: python-dateutil>=2.1 in /usr/lib/python3/dist-packages (from matplotlib==3.2.1->aibolit==0.0.0) (2.6.1) Requirement already satisfied: kiwisolver>=1.0.1 in /home/r/.local/lib/python3.6/site-packages (from matplotlib==3.2.1->aibolit==0.0.0) (1.2.0) Requirement already satisfied: cycler>=0.10 in /home/r/.local/lib/python3.6/site-packages (from matplotlib==3.2.1->aibolit==0.0.0) (0.10.0) Requirement already satisfied: mypy-extensions<0.5.0,>=0.4.3 in /home/r/.local/lib/python3.6/site-packages (from mypy==0.770->aibolit==0.0.0) (0.4.3) Requirement already satisfied: typed-ast<1.5.0,>=1.4.0 in /home/r/.local/lib/python3.6/site-packages (from mypy==0.770->aibolit==0.0.0) (1.4.1) Requirement already satisfied: decorator>=4.3.0 in /home/r/.local/lib/python3.6/site-packages (from networkx==2.4->aibolit==0.0.0) (4.4.2) Requirement already satisfied: pytz>=2017.2 in /home/r/.local/lib/python3.6/site-packages (from pandas==1.0.0->aibolit==0.0.0) (2020.1) Requirement already satisfied: joblib>=0.11 in /home/r/.local/lib/python3.6/site-packages (from scikit-learn==0.22.1->aibolit==0.0.0) (0.16.0) Requirement already satisfied: babel!=2.0,>=1.3 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (2.8.0) Requirement already satisfied: sphinxcontrib-applehelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.0.2) Requirement already satisfied: imagesize in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.2.0) Requirement already satisfied: Jinja2>=2.3 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (2.11.2) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from sphinx==2.3.1->aibolit==0.0.0) (39.0.1) Requirement already satisfied: Pygments>=2.0 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (2.6.1) Requirement already satisfied: packaging in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (20.4) Requirement already satisfied: sphinxcontrib-htmlhelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.0.3) Requirement already satisfied: sphinxcontrib-qthelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.0.3) Requirement already satisfied: docutils>=0.12 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (0.16) Requirement already satisfied: sphinxcontrib-jsmath in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.0.1) Requirement already satisfied: snowballstemmer>=1.1 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (2.0.0) Requirement already satisfied: sphinxcontrib-devhelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.0.2) Requirement already satisfied: sphinxcontrib-serializinghtml in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (1.1.4) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (0.7.12) Requirement already satisfied: retrying>=1.3.3 in /home/r/.local/lib/python3.6/site-packages (from plotly->catboost==0.22->aibolit==0.0.0) (1.3.3) Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==0.0.0) (2.6) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==0.0.0) (1.22) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==0.0.0) (2018.1.18) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==0.0.0) (3.0.4) Requirement already satisfied: MarkupSafe>=0.23 in /home/r/.local/lib/python3.6/site-packages (from Jinja2>=2.3->sphinx==2.3.1->aibolit==0.0.0) (1.1.1) Building wheels for collected packages: aibolit Building wheel for aibolit (setup.py) ... ?25ldone ?25h Created wheel for aibolit: filename=aibolit-0.0.0-py2.py3-none-any.whl size=12111999 sha256=ce84d30874ba460625eff40d5b9764df0c784cc5c7638ce64592e68fbeb23b7a Stored in directory: /tmp/pip-ephem-wheel-cache-9_b0k00e/wheels/6a/94/20/fb6515fe78e005049099e68caee81e4e2e53c92744d4ab767f Successfully built aibolit Installing collected packages: aibolit 33m WARNING: The script aibolit is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m Successfully installed aibolit-0.0.0 33mWARNING: You are using pip version 20.0.2; however, version 20.1.1 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.0m python3 -m flake8 aibolit test scripts setup.py --exclude scripts/target/* python3 -m mypy aibolit 1m32mSuccess: no issues found in 139 source filesBm python3 -m coverage run -m unittest discover /home/r/repo/aibolit/metrics/RFC/rfc.py:46: DeprecationWarning: Call to deprecated class JavaPackage. (This functionality must be transmitted to ASTNode) p = JavaPackage(filename) /home/r/repo/aibolit/ast_framework/java_package.py:54: DeprecationWarning: Call to deprecated class JavaClass. (This functionality must be transmitted to ASTNode) java_class = JavaClass(class_ast.tree, class_ast.root, self) /home/r/repo/aibolit/ast_framework/java_class.py:48: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) class_name = next(self.children_with_type(self.root, ASTNodeType.STRING)) /home/r/repo/aibolit/metrics/RFC/rfc.py:52: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) names = list(class_method.children_with_type(class_method.root, ASTNodeType.STRING)) /home/r/repo/aibolit/metrics/RFC/rfc.py:54: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) method_name = tree.get_attr(each_string, 'string') /home/r/repo/aibolit/metrics/RFC/rfc.py:38: DeprecationWarning: Call to deprecated method get_nodes. (Use get_proxy_nodes instead.) inv_methods = tree.get_nodes(ASTNodeType.METHOD_INVOCATION) /home/r/repo/aibolit/metrics/RFC/rfc.py:40: DeprecationWarning: Call to deprecated method get_method_invocation_params. (Use ASTNode functionality instead.) name_of_invoked_class = tree.get_method_invocation_params(inv_method) /home/r/repo/aibolit/ast_framework/ast.py:180: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) assert(self.get_type(invocation_node) == ASTNodeType.METHOD_INVOCATION) /home/r/repo/aibolit/ast_framework/ast.py:176: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) return self.get_attr(node, 'node_type') /home/r/repo/aibolit/ast_framework/ast.py:182: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) children = list(self.children_with_type(invocation_node, ASTNodeType.STRING)) /home/r/repo/aibolit/ast_framework/ast.py:186: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) return MethodInvocationParams(self.get_attr(children[0], 'string'), /home/r/repo/aibolit/ast_framework/ast.py:187: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) self.get_attr(children[1], 'string')) ../home/r/repo/aibolit/ast_framework/ast.py:184: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) return MethodInvocationParams('', self.get_attr(children[0], 'string')) .../home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:145: DeprecationWarning: Call to deprecated class JavaPackage. (This functionality must be transmitted to ASTNode) p = JavaPackage(filename) /home/r/repo/aibolit/ast_framework/java_class.py:61: DeprecationWarning: Call to deprecated class JavaClassMethod. (This functionality must be transmitted to ASTNode) method = JavaClassMethod(method_ast.tree, method_ast.root, self) /home/r/repo/aibolit/ast_framework/java_class_method.py:46: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) method_name = next(self.children_with_type(self.root, ASTNodeType.STRING)) /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:131: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) names = ast.children_with_type(node, ASTNodeType.STRING) /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:133: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) method_name = ast.get_attr(each_string, 'string') /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:109: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) each_block_type = ast.get_type(each_block) /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:91: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) each_block_type = ast.get_type(each_block) /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:76: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) assert(ast.get_type(node) == ASTNodeType.METHOD_INVOCATION) /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:93: DeprecationWarning: Call to deprecated method get_binary_operation_name. (Use ASTNode functionality instead.) bin_operator = ast.get_binary_operation_name(each_block) /home/r/repo/aibolit/ast_framework/ast.py:147: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) assert(self.get_type(node) == ASTNodeType.BINARY_OPERATION) /home/r/repo/aibolit/ast_framework/ast.py:148: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) name_node, = islice(self.children_with_type(node, ASTNodeType.STRING), 1) /home/r/repo/aibolit/ast_framework/ast.py:149: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) return self.get_attr(name_node, 'string') ./home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:49: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) if ast.get_type(all_childs[2]) == ASTNodeType.IF_STATEMENT: .../home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:64: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) if ast.get_type(binary_operation_node) != ASTNodeType.BINARY_OPERATION: /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:67: DeprecationWarning: Call to deprecated method get_binary_operation_params. (Use ASTNode functionality instead.) operator, left_side_node, right_side_node = ast.get_binary_operation_params(binary_operation_node) /home/r/repo/aibolit/ast_framework/ast.py:212: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) assert(self.get_type(binary_operation_node) == ASTNodeType.BINARY_OPERATION) /home/r/repo/aibolit/ast_framework/ast.py:214: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) return BinaryOperationParams(self.get_attr(operation_node, 'string'), left_side_node, right_side_node) ..............sss./home/r/repo/aibolit/metrics/fanout/FanOut.py:34: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) for each_import in (tree.children_with_type(tree.root, ASTNodeType.IMPORT)): /home/r/repo/aibolit/metrics/fanout/FanOut.py:41: DeprecationWarning: Call to deprecated class JavaPackage. (This functionality must be transmitted to ASTNode) p = JavaPackage(filename) /home/r/repo/aibolit/metrics/fanout/FanOut.py:44: DeprecationWarning: Call to deprecated method get_nodes. (Use get_proxy_nodes instead.) for var_node in tree.get_nodes(ASTNodeType.VARIABLE_DECLARATOR): /home/r/repo/aibolit/metrics/fanout/FanOut.py:45: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) var_child = list(tree.children_with_type(var_node, ASTNodeType.STRING)) /home/r/repo/aibolit/metrics/fanout/FanOut.py:46: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) new_class_name = tree.get_attr(var_child[0], 'string') /home/r/repo/aibolit/metrics/fanout/FanOut.py:48: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) for class_creator_node in tree.children_with_type(var_node, ASTNodeType.CLASS_CREATOR): /home/r/repo/aibolit/metrics/fanout/FanOut.py:49: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) for go_to_name in tree.children_with_type(class_creator_node, ASTNodeType.REFERENCE_TYPE): /home/r/repo/aibolit/metrics/fanout/FanOut.py:50: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) classC_child = list(tree.children_with_type(go_to_name, ASTNodeType.STRING)) /home/r/repo/aibolit/metrics/fanout/FanOut.py:51: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) used_class_name = tree.get_attr(classC_child[0], 'string') /home/r/repo/aibolit/metrics/fanout/FanOut.py:59: DeprecationWarning: Call to deprecated method get_nodes. (Use get_proxy_nodes instead.) for i in tree.get_nodes(ASTNodeType.STATEMENT_EXPRESSION): ./home/r/repo/aibolit/metrics/fanout/FanOut.py:60: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) for invoked_method_child in tree.children_with_type(i, ASTNodeType.METHOD_INVOCATION): /home/r/repo/aibolit/metrics/fanout/FanOut.py:61: DeprecationWarning: Call to deprecated method get_method_invocation_params. (Use ASTNode functionality instead.) name_of_invoked_class = tree.get_method_invocation_params(invoked_method_child) ../home/r/repo/aibolit/metrics/fanout/FanOut.py:35: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) name_node, = islice(tree.children_with_type(each_import, ASTNodeType.STRING), 1) /home/r/repo/aibolit/metrics/fanout/FanOut.py:36: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) new_class = tree.get_attr(name_node, 'string').split('.')[-1] ............sss.........../home/r/repo/aibolit/metrics/ncss/ncss.py:71: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) node_type = tree.get_type(destination) .../home/r/repo/aibolit/metrics/ncss/ncss.py:75: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) metric -= len(list(tree.children_with_type(destination, ASTNodeType.VARIABLE_DECLARATION))) /home/r/repo/aibolit/metrics/ncss/ncss.py:76: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) metric -= len(list(tree.children_with_type(destination, ASTNodeType.LOCAL_VARIABLE_DECLARATION))) ...............sssssss......................................................................sssssssssssssss.............................sssssssssssss...........ss.......................................................................................................................................................ss../home/r/repo/test/utils/test_cfg_builder.py:32: DeprecationWarning: Call to deprecated class JavaPackage. (This functionality must be transmitted to ASTNode) java_package = JavaPackage(Path(__file__).parent.absolute() / 'SimpleClass.java') ..sss/home/r/repo/test/utils/test_java_class_decomposition.py:32: DeprecationWarning: Call to deprecated class JavaPackage. (This functionality must be transmitted to ASTNode) java_package = JavaPackage(Path(__file__).parent.absolute() / 'MethodUseOtherMethodExample.java') /home/r/repo/aibolit/ast_framework/java_class.py:72: DeprecationWarning: Call to deprecated class JavaClassField. (This functionality must be transmitted to ASTNode) field = JavaClassField(field_ast.tree, field_ast.root, self) /home/r/repo/aibolit/ast_framework/java_class_field.py:45: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) field_declarator = next(self.children_with_type(self.root, ASTNodeType.VARIABLE_DECLARATOR)) /home/r/repo/aibolit/ast_framework/java_class_field.py:46: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) field_name = next(self.children_with_type(field_declarator, ASTNodeType.STRING)) /home/r/repo/aibolit/ast_framework/java_class_method.py:80: DeprecationWarning: Call to deprecated method get_nodes. (Use get_proxy_nodes instead.) self.get_nodes(ASTNodeType.MEMBER_REFERENCE)) /home/r/repo/aibolit/ast_framework/java_class_method.py:79: DeprecationWarning: Call to deprecated method get_member_reference_params. (Use ASTNode functionality instead.) used_member_reference_params = (self.get_member_reference_params(node) for node in /home/r/repo/aibolit/ast_framework/ast.py:191: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) assert(self.get_type(member_reference_node) == ASTNodeType.MEMBER_REFERENCE) /home/r/repo/aibolit/ast_framework/ast.py:193: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) self.children_with_type(member_reference_node, ASTNodeType.STRING)] /home/r/repo/aibolit/ast_framework/ast.py:192: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) params = [self.get_attr(child, 'string') for child in /home/r/repo/aibolit/ast_framework/java_class_method.py:58: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) for parameter_node in self.children_with_type(self.root, ASTNodeType.FORMAL_PARAMETER): /home/r/repo/aibolit/ast_framework/java_class_method.py:59: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) parameter_name_node = next(iter(self.children_with_type(parameter_node, ASTNodeType.STRING))) /home/r/repo/aibolit/ast_framework/java_class_method.py:60: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) parameter_name = self.get_attr(parameter_name_node, 'string') /home/r/repo/aibolit/ast_framework/java_class_method.py:67: DeprecationWarning: Call to deprecated method get_nodes. (Use get_proxy_nodes instead.) method_invocation_nodes = self.get_nodes(ASTNodeType.METHOD_INVOCATION) /home/r/repo/aibolit/ast_framework/java_class_method.py:68: DeprecationWarning: Call to deprecated method get_method_invocation_params. (Use ASTNode functionality instead.) used_method_invocation_params = (self.get_method_invocation_params(node) for node ./home/r/repo/test/utils/test_java_class_decomposition.py:38: DeprecationWarning: Call to deprecated class JavaPackage. (This functionality must be transmitted to ASTNode) java_package = JavaPackage(Path(__file__).parent.absolute() / 'MethodUseOtherMethodExample.java') .sssssss ---------------------------------------------------------------------- Ran 390 tests in 17.587s OK (skipped=55) python3 aibolit --version Version 1.2.3rc2 is available, but you are using 0.0.0 aibolit 0.0.0 xcop python3 ./test/integration/all.py + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git push origin master To git@github.com:cqfn/aibolit.git aeb208e..e18df97 master -> master container 4f1090b1d488ef205c277275384b2954a31875a4cb5abbcfed246070b2b43802 is dead Thu Jul 16 14:08:32 CEST 2020