2023-09-11T21:54:19,133 Created temporary directory: /tmp/pip-build-tracker-3vkrxvss 2023-09-11T21:54:19,134 Initialized build tracking at /tmp/pip-build-tracker-3vkrxvss 2023-09-11T21:54:19,135 Created build tracker: /tmp/pip-build-tracker-3vkrxvss 2023-09-11T21:54:19,136 Entered build tracker: /tmp/pip-build-tracker-3vkrxvss 2023-09-11T21:54:19,136 Created temporary directory: /tmp/pip-wheel-32yqlxpn 2023-09-11T21:54:19,140 Created temporary directory: /tmp/pip-ephem-wheel-cache-pyphznyv 2023-09-11T21:54:19,162 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-11T21:54:19,166 2 location(s) to search for versions of style-rank: 2023-09-11T21:54:19,166 * https://pypi.org/simple/style-rank/ 2023-09-11T21:54:19,166 * https://www.piwheels.org/simple/style-rank/ 2023-09-11T21:54:19,167 Fetching project page and analyzing links: https://pypi.org/simple/style-rank/ 2023-09-11T21:54:19,167 Getting page https://pypi.org/simple/style-rank/ 2023-09-11T21:54:19,169 Found index url https://pypi.org/simple/ 2023-09-11T21:54:19,426 Fetched page https://pypi.org/simple/style-rank/ as application/vnd.pypi.simple.v1+json 2023-09-11T21:54:19,427 Found link https://files.pythonhosted.org/packages/bf/01/78df2bb7a0e28dca412db78b0074215750d48d6fba5999e0285be22c3735/style_rank-1.0.18.tar.gz (from https://pypi.org/simple/style-rank/), version: 1.0.18 2023-09-11T21:54:19,428 Found link https://files.pythonhosted.org/packages/5c/93/0354442375987b66fa1441857b67415a1add99ac7e3144842f1733e8b3cd/style_rank-1.0.19.tar.gz (from https://pypi.org/simple/style-rank/), version: 1.0.19 2023-09-11T21:54:19,429 Fetching project page and analyzing links: https://www.piwheels.org/simple/style-rank/ 2023-09-11T21:54:19,430 Getting page https://www.piwheels.org/simple/style-rank/ 2023-09-11T21:54:19,432 Found index url https://www.piwheels.org/simple/ 2023-09-11T21:54:19,697 Fetched page https://www.piwheels.org/simple/style-rank/ as text/html 2023-09-11T21:54:19,698 Skipping link: not a file: https://www.piwheels.org/simple/style-rank/ 2023-09-11T21:54:19,698 Skipping link: not a file: https://pypi.org/simple/style-rank/ 2023-09-11T21:54:19,717 Given no hashes to check 1 links for project 'style-rank': discarding no candidates 2023-09-11T21:54:19,735 Collecting style-rank==1.0.18 2023-09-11T21:54:19,738 Created temporary directory: /tmp/pip-unpack-hixa_1bv 2023-09-11T21:54:19,954 Downloading style_rank-1.0.18.tar.gz (82 kB) 2023-09-11T21:54:20,318 Added style-rank==1.0.18 from https://files.pythonhosted.org/packages/bf/01/78df2bb7a0e28dca412db78b0074215750d48d6fba5999e0285be22c3735/style_rank-1.0.18.tar.gz to build tracker '/tmp/pip-build-tracker-3vkrxvss' 2023-09-11T21:54:20,319 Running setup.py (path:/tmp/pip-wheel-32yqlxpn/style-rank_24d3ad049b2a4eedaacfc8fbb447c47f/setup.py) egg_info for package style-rank 2023-09-11T21:54:20,320 Created temporary directory: /tmp/pip-pip-egg-info-uvbgtrsn 2023-09-11T21:54:20,321 Preparing metadata (setup.py): started 2023-09-11T21:54:20,322 Running command python setup.py egg_info 2023-09-11T21:54:20,940 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-11T21:54:20,941 !! 2023-09-11T21:54:20,942 ******************************************************************************** 2023-09-11T21:54:20,942 Usage of dash-separated 'description-file' will not be supported in future 2023-09-11T21:54:20,943 versions. Please use the underscore name 'description_file' instead. 2023-09-11T21:54:20,944 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-11T21:54:20,945 or your builds will no longer be supported. 2023-09-11T21:54:20,946 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-11T21:54:20,946 ******************************************************************************** 2023-09-11T21:54:20,948 !! 2023-09-11T21:54:20,948 opt = self.warn_dash_deprecation(opt, section) 2023-09-11T21:54:21,171 /usr/local/lib/python3.11/dist-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. 2023-09-11T21:54:21,171 !! 2023-09-11T21:54:21,172 ******************************************************************************** 2023-09-11T21:54:21,173 Requirements should be satisfied by a PEP 517 installer. 2023-09-11T21:54:21,173 If you are using pip, you can try `pip install --use-pep517`. 2023-09-11T21:54:21,174 ******************************************************************************** 2023-09-11T21:54:21,175 !! 2023-09-11T21:54:21,175 dist.fetch_build_eggs(dist.setup_requires) 2023-09-11T21:54:23,848 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-11T21:54:23,849 !! 2023-09-11T21:54:23,850 ******************************************************************************** 2023-09-11T21:54:23,850 Usage of dash-separated 'description-file' will not be supported in future 2023-09-11T21:54:23,851 versions. Please use the underscore name 'description_file' instead. 2023-09-11T21:54:23,852 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-11T21:54:23,852 or your builds will no longer be supported. 2023-09-11T21:54:23,853 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-11T21:54:23,854 ******************************************************************************** 2023-09-11T21:54:23,855 !! 2023-09-11T21:54:23,855 opt = self.warn_dash_deprecation(opt, section) 2023-09-11T21:54:23,883 running egg_info 2023-09-11T21:54:23,884 creating /tmp/pip-pip-egg-info-uvbgtrsn/style_rank.egg-info 2023-09-11T21:54:23,909 writing /tmp/pip-pip-egg-info-uvbgtrsn/style_rank.egg-info/PKG-INFO 2023-09-11T21:54:23,912 writing dependency_links to /tmp/pip-pip-egg-info-uvbgtrsn/style_rank.egg-info/dependency_links.txt 2023-09-11T21:54:23,914 writing requirements to /tmp/pip-pip-egg-info-uvbgtrsn/style_rank.egg-info/requires.txt 2023-09-11T21:54:23,915 writing top-level names to /tmp/pip-pip-egg-info-uvbgtrsn/style_rank.egg-info/top_level.txt 2023-09-11T21:54:23,917 writing manifest file '/tmp/pip-pip-egg-info-uvbgtrsn/style_rank.egg-info/SOURCES.txt' 2023-09-11T21:54:23,998 reading manifest file '/tmp/pip-pip-egg-info-uvbgtrsn/style_rank.egg-info/SOURCES.txt' 2023-09-11T21:54:23,999 reading manifest template 'MANIFEST.in' 2023-09-11T21:54:24,022 writing manifest file '/tmp/pip-pip-egg-info-uvbgtrsn/style_rank.egg-info/SOURCES.txt' 2023-09-11T21:54:24,133 Preparing metadata (setup.py): finished with status 'done' 2023-09-11T21:54:24,137 Source in /tmp/pip-wheel-32yqlxpn/style-rank_24d3ad049b2a4eedaacfc8fbb447c47f has version 1.0.18, which satisfies requirement style-rank==1.0.18 from https://files.pythonhosted.org/packages/bf/01/78df2bb7a0e28dca412db78b0074215750d48d6fba5999e0285be22c3735/style_rank-1.0.18.tar.gz 2023-09-11T21:54:24,138 Removed style-rank==1.0.18 from https://files.pythonhosted.org/packages/bf/01/78df2bb7a0e28dca412db78b0074215750d48d6fba5999e0285be22c3735/style_rank-1.0.18.tar.gz from build tracker '/tmp/pip-build-tracker-3vkrxvss' 2023-09-11T21:54:24,142 Created temporary directory: /tmp/pip-unpack-iz0a4zrt 2023-09-11T21:54:24,143 Created temporary directory: /tmp/pip-unpack-mo1ucsyd 2023-09-11T21:54:24,150 Building wheels for collected packages: style-rank 2023-09-11T21:54:24,154 Created temporary directory: /tmp/pip-wheel-zvqoxmz1 2023-09-11T21:54:24,155 Building wheel for style-rank (setup.py): started 2023-09-11T21:54:24,156 Destination directory: /tmp/pip-wheel-zvqoxmz1 2023-09-11T21:54:24,157 Running command python setup.py bdist_wheel 2023-09-11T21:54:24,741 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-11T21:54:24,741 !! 2023-09-11T21:54:24,743 ******************************************************************************** 2023-09-11T21:54:24,743 Usage of dash-separated 'description-file' will not be supported in future 2023-09-11T21:54:24,744 versions. Please use the underscore name 'description_file' instead. 2023-09-11T21:54:24,745 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-11T21:54:24,745 or your builds will no longer be supported. 2023-09-11T21:54:24,746 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-11T21:54:24,747 ******************************************************************************** 2023-09-11T21:54:24,748 !! 2023-09-11T21:54:24,748 opt = self.warn_dash_deprecation(opt, section) 2023-09-11T21:54:24,972 /usr/local/lib/python3.11/dist-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. 2023-09-11T21:54:24,972 !! 2023-09-11T21:54:24,973 ******************************************************************************** 2023-09-11T21:54:24,974 Requirements should be satisfied by a PEP 517 installer. 2023-09-11T21:54:24,974 If you are using pip, you can try `pip install --use-pep517`. 2023-09-11T21:54:24,975 ******************************************************************************** 2023-09-11T21:54:24,976 !! 2023-09-11T21:54:24,976 dist.fetch_build_eggs(dist.setup_requires) 2023-09-11T21:54:25,268 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-11T21:54:25,268 !! 2023-09-11T21:54:25,269 ******************************************************************************** 2023-09-11T21:54:25,270 Usage of dash-separated 'description-file' will not be supported in future 2023-09-11T21:54:25,270 versions. Please use the underscore name 'description_file' instead. 2023-09-11T21:54:25,271 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-11T21:54:25,272 or your builds will no longer be supported. 2023-09-11T21:54:25,273 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-11T21:54:25,274 ******************************************************************************** 2023-09-11T21:54:25,275 !! 2023-09-11T21:54:25,276 opt = self.warn_dash_deprecation(opt, section) 2023-09-11T21:54:25,304 running bdist_wheel 2023-09-11T21:54:25,379 running build 2023-09-11T21:54:25,380 running build_py 2023-09-11T21:54:25,408 creating build 2023-09-11T21:54:25,409 creating build/lib.linux-armv7l-cpython-311 2023-09-11T21:54:25,409 creating build/lib.linux-armv7l-cpython-311/style_rank 2023-09-11T21:54:25,410 copying src/style_rank/api.py -> build/lib.linux-armv7l-cpython-311/style_rank 2023-09-11T21:54:25,413 copying src/style_rank/__init__.py -> build/lib.linux-armv7l-cpython-311/style_rank 2023-09-11T21:54:25,415 running build_ext 2023-09-11T21:54:25,423 creating tmp 2023-09-11T21:54:25,424 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c /tmp/tmpz63pbu54.cpp -o tmp/tmpz63pbu54.o -std=c++14 2023-09-11T21:54:25,487 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c /tmp/tmpedf8uusc.cpp -o tmp/tmpedf8uusc.o -fvisibility=hidden 2023-09-11T21:54:26,040 building 'style_rank._style_rank' extension 2023-09-11T21:54:26,050 creating build/temp.linux-armv7l-cpython-311 2023-09-11T21:54:26,051 creating build/temp.linux-armv7l-cpython-311/src 2023-09-11T21:54:26,051 creating build/temp.linux-armv7l-cpython-311/src/style_rank 2023-09-11T21:54:26,053 creating build/temp.linux-armv7l-cpython-311/src/style_rank/deps 2023-09-11T21:54:26,053 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/tmp/pip-wheel-32yqlxpn/style-rank_24d3ad049b2a4eedaacfc8fbb447c47f/.eggs/pybind11-2.11.1-py3.11.egg/pybind11/include -I/tmp/pip-wheel-32yqlxpn/style-rank_24d3ad049b2a4eedaacfc8fbb447c47f/.eggs/pybind11-2.11.1-py3.11.egg/pybind11/include -I/usr/include/python3.11 -c src/style_rank/bindings.cpp -o build/temp.linux-armv7l-cpython-311/src/style_rank/bindings.o -DVERSION_INFO=\"1.0.18\" -std=c++14 -fvisibility=hidden 2023-09-11T21:54:27,965 In file included from src/style_rank/bindings.cpp:1: 2023-09-11T21:54:27,966 src/style_rank/utils.hpp:113:44: error: ‘unique_ptr’ is not a member of ‘std’ 2023-09-11T21:54:27,966 113 | std::map>> dists; 2023-09-11T21:54:27,967 | ^~~~~~~~~~ 2023-09-11T21:54:27,968 src/style_rank/utils.hpp:14:1: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2023-09-11T21:54:27,968 13 | #include 2023-09-11T21:54:27,969 +++ |+#include 2023-09-11T21:54:27,969 14 | 2023-09-11T21:54:27,970 src/style_rank/utils.hpp:113:44: error: ‘unique_ptr’ is not a member of ‘std’ 2023-09-11T21:54:27,970 113 | std::map>> dists; 2023-09-11T21:54:27,971 | ^~~~~~~~~~ 2023-09-11T21:54:27,971 src/style_rank/utils.hpp:113:44: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2023-09-11T21:54:27,972 src/style_rank/utils.hpp:113:55: error: template argument 1 is invalid 2023-09-11T21:54:27,973 113 | std::map>> dists; 2023-09-11T21:54:27,973 | ^~~~~~~~~~~~~ 2023-09-11T21:54:27,974 src/style_rank/utils.hpp:113:55: error: template argument 2 is invalid 2023-09-11T21:54:27,975 src/style_rank/utils.hpp:113:68: error: template argument 2 is invalid 2023-09-11T21:54:27,975 113 | std::map>> dists; 2023-09-11T21:54:27,976 | ^~ 2023-09-11T21:54:27,977 src/style_rank/utils.hpp:113:68: error: template argument 4 is invalid 2023-09-11T21:54:27,978 src/style_rank/utils.hpp:113:70: error: expected unqualified-id before ‘>’ token 2023-09-11T21:54:27,978 113 | std::map>> dists; 2023-09-11T21:54:27,979 | ^ 2023-09-11T21:54:27,983 src/style_rank/utils.hpp:116:37: error: ‘std::unique_ptr’ has not been declared 2023-09-11T21:54:27,984 116 | void add(std::string name, std::unique_ptr x) { 2023-09-11T21:54:27,984 | ^~~~~~~~~~ 2023-09-11T21:54:27,985 src/style_rank/utils.hpp:116:47: error: expected ‘,’ or ‘...’ before ‘<’ token 2023-09-11T21:54:27,985 116 | void add(std::string name, std::unique_ptr x) { 2023-09-11T21:54:27,986 | ^ 2023-09-11T21:54:27,992 src/style_rank/utils.hpp: In member function ‘void Collector::add(std::string, int)’: 2023-09-11T21:54:27,993 src/style_rank/utils.hpp:117:32: error: ‘x’ was not declared in this scope 2023-09-11T21:54:27,993 117 | for (const auto &kv : *x) { 2023-09-11T21:54:27,994 | ^ 2023-09-11T21:54:28,002 src/style_rank/utils.hpp:120:9: error: ‘dists’ was not declared in this scope 2023-09-11T21:54:28,003 120 | dists[name].push_back(std::move(x)); 2023-09-11T21:54:28,003 | ^~~~~ 2023-09-11T21:54:28,010 src/style_rank/utils.hpp:120:41: error: ‘x’ was not declared in this scope 2023-09-11T21:54:28,011 120 | dists[name].push_back(std::move(x)); 2023-09-11T21:54:28,012 | ^ 2023-09-11T21:54:28,058 src/style_rank/utils.hpp: In member function ‘std::tuple, std::allocator >, std::vector >, std::less, std::allocator > >, std::allocator, std::allocator >, std::vector > > > >, std::map, std::allocator >, std::vector >, std::less, std::allocator > >, std::allocator, std::allocator >, std::vector > > > > > Collector::getData(size_t)’: 2023-09-11T21:54:28,059 src/style_rank/utils.hpp:131:31: error: ‘dists’ was not declared in this scope 2023-09-11T21:54:28,060 131 | for (auto const &kv : dists) { 2023-09-11T21:54:28,060 | ^~~~~ 2023-09-11T21:54:28,435 In file included from src/style_rank/bindings.cpp:2: 2023-09-11T21:54:28,435 src/style_rank/parse.hpp: At global scope: 2023-09-11T21:54:28,436 src/style_rank/parse.hpp:101:16: error: ‘unique_ptr’ was not declared in this scope 2023-09-11T21:54:28,437 101 | vector> notes; 2023-09-11T21:54:28,437 | ^~~~~~~~~~ 2023-09-11T21:54:28,438 src/style_rank/parse.hpp:15:1: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2023-09-11T21:54:28,439 14 | #include "./deps/MidiFile.h" 2023-09-11T21:54:28,440 +++ |+#include 2023-09-11T21:54:28,440 15 | #include "utils.hpp" 2023-09-11T21:54:28,441 src/style_rank/parse.hpp:101:27: error: template argument 1 is invalid 2023-09-11T21:54:28,442 101 | vector> notes; 2023-09-11T21:54:28,443 | ^~~~ 2023-09-11T21:54:28,443 src/style_rank/parse.hpp:101:27: error: template argument 2 is invalid 2023-09-11T21:54:28,444 src/style_rank/parse.hpp:101:31: error: expected unqualified-id before ‘>’ token 2023-09-11T21:54:28,445 101 | vector> notes; 2023-09-11T21:54:28,446 | ^~ 2023-09-11T21:54:28,482 src/style_rank/parse.hpp: In member function ‘void Piece::addNote(int, int, int, int)’: 2023-09-11T21:54:28,482 src/style_rank/parse.hpp:160:17: error: ‘notes’ was not declared in this scope 2023-09-11T21:54:28,483 160 | notes.push_back( 2023-09-11T21:54:28,484 | ^~~~~ 2023-09-11T21:54:28,484 src/style_rank/parse.hpp:161:13: error: ‘unique_ptr’ was not declared in this scope 2023-09-11T21:54:28,485 161 | unique_ptr(new NOTE(pitch, onset, duration, velocity)) ); 2023-09-11T21:54:28,486 | ^~~~~~~~~~ 2023-09-11T21:54:28,486 src/style_rank/parse.hpp:161:13: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2023-09-11T21:54:28,487 src/style_rank/parse.hpp:161:28: error: expected primary-expression before ‘>’ token 2023-09-11T21:54:28,487 161 | unique_ptr(new NOTE(pitch, onset, duration, velocity)) ); 2023-09-11T21:54:28,488 | ^ 2023-09-11T21:54:28,504 src/style_rank/parse.hpp: In member function ‘void Piece::findChords()’: 2023-09-11T21:54:28,505 src/style_rank/parse.hpp:168:21: error: ‘notes’ was not declared in this scope 2023-09-11T21:54:28,506 168 | if (notes.size() <= 0) return; 2023-09-11T21:54:28,507 | ^~~~~ 2023-09-11T21:54:28,517 src/style_rank/parse.hpp:170:41: error: ‘notes’ was not declared in this scope; did you mean ‘note’? 2023-09-11T21:54:28,517 170 | for (const auto ¬e : notes) { 2023-09-11T21:54:28,518 | ^~~~~ 2023-09-11T21:54:28,518 | note 2023-09-11T21:54:28,695 In file included from src/style_rank/bindings.cpp:3: 2023-09-11T21:54:28,695 src/style_rank/features.hpp: At global scope: 2023-09-11T21:54:28,696 src/style_rank/features.hpp:29:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,696 29 | unique_ptr IntervalDist(Piece *p) { 2023-09-11T21:54:28,697 | ^~~~~~~~~~ 2023-09-11T21:54:28,702 src/style_rank/features.hpp:41:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,703 41 | unique_ptr IntervalClassDist(Piece *p) { 2023-09-11T21:54:28,703 | ^~~~~~~~~~ 2023-09-11T21:54:28,709 src/style_rank/features.hpp:53:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,710 53 | unique_ptr ChordSize(Piece *p) { 2023-09-11T21:54:28,710 | ^~~~~~~~~~ 2023-09-11T21:54:28,716 src/style_rank/features.hpp:64:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,717 64 | unique_ptr ChordPCSizeRatio(Piece *p) { 2023-09-11T21:54:28,717 | ^~~~~~~~~~ 2023-09-11T21:54:28,723 src/style_rank/features.hpp:83:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,723 83 | unique_ptr ChordOnsetRatio(Piece *p) { 2023-09-11T21:54:28,724 | ^~~~~~~~~~ 2023-09-11T21:54:28,730 src/style_rank/features.hpp:100:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,730 100 | unique_ptr ChordDistinctDurationRatio(Piece *p) { 2023-09-11T21:54:28,731 | ^~~~~~~~~~ 2023-09-11T21:54:28,737 src/style_rank/features.hpp:115:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,737 115 | unique_ptr ChordDuration(Piece *p) { 2023-09-11T21:54:28,738 | ^~~~~~~~~~ 2023-09-11T21:54:28,744 src/style_rank/features.hpp:126:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,745 126 | unique_ptr ChordShape(Piece *p) { 2023-09-11T21:54:28,745 | ^~~~~~~~~~ 2023-09-11T21:54:28,751 src/style_rank/features.hpp:143:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,752 143 | unique_ptr ChordOnsetShape(Piece *p) { 2023-09-11T21:54:28,752 | ^~~~~~~~~~ 2023-09-11T21:54:28,758 src/style_rank/features.hpp:161:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,758 161 | unique_ptr ChordPCD(Piece *p) { 2023-09-11T21:54:28,759 | ^~~~~~~~~~ 2023-09-11T21:54:28,765 src/style_rank/features.hpp:172:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,765 172 | unique_ptr ChordPCDWBass(Piece *p) { 2023-09-11T21:54:28,766 | ^~~~~~~~~~ 2023-09-11T21:54:28,772 src/style_rank/features.hpp:183:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,772 183 | unique_ptr ChordOnsetPCD(Piece *p) { 2023-09-11T21:54:28,773 | ^~~~~~~~~~ 2023-09-11T21:54:28,779 src/style_rank/features.hpp:194:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,779 194 | unique_ptr ChordOnsetTiePCD(Piece *p) { 2023-09-11T21:54:28,780 | ^~~~~~~~~~ 2023-09-11T21:54:28,786 src/style_rank/features.hpp:202:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,786 202 | unique_ptr ChordOnsetTiePCDTogether(Piece *p) { 2023-09-11T21:54:28,787 | ^~~~~~~~~~ 2023-09-11T21:54:28,793 src/style_rank/features.hpp:220:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,793 220 | unique_ptr ChordTonnetz(Piece *p) { 2023-09-11T21:54:28,794 | ^~~~~~~~~~ 2023-09-11T21:54:28,800 src/style_rank/features.hpp:231:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,801 231 | unique_ptr ChordOnset(Piece *p) { 2023-09-11T21:54:28,801 | ^~~~~~~~~~ 2023-09-11T21:54:28,807 src/style_rank/features.hpp:248:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,808 248 | unique_ptr ChordRange(Piece *p) { 2023-09-11T21:54:28,809 | ^~~~~~~~~~ 2023-09-11T21:54:28,815 src/style_rank/features.hpp:261:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,815 261 | unique_ptr ChordDissonance(Piece *p) { 2023-09-11T21:54:28,816 | ^~~~~~~~~~ 2023-09-11T21:54:28,822 src/style_rank/features.hpp:286:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,823 286 | unique_ptr ChordTranDissonance(Piece *p) { 2023-09-11T21:54:28,823 | ^~~~~~~~~~ 2023-09-11T21:54:28,829 src/style_rank/features.hpp:311:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,830 311 | unique_ptr ChordLowestInterval(Piece *p) { 2023-09-11T21:54:28,830 | ^~~~~~~~~~ 2023-09-11T21:54:28,837 src/style_rank/features.hpp:325:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,837 325 | unique_ptr ChordSizeNgram(Piece *p) { 2023-09-11T21:54:28,838 | ^~~~~~~~~~ 2023-09-11T21:54:28,844 src/style_rank/features.hpp:340:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,845 340 | unique_ptr ChordTranVoiceMotion(Piece *p) { 2023-09-11T21:54:28,845 | ^~~~~~~~~~ 2023-09-11T21:54:28,851 src/style_rank/features.hpp:367:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,852 367 | unique_ptr ChordTranRepeat(Piece *p) { 2023-09-11T21:54:28,853 | ^~~~~~~~~~ 2023-09-11T21:54:28,859 src/style_rank/features.hpp:392:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,859 392 | unique_ptr ChordTranScaleDistance(Piece *p) { 2023-09-11T21:54:28,860 | ^~~~~~~~~~ 2023-09-11T21:54:28,866 src/style_rank/features.hpp:413:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,867 413 | unique_ptr ChordTranScaleUnion(Piece *p) { 2023-09-11T21:54:28,867 | ^~~~~~~~~~ 2023-09-11T21:54:28,874 src/style_rank/features.hpp:434:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,874 434 | unique_ptr ChordTranDistance(Piece *p) { 2023-09-11T21:54:28,875 | ^~~~~~~~~~ 2023-09-11T21:54:28,881 src/style_rank/features.hpp:447:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,882 447 | unique_ptr ChordTranOuter(Piece *p) { 2023-09-11T21:54:28,882 | ^~~~~~~~~~ 2023-09-11T21:54:28,888 src/style_rank/features.hpp:463:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,889 463 | unique_ptr ChordTranBassInterval(Piece *p) { 2023-09-11T21:54:28,890 | ^~~~~~~~~~ 2023-09-11T21:54:28,896 src/style_rank/features.hpp:480:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,896 480 | unique_ptr ChordTranMelodyInterval(Piece *p) { 2023-09-11T21:54:28,897 | ^~~~~~~~~~ 2023-09-11T21:54:28,903 src/style_rank/features.hpp:498:1: error: ‘unique_ptr’ does not name a type 2023-09-11T21:54:28,904 498 | unique_ptr ChordMelodyNgram(Piece *p) { 2023-09-11T21:54:28,905 | ^~~~~~~~~~ 2023-09-11T21:54:28,905 src/style_rank/features.hpp: In function ‘uint64_t roll_to_min(uint64_t, int)’: 2023-09-11T21:54:28,906 src/style_rank/features.hpp:515:29: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 2023-09-11T21:54:28,907 515 | uint64_t tmp = (x >> i) + (x << (n-i)) & ((1< PCDTran(Piece *p) { 2023-09-11T21:54:28,913 | ^~~~~~~~~~ 2023-09-11T21:54:28,913 In file included from src/style_rank/bindings.cpp:4: 2023-09-11T21:54:28,914 src/style_rank/feature_map.hpp:9:45: error: ‘unique_ptr’ is not a member of ‘std’ 2023-09-11T21:54:28,914 9 | static std::unordered_map(*)(Piece*)> m { 2023-09-11T21:54:28,915 | ^~~~~~~~~~ 2023-09-11T21:54:28,915 src/style_rank/feature_map.hpp:1:1: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2023-09-11T21:54:28,916 +++ |+#include 2023-09-11T21:54:28,917 1 | #ifndef STYLE_RANK_FEATURE_MAP_H 2023-09-11T21:54:28,917 src/style_rank/feature_map.hpp:9:45: error: ‘unique_ptr’ is not a member of ‘std’ 2023-09-11T21:54:28,918 9 | static std::unordered_map(*)(Piece*)> m { 2023-09-11T21:54:28,918 | ^~~~~~~~~~ 2023-09-11T21:54:28,919 src/style_rank/feature_map.hpp:9:45: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2023-09-11T21:54:28,919 src/style_rank/feature_map.hpp:9:69: error: template argument 2 is invalid 2023-09-11T21:54:28,920 9 | static std::unordered_map(*)(Piece*)> m { 2023-09-11T21:54:28,921 | ^ 2023-09-11T21:54:28,921 src/style_rank/feature_map.hpp:9:69: error: template argument 5 is invalid 2023-09-11T21:54:28,922 src/style_rank/feature_map.hpp:9:72: error: expected unqualified-id before ‘)’ token 2023-09-11T21:54:28,923 9 | static std::unordered_map(*)(Piece*)> m { 2023-09-11T21:54:28,923 | ^ 2023-09-11T21:54:32,172 src/style_rank/bindings.cpp: In function ‘std::vector > get_feature_names()’: 2023-09-11T21:54:32,172 src/style_rank/bindings.cpp:16:78: error: ‘m’ was not declared in this scope; did you mean ‘tm’? 2023-09-11T21:54:32,173 16 | return extract_keys(*)(Piece*)>(m); 2023-09-11T21:54:32,174 | ^ 2023-09-11T21:54:32,175 | tm 2023-09-11T21:54:32,192 src/style_rank/bindings.cpp: In function ‘std::tuple, std::allocator >, std::vector >, std::less, std::allocator > >, std::allocator, std::allocator >, std::vector > > > >, std::map, std::allocator >, std::vector >, std::less, std::allocator > >, std::allocator, std::allocator >, std::vector > > > >, std::vector > > get_features_internal(std::vector >&, std::vector >&, int)’: 2023-09-11T21:54:32,193 src/style_rank/bindings.cpp:25:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘unsigned int’} [-Wsign-compare] 2023-09-11T21:54:32,194 25 | for (int i=0; i -- a caller that pip uses to run setup.py 2023-09-11T21:54:36,184 # 2023-09-11T21:54:36,184 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-11T21:54:36,184 # import from `distutils.core` to work with newer packaging standards. 2023-09-11T21:54:36,184 # - It provides a clear error message when setuptools is not installed. 2023-09-11T21:54:36,184 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-11T21:54:36,184 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-11T21:54:36,184 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-11T21:54:36,184 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-11T21:54:36,184 import os, sys, tokenize 2023-09-11T21:54:36,184 2023-09-11T21:54:36,184 try: 2023-09-11T21:54:36,184 import setuptools 2023-09-11T21:54:36,184 except ImportError as error: 2023-09-11T21:54:36,184 print( 2023-09-11T21:54:36,184 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-11T21:54:36,184 "the build environment.", 2023-09-11T21:54:36,184 file=sys.stderr, 2023-09-11T21:54:36,184 ) 2023-09-11T21:54:36,184 sys.exit(1) 2023-09-11T21:54:36,184 2023-09-11T21:54:36,184 __file__ = %r 2023-09-11T21:54:36,184 sys.argv[0] = __file__ 2023-09-11T21:54:36,184 2023-09-11T21:54:36,184 if os.path.exists(__file__): 2023-09-11T21:54:36,184 filename = __file__ 2023-09-11T21:54:36,184 with tokenize.open(__file__) as f: 2023-09-11T21:54:36,184 setup_py_code = f.read() 2023-09-11T21:54:36,184 else: 2023-09-11T21:54:36,184 filename = "" 2023-09-11T21:54:36,184 setup_py_code = "from setuptools import setup; setup()" 2023-09-11T21:54:36,184 2023-09-11T21:54:36,184 exec(compile(setup_py_code, filename, "exec")) 2023-09-11T21:54:36,184 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-32yqlxpn/style-rank_24d3ad049b2a4eedaacfc8fbb447c47f/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-zvqoxmz1[/] 2023-09-11T21:54:36,185 [bold magenta]cwd[/]: /tmp/pip-wheel-32yqlxpn/style-rank_24d3ad049b2a4eedaacfc8fbb447c47f/ 2023-09-11T21:54:36,185 Building wheel for style-rank (setup.py): finished with status 'error' 2023-09-11T21:54:36,187 ERROR: Failed building wheel for style-rank 2023-09-11T21:54:36,188 Running setup.py clean for style-rank 2023-09-11T21:54:36,189 Running command python setup.py clean 2023-09-11T21:54:36,777 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-11T21:54:36,777 !! 2023-09-11T21:54:36,779 ******************************************************************************** 2023-09-11T21:54:36,779 Usage of dash-separated 'description-file' will not be supported in future 2023-09-11T21:54:36,780 versions. Please use the underscore name 'description_file' instead. 2023-09-11T21:54:36,781 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-11T21:54:36,782 or your builds will no longer be supported. 2023-09-11T21:54:36,783 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-11T21:54:36,783 ******************************************************************************** 2023-09-11T21:54:36,784 !! 2023-09-11T21:54:36,785 opt = self.warn_dash_deprecation(opt, section) 2023-09-11T21:54:37,007 /usr/local/lib/python3.11/dist-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. 2023-09-11T21:54:37,007 !! 2023-09-11T21:54:37,008 ******************************************************************************** 2023-09-11T21:54:37,009 Requirements should be satisfied by a PEP 517 installer. 2023-09-11T21:54:37,009 If you are using pip, you can try `pip install --use-pep517`. 2023-09-11T21:54:37,010 ******************************************************************************** 2023-09-11T21:54:37,011 !! 2023-09-11T21:54:37,011 dist.fetch_build_eggs(dist.setup_requires) 2023-09-11T21:54:37,317 /usr/local/lib/python3.11/dist-packages/setuptools/dist.py:510: SetuptoolsDeprecationWarning: Invalid dash-separated options 2023-09-11T21:54:37,318 !! 2023-09-11T21:54:37,319 ******************************************************************************** 2023-09-11T21:54:37,319 Usage of dash-separated 'description-file' will not be supported in future 2023-09-11T21:54:37,320 versions. Please use the underscore name 'description_file' instead. 2023-09-11T21:54:37,321 By 2023-Sep-26, you need to update your project and remove deprecated calls 2023-09-11T21:54:37,322 or your builds will no longer be supported. 2023-09-11T21:54:37,323 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. 2023-09-11T21:54:37,324 ******************************************************************************** 2023-09-11T21:54:37,325 !! 2023-09-11T21:54:37,326 opt = self.warn_dash_deprecation(opt, section) 2023-09-11T21:54:37,355 running clean 2023-09-11T21:54:37,404 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-11T21:54:37,407 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2023-09-11T21:54:37,409 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-11T21:54:37,410 'build/scripts-3.11' does not exist -- can't clean it 2023-09-11T21:54:37,411 removing 'build' 2023-09-11T21:54:37,520 Failed to build style-rank 2023-09-11T21:54:37,522 ERROR: Failed to build one or more wheels 2023-09-11T21:54:37,523 Exception information: 2023-09-11T21:54:37,523 Traceback (most recent call last): 2023-09-11T21:54:37,523 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-11T21:54:37,523 status = run_func(*args) 2023-09-11T21:54:37,523 ^^^^^^^^^^^^^^^ 2023-09-11T21:54:37,523 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-11T21:54:37,523 return func(self, options, args) 2023-09-11T21:54:37,523 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T21:54:37,523 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-11T21:54:37,523 raise CommandError("Failed to build one or more wheels") 2023-09-11T21:54:37,523 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-11T21:54:37,526 Removed build tracker: '/tmp/pip-build-tracker-3vkrxvss'