+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 26389
+ echo '1.69.1 839260fab'
1.69.1 839260fab
+ date
Fri Jul 24 18:43:22 CEST 2020
+ uptime
18:43:22 up 281 days, 14:52, 0 users, load average: 4.09, 5.04, 5.17
+ ff=default
+ image=yegor256/rultor-image:1.3
+ rebase=false
+ head_branch=master
+ pull_title='FanOut metric.'
+ author=acheshkov
+ directory=
+ head=git@github.com:cqfn/aibolit.git
+ pull_id=564
+ fork=git@github.com:cqfn/aibolit.git
+ fork_branch=issue-537
+ squash=false
+ vars=('--env=head=git@github.com:cqfn/aibolit.git' '--env=pull_id=564' '--env=fork=git@github.com:cqfn/aibolit.git' '--env=fork_branch=issue-537' '--env=head_branch=master' '--env=pull_title=FanOut metric.' '--env=author=acheshkov' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=564'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=issue-537'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=FanOut metric.'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=acheshkov'\''\'\'''\'''\'' '\'';'\'' '\''python3 -m pip install twine'\'' '\'';'\'' '\''make'\'' '\'';'\'' )')
+ scripts=('export '\''head=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''pull_id=564'\''' ';' 'export '\''fork=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''fork_branch=issue-537'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=FanOut metric.'\''' ';' 'export '\''author=acheshkov'\''' ';' 'python3 -m pip install twine' ';' 'make' ';')
+ container=cqfn_aibolit_564
+ 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=564'\''' ';' 'export '\''fork=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''fork_branch=issue-537'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=FanOut metric.'\''' ';' '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-532 -> fork/issue-532
* [new branch] issue-533 -> fork/issue-533
* [new branch] issue-535 -> fork/issue-535
* [new branch] issue-537 -> fork/issue-537
* [new branch] issue-538 -> fork/issue-538
* [new branch] issue-550 -> fork/issue-550
* [new branch] issue_528_1 -> fork/issue_528_1
* [new branch] issue_528_10 -> fork/issue_528_10
* [new branch] issue_528_11 -> fork/issue_528_11
* [new branch] issue_528_15 -> fork/issue_528_15
* [new branch] issue_528_18 -> fork/issue_528_18
* [new branch] issue_528_2 -> fork/issue_528_2
* [new branch] issue_528_3 -> fork/issue_528_3
* [new branch] issue_528_7 -> fork/issue_528_7
* [new branch] issue_528_8 -> fork/issue_528_8
* [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-537
Switched to a new branch '__rultor'
Branch __rultor set up to track remote branch issue-537 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
Removing test/metrics/fanout/test_all_types.py
Removing test/metrics/fanout/5.java
Removing test/metrics/fanout/4.java
Removing test/metrics/fanout/3.java
Removing test/metrics/fanout/2.java
Removing test/metrics/fanout/1.java
Merge made by the 'recursive' strategy.
aibolit/metrics/fanout/FanOut.py | 156 +++++++++++++--------
test/metrics/fanout/1.java | 7 -
test/metrics/fanout/2.java | 9 --
test/metrics/fanout/3.java | 9 --
test/metrics/fanout/4.java | 22 ---
test/metrics/fanout/5.java | 32 -----
.../metrics/fanout/ClassReferencedFromPackage.java | 8 ++
test/metrics/fanout/CountTypesInFields.java | 9 ++
test/metrics/fanout/ExtendingType.java | 6 +
test/metrics/fanout/GenericAndPackagedTypes.java | 8 ++
test/metrics/fanout/GenericType.java | 5 +
test/metrics/fanout/SelfUsage.java | 7 +
test/metrics/fanout/TypeUsedSeveralTimes.java | 14 ++
test/metrics/fanout/test_all_types.py | 51 -------
test/metrics/fanout/test_fan_out.py | 71 ++++++++++
15 files changed, 229 insertions(+), 185 deletions(-)
delete mode 100644 test/metrics/fanout/1.java
delete mode 100644 test/metrics/fanout/2.java
delete mode 100644 test/metrics/fanout/3.java
delete mode 100644 test/metrics/fanout/4.java
delete mode 100644 test/metrics/fanout/5.java
create mode 100644 test/metrics/fanout/ClassReferencedFromPackage.java
create mode 100644 test/metrics/fanout/CountTypesInFields.java
create mode 100644 test/metrics/fanout/ExtendingType.java
create mode 100644 test/metrics/fanout/GenericAndPackagedTypes.java
create mode 100644 test/metrics/fanout/GenericType.java
create mode 100644 test/metrics/fanout/SelfUsage.java
create mode 100644 test/metrics/fanout/TypeUsedSeveralTimes.java
delete mode 100644 test/metrics/fanout/test_all_types.py
create mode 100644 test/metrics/fanout/test_fan_out.py
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=5.18
++ echo 5.18 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 5.18, low enough to run a new Docker container'
load average is 5.18, 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
6298c87b6e32: Pulling fs layer
5f99c5b7641f: Pulling fs layer
521d9f91dd5a: Pulling fs layer
1ba2e4f1d77d: Pulling fs layer
d91558326f9c: Pulling fs layer
614d5d169f4c: Pulling fs layer
694b6bd3ddaa: Pulling fs layer
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
90e9ac6dd6b7: Waiting
fa904cd4fb1e: Waiting
ba8f6944d06c: Waiting
fa0e6f17d6eb: Waiting
6298c87b6e32: Waiting
1f2d91593b48: Waiting
5f99c5b7641f: Waiting
5b7b018a144c: Waiting
521d9f91dd5a: Waiting
f28f21ef6e29: Waiting
575a11abe8cd: Waiting
0f2f76927369: Waiting
9bd110ead14b: Waiting
1ba2e4f1d77d: Waiting
114aef090218: Waiting
d91558326f9c: Waiting
a6aa43127a52: Waiting
614d5d169f4c: Waiting
b6b53be908de: Waiting
081137535f3d: Waiting
7600d04b7287: Waiting
694b6bd3ddaa: Waiting
f9a83bce3af0: Verifying Checksum
f9a83bce3af0: Download complete
de83a2304fa1: Verifying Checksum
de83a2304fa1: Download complete
b6b53be908de: Download complete
081137535f3d: Verifying Checksum
081137535f3d: Download complete
b607ea9379ba: Verifying Checksum
b607ea9379ba: Download complete
423ae2b273f4: Verifying Checksum
423ae2b273f4: Download complete
423ae2b273f4: Pull complete
de83a2304fa1: Pull complete
f9a83bce3af0: Pull complete
b6b53be908de: Pull complete
081137535f3d: Pull complete
fa904cd4fb1e: Verifying Checksum
fa904cd4fb1e: Download complete
b607ea9379ba: Pull complete
48816bf7a7bd: Verifying Checksum
48816bf7a7bd: 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
6298c87b6e32: Verifying Checksum
6298c87b6e32: Download complete
694b6bd3ddaa: Verifying Checksum
694b6bd3ddaa: Download complete
90e9ac6dd6b7: Pull complete
fa904cd4fb1e: Pull complete
ba8f6944d06c: Pull complete
fa0e6f17d6eb: Pull complete
7600d04b7287: Verifying Checksum
7600d04b7287: Download complete
1f2d91593b48: Verifying Checksum
1f2d91593b48: Download complete
6298c87b6e32: Pull complete
5f99c5b7641f: Pull complete
521d9f91dd5a: Pull complete
5b7b018a144c: Verifying Checksum
5b7b018a144c: Download complete
1ba2e4f1d77d: Pull complete
f28f21ef6e29: Verifying Checksum
f28f21ef6e29: Download complete
575a11abe8cd: Verifying Checksum
575a11abe8cd: Download complete
0f2f76927369: Verifying Checksum
0f2f76927369: Download complete
9bd110ead14b: Verifying Checksum
9bd110ead14b: Download complete
d91558326f9c: Verifying Checksum
d91558326f9c: Download complete
614d5d169f4c: Verifying Checksum
614d5d169f4c: 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_564\s*$'
+ ls -al .
total 720
drwx--x--x 3 rultor rultor 4096 Jul 24 18:43 .
drwxrwxrwt 284 root root 684032 Jul 24 18:45 ..
-rw-rw-r-- 1 rultor rultor 444 Jul 24 18:44 end.sh
-rwxrwxr-x 1 rultor rultor 363 Jul 24 18:43 entry.sh
-rw-rw-r-- 1 rultor rultor 6 Jul 24 18:43 pid
drwxrwxr-x 8 rultor rultor 4096 Jul 24 18:43 repo
-rwxrwxr-x 1 rultor rultor 5434 Jul 24 18:43 run.sh
-rw-rw-r-- 1 rultor rultor 406 Jul 24 18:43 script.sh
-rw-rw-r-- 1 rultor rultor 11317 Jul 24 18:45 stdout
-rw-rw-r-- 1 rultor rultor 173 Jul 24 18:43 twine_token
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-KUwJ:/main --env=head=git@github.com:cqfn/aibolit.git --env=pull_id=564 --env=fork=git@github.com:cqfn/aibolit.git --env=fork_branch=issue-537 --env=head_branch=master '--env=pull_title=FanOut metric.' --env=author=acheshkov '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=564'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=issue-537'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=FanOut metric.'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=acheshkov'\''\'\'''\'''\'' '\'';'\'' '\''python3 -m pip install twine'\'' '\'';'\'' '\''make'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-KUwJ/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=cqfn_aibolit_564 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=564
+ pull_id=564
+ export fork=git@github.com:cqfn/aibolit.git
+ fork=git@github.com:cqfn/aibolit.git
+ export fork_branch=issue-537
+ fork_branch=issue-537
+ export head_branch=master
+ head_branch=master
+ export 'pull_title=FanOut metric.'
+ pull_title='FanOut metric.'
+ 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)
Collecting keyring>=15.1
Downloading keyring-21.2.1-py3-none-any.whl (31 kB)
Collecting colorama>=0.4.3
Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Collecting requests-toolbelt!=0.9.0,>=0.8.0
Downloading requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
K25l |████████████████████████████████| 54 kB 5071kB/ss eta 0:00:01
?25hCollecting tqdm>=4.14
Downloading tqdm-4.48.0-py2.py3-none-any.whl (67 kB)
K25l |████████████████████████████████| 67 kB 1.40MB/ss eta 0:00:01
?25hRequirement already satisfied: setuptools>=0.7.0 in /usr/lib/python3/dist-packages (from twine) (39.0.1)
Collecting rfc3986>=1.4.0
Downloading rfc3986-1.4.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 importlib-metadata; python_version < "3.8"
Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting requests>=2.20
Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
K25l |████████████████████████████████| 61 kB 80.kB/s/s eta 0:00:01
?25hCollecting readme-renderer>=21.0
Downloading readme_renderer-26.0-py2.py3-none-any.whl (15 kB)
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)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (2018.1.18)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (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.20->twine) (1.22)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (2.6)
Collecting bleach>=2.1.0
Downloading bleach-3.1.5-py2.py3-none-any.whl (151 kB)
K25l |████████████████████████████████| 151kkB110.5MMB/seeta00:00:01
?25hRequirement already satisfied: six in /usr/lib/python3/dist-packages (from readme-renderer>=21.0->twine) (1.11.0)
Collecting docutils>=0.13.1
Downloading docutils-0.16-py2.py3-none-any.whl (548 kB)
K25l |████████████████████████████████| 548kkB111.1MMB/seeta00:00:01
?25hCollecting Pygments>=2.5.1
Downloading Pygments-2.6.1-py3-none-any.whl (914 kB)
K25l |████████████████████████████████| 914kkB111.2MMB/seeta00:00:01
?25hRequirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from SecretStorage>=3; sys_platform == "linux"->keyring>=15.1->twine) (2.1.4)
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)
Collecting pyparsing>=2.0.2
Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
K25l |████████████████████████████████| 67 kB 1.18MB/sseeta00:00:01
?25hInstalling collected packages: zipp, importlib-metadata, jeepney, SecretStorage, keyring, colorama, requests, requests-toolbelt, tqdm, rfc3986, pkginfo, webencodings, pyparsing, packaging, bleach, docutils, Pygments, readme-renderer, twine
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 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 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 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 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.48.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.39MB/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.4MMB911.6MMB/seeta00:00:01
?25hCollecting coverage==5.0.3
Downloading coverage-5.0.3-cp36-cp36m-manylinux1_x86_64.whl (227 kB)
K25l |████████████████████████████████| 227kkB111.kB/s/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 |████████████████████████████████| 106kkB111.6MMB/seeta00:00:01
?25hCollecting numpy==1.18.1
Downloading numpy-1.18.1-cp36-cp36m-manylinux1_x86_64.whl (20.1 MB)
K25l |████████████████████████████████| 20.1MMB113.kB/s/seeta00:00:01
?25hCollecting pandas==1.0.0
Downloading pandas-1.0.0-cp36-cp36m-manylinux1_x86_64.whl (10.1 MB)
K25l |████████████████████████████████| 10.1MMB66.5MMB/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.0kMB910.6BMB/steta:0:00:01
?25hCollecting scipy==1.4.1
Downloading scipy-1.4.1-cp36-cp36m-manylinux1_x86_64.whl (26.1 MB)
K25l |████████████████████████████████| 26.1MMB112.8MMB/seeta00:00:01
?25hCollecting mypy==0.770
Downloading mypy-0.770-cp36-cp36m-manylinux1_x86_64.whl (21.7 MB)
K25l |████████████████████████████████| 21.7MMB11509kB/sseeta00:00:01
?25hCollecting networkx==2.4
Downloading networkx-2.4-py3-none-any.whl (1.6 MB)
K25l |████████████████████████████████| 1.6kMB111.7MMB/seeta00:00:01
?25hCollecting catboost==0.22
Downloading catboost-0.22-cp36-none-manylinux1_x86_64.whl (64.4 MB)
K25l |████████████████████████████████| 64.4MMB8844kB/sssetaa0:00:011
?25hCollecting cchardet==2.1.6
Downloading cchardet-2.1.6-cp36-cp36m-manylinux2010_x86_64.whl (241 kB)
K25l |████████████████████████████████| 241kkB111.3MMB/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 tqdm==4.32.1
Downloading tqdm-4.32.1-py2.py3-none-any.whl (49 kB)
K25l |████████████████████████████████| 49 kB 9122kB/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.74MB/sseeta00:00:01
?25hCollecting entrypoints<0.4.0,>=0.3.0
Downloading entrypoints-0.3-py2.py3-none-any.whl (11 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.21MB/ssetaa0:00:011
?25hRequirement 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)
Collecting cycler>=0.10
Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
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)
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.45MB/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 alabaster<0.8,>=0.7
Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting sphinxcontrib-devhelp
Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
K25l |████████████████████████████████| 84 kB 8438kB/sseeta00:00:01
?25hRequirement 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 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.0MMB/seeta00:00:01
?25hCollecting sphinxcontrib-jsmath
Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-htmlhelp
Downloading sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB)
K25l |████████████████████████████████| 96 kB 1.25MB/sseeta00: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)
Requirement 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-serializinghtml
Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB)
K25l |████████████████████████████████| 89 kB 1.58MB/ss eta 0:00:01
?25hCollecting sphinxcontrib-qthelp
Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
K25l |████████████████████████████████| 90 kB 2.34MB/sseeta00:00:01
?25hCollecting sphinxcontrib-applehelp
Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
K25l |████████████████████████████████| 121kkB111.9MMB/seeta00: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 snowballstemmer>=1.1
Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB)
K25l |████████████████████████████████| 97 kB 1.24MB/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 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 |████████████████████████████████| 510kkB110.6MMB/seeta00:00:01
?25hCollecting joblib>=0.11
Downloading joblib-0.16.0-py3-none-any.whl (300 kB)
K25l |████████████████████████████████| 300kkB110.9MMB/seeta00:00:01
?25hCollecting typed-ast<1.5.0,>=1.4.0
Downloading typed_ast-1.4.1-cp36-cp36m-manylinux1_x86_64.whl (737 kB)
K25l |████████████████████████████████| 737kkB110.6MMB/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 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.9.0-py2.py3-none-any.whl (12.9 MB)
K25l |████████████████████████████████| 12.9MMB110.1MMB/seeta00:00:01
?25hCollecting wrapt<2,>=1.10
Downloading wrapt-1.12.1.tar.gz (27 kB)
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)
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: 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: 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)
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=69350 sha256=0493c5764dd4d6a62b791138513ae850770f354e21b099a315e858f04a0f179c
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=a7bc7439f7dbc7bb70ad2b2db28c657d2a0e6a0a448a4617933f4b767d60cd06
Stored in directory: /home/r/.cache/pip/wheels/ac/cb/8a/b27bf6323e2f4c462dcbf77d70b7c5e7868a7fbe12871770cf
Successfully built wrapt retrying
Installing collected packages: pyflakes, entrypoints, mccabe, pycodestyle, flake8, coverage, codecov, cycler, kiwisolver, numpy, matplotlib, javalang, alabaster, sphinxcontrib-devhelp, imagesize, pytz, babel, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-applehelp, MarkupSafe, Jinja2, snowballstemmer, sphinx, soupsieve, beautifulsoup4, pandas, scipy, joblib, scikit-learn, typed-ast, mypy-extensions, typing-extensions, mypy, decorator, networkx, graphviz, retrying, plotly, catboost, cchardet, lxml, cached-property, wrapt, deprecated, tqdm
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 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 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
Attempting uninstall: tqdm
Found existing installation: tqdm 4.48.0
Uninstalling tqdm-4.48.0:
Successfully uninstalled tqdm-4.48.0
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
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.9.0 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 tqdm-4.32.1 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: tqdm==4.32.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==0.0.0) (4.32.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.9.0)
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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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-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: packaging in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==0.0.0) (20.4)
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: 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: 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: setuptools in /usr/lib/python3/dist-packages (from sphinx==2.3.1->aibolit==0.0.0) (39.0.1)
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: 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: 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: 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: 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-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: 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: 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: 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: 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=12119570 sha256=bb880e3b3b31297dc358dad6eee55162eed538d1839ba040b38a411183351c2d
Stored in directory: /tmp/pip-ephem-wheel-cache-cpl91je1/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/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_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/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/ast_framework/ast.py:178: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.)
return self.get_attr(node, 'node_type')
/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:149: 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:150: 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:151: 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:214: 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:216: 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..................sss.................................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:193: 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:195: 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:194: 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/aibolit/ast_framework/ast.py:182: 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:184: 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:188: 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:189: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.)
self.get_attr(children[1], 'string'))
./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 401 tests in 19.156s
OK (skipped=55)
python3 aibolit --version
Version 1.2.5 is available, but you are using 0.0.0
aibolit 0.0.0
xcop
python3 -m test.integration.all
Processed files in testing:
100% 157/157[[11:55<00:00,113.75s/it]
./test/integration/test_recommend.sh
Success: aibolit check was successful
+ 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
860ec43..b9ff191 master -> master
container 02f93e04595e96071d7a34efd8376dcb8b1452c853492f0264034adcc9842aa2 is dead
Fri Jul 24 19:00:35 CEST 2020