2021-07-14T22:50:49,811 Created temporary directory: /tmp/pip-ephem-wheel-cache-mog3z614 2021-07-14T22:50:49,814 Created temporary directory: /tmp/pip-req-tracker-u9hgjz1v 2021-07-14T22:50:49,815 Initialized build tracking at /tmp/pip-req-tracker-u9hgjz1v 2021-07-14T22:50:49,815 Created build tracker: /tmp/pip-req-tracker-u9hgjz1v 2021-07-14T22:50:49,815 Entered build tracker: /tmp/pip-req-tracker-u9hgjz1v 2021-07-14T22:50:49,816 Created temporary directory: /tmp/pip-wheel-5mgodea_ 2021-07-14T22:50:49,848 1 location(s) to search for versions of style-rank: 2021-07-14T22:50:49,848 * https://pypi.org/simple/style-rank/ 2021-07-14T22:50:49,849 Fetching project page and analyzing links: https://pypi.org/simple/style-rank/ 2021-07-14T22:50:49,849 Getting page https://pypi.org/simple/style-rank/ 2021-07-14T22:50:49,851 Found index url https://pypi.org/simple 2021-07-14T22:50:49,940 Found link https://files.pythonhosted.org/packages/bf/01/78df2bb7a0e28dca412db78b0074215750d48d6fba5999e0285be22c3735/style_rank-1.0.18.tar.gz#sha256=7d9168738f9036d74c50ebe06800ab70267c3b3d3cda3c5157182e456b32de9a (from https://pypi.org/simple/style-rank/), version: 1.0.18 2021-07-14T22:50:49,941 Found link https://files.pythonhosted.org/packages/5c/93/0354442375987b66fa1441857b67415a1add99ac7e3144842f1733e8b3cd/style_rank-1.0.19.tar.gz#sha256=ff01dbf98de53ffdbc111d9c715ab119e3a6bf6d48233a924a411ae6a6a9b00f (from https://pypi.org/simple/style-rank/), version: 1.0.19 2021-07-14T22:50:49,941 Skipping link: not a file: https://pypi.org/simple/style-rank/ 2021-07-14T22:50:49,959 Given no hashes to check 1 links for project 'style-rank': discarding no candidates 2021-07-14T22:50:49,978 Collecting style-rank==1.0.18 2021-07-14T22:50:49,980 Created temporary directory: /tmp/pip-unpack-xjwp7b6b 2021-07-14T22:50:50,214 Downloading style_rank-1.0.18.tar.gz (82 kB) 2021-07-14T22:50:50,338 Added style-rank==1.0.18 from https://files.pythonhosted.org/packages/bf/01/78df2bb7a0e28dca412db78b0074215750d48d6fba5999e0285be22c3735/style_rank-1.0.18.tar.gz#sha256=7d9168738f9036d74c50ebe06800ab70267c3b3d3cda3c5157182e456b32de9a to build tracker '/tmp/pip-req-tracker-u9hgjz1v' 2021-07-14T22:50:50,339 Running setup.py (path:/tmp/pip-wheel-5mgodea_/style-rank_0028dde671ba4894ba795252109a3f95/setup.py) egg_info for package style-rank 2021-07-14T22:50:50,340 Created temporary directory: /tmp/pip-pip-egg-info-uwig56vz 2021-07-14T22:50:50,340 Running command python setup.py egg_info 2021-07-14T22:50:51,596 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead 2021-07-14T22:50:51,596 warnings.warn( 2021-07-14T22:50:51,750 running egg_info 2021-07-14T22:50:51,753 creating /tmp/pip-pip-egg-info-uwig56vz/style_rank.egg-info 2021-07-14T22:50:51,755 writing /tmp/pip-pip-egg-info-uwig56vz/style_rank.egg-info/PKG-INFO 2021-07-14T22:50:51,757 writing dependency_links to /tmp/pip-pip-egg-info-uwig56vz/style_rank.egg-info/dependency_links.txt 2021-07-14T22:50:51,759 writing requirements to /tmp/pip-pip-egg-info-uwig56vz/style_rank.egg-info/requires.txt 2021-07-14T22:50:51,760 writing top-level names to /tmp/pip-pip-egg-info-uwig56vz/style_rank.egg-info/top_level.txt 2021-07-14T22:50:51,762 writing manifest file '/tmp/pip-pip-egg-info-uwig56vz/style_rank.egg-info/SOURCES.txt' 2021-07-14T22:50:51,947 reading manifest file '/tmp/pip-pip-egg-info-uwig56vz/style_rank.egg-info/SOURCES.txt' 2021-07-14T22:50:51,950 reading manifest template 'MANIFEST.in' 2021-07-14T22:50:51,985 writing manifest file '/tmp/pip-pip-egg-info-uwig56vz/style_rank.egg-info/SOURCES.txt' 2021-07-14T22:50:52,077 Source in /tmp/pip-wheel-5mgodea_/style-rank_0028dde671ba4894ba795252109a3f95 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#sha256=7d9168738f9036d74c50ebe06800ab70267c3b3d3cda3c5157182e456b32de9a 2021-07-14T22:50:52,078 Removed style-rank==1.0.18 from https://files.pythonhosted.org/packages/bf/01/78df2bb7a0e28dca412db78b0074215750d48d6fba5999e0285be22c3735/style_rank-1.0.18.tar.gz#sha256=7d9168738f9036d74c50ebe06800ab70267c3b3d3cda3c5157182e456b32de9a from build tracker '/tmp/pip-req-tracker-u9hgjz1v' 2021-07-14T22:50:52,082 Created temporary directory: /tmp/pip-unpack-0ltmab3k 2021-07-14T22:50:52,082 Building wheels for collected packages: style-rank 2021-07-14T22:50:52,087 Created temporary directory: /tmp/pip-wheel-v_u3q688 2021-07-14T22:50:52,088 Building wheel for style-rank (setup.py): started 2021-07-14T22:50:52,088 Destination directory: /tmp/pip-wheel-v_u3q688 2021-07-14T22:50:52,088 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-5mgodea_/style-rank_0028dde671ba4894ba795252109a3f95/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-5mgodea_/style-rank_0028dde671ba4894ba795252109a3f95/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-v_u3q688 2021-07-14T22:50:53,341 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead 2021-07-14T22:50:53,342 warnings.warn( 2021-07-14T22:50:53,507 running bdist_wheel 2021-07-14T22:50:53,513 running build 2021-07-14T22:50:53,513 running build_py 2021-07-14T22:50:53,656 creating build 2021-07-14T22:50:53,656 creating build/lib.linux-armv7l-3.9 2021-07-14T22:50:53,657 creating build/lib.linux-armv7l-3.9/style_rank 2021-07-14T22:50:53,658 copying src/style_rank/__init__.py -> build/lib.linux-armv7l-3.9/style_rank 2021-07-14T22:50:53,660 copying src/style_rank/api.py -> build/lib.linux-armv7l-3.9/style_rank 2021-07-14T22:50:53,663 running build_ext 2021-07-14T22:50:53,670 creating tmp 2021-07-14T22:50:53,671 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c /tmp/tmpws6o2g56.cpp -o tmp/tmpws6o2g56.o -std=c++14 2021-07-14T22:50:53,756 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c /tmp/tmpvm4wx7je.cpp -o tmp/tmpvm4wx7je.o -fvisibility=hidden 2021-07-14T22:50:53,846 building 'style_rank._style_rank' extension 2021-07-14T22:50:53,852 creating build/temp.linux-armv7l-3.9 2021-07-14T22:50:53,853 creating build/temp.linux-armv7l-3.9/src 2021-07-14T22:50:53,854 creating build/temp.linux-armv7l-3.9/src/style_rank 2021-07-14T22:50:53,855 creating build/temp.linux-armv7l-3.9/src/style_rank/deps 2021-07-14T22:50:53,856 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/piwheels/.local/lib/python3.9/site-packages/pybind11/include -I/home/piwheels/.local/lib/python3.9/site-packages/pybind11/include -I/usr/include/python3.9 -c src/style_rank/bindings.cpp -o build/temp.linux-armv7l-3.9/src/style_rank/bindings.o -DVERSION_INFO="1.0.18" -std=c++14 -fvisibility=hidden 2021-07-14T22:50:55,656 In file included from src/style_rank/bindings.cpp:1: 2021-07-14T22:50:55,656 src/style_rank/utils.hpp:113:44: error: ‘unique_ptr’ is not a member of ‘std’ 2021-07-14T22:50:55,656 113 | std::map>> dists; 2021-07-14T22:50:55,657 | ^~~~~~~~~~ 2021-07-14T22:50:55,657 src/style_rank/utils.hpp:14:1: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2021-07-14T22:50:55,657 13 | #include 2021-07-14T22:50:55,657 +++ |+#include 2021-07-14T22:50:55,657 14 | 2021-07-14T22:50:55,657 src/style_rank/utils.hpp:113:44: error: ‘unique_ptr’ is not a member of ‘std’ 2021-07-14T22:50:55,657 113 | std::map>> dists; 2021-07-14T22:50:55,658 | ^~~~~~~~~~ 2021-07-14T22:50:55,658 src/style_rank/utils.hpp:113:44: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2021-07-14T22:50:55,658 src/style_rank/utils.hpp:113:55: error: template argument 1 is invalid 2021-07-14T22:50:55,658 113 | std::map>> dists; 2021-07-14T22:50:55,658 | ^~~~~~~~~~~~~ 2021-07-14T22:50:55,658 src/style_rank/utils.hpp:113:55: error: template argument 2 is invalid 2021-07-14T22:50:55,658 src/style_rank/utils.hpp:113:68: error: template argument 2 is invalid 2021-07-14T22:50:55,659 113 | std::map>> dists; 2021-07-14T22:50:55,659 | ^~ 2021-07-14T22:50:55,659 src/style_rank/utils.hpp:113:68: error: template argument 4 is invalid 2021-07-14T22:50:55,659 src/style_rank/utils.hpp:113:70: error: expected unqualified-id before ‘>’ token 2021-07-14T22:50:55,659 113 | std::map>> dists; 2021-07-14T22:50:55,659 | ^ 2021-07-14T22:50:55,670 src/style_rank/utils.hpp:116:37: error: ‘std::unique_ptr’ has not been declared 2021-07-14T22:50:55,671 116 | void add(std::string name, std::unique_ptr x) { 2021-07-14T22:50:55,671 | ^~~~~~~~~~ 2021-07-14T22:50:55,671 src/style_rank/utils.hpp:116:47: error: expected ‘,’ or ‘...’ before ‘<’ token 2021-07-14T22:50:55,671 116 | void add(std::string name, std::unique_ptr x) { 2021-07-14T22:50:55,671 | ^ 2021-07-14T22:50:55,674 src/style_rank/utils.hpp: In member function ‘void Collector::add(std::string, int)’: 2021-07-14T22:50:55,674 src/style_rank/utils.hpp:117:32: error: ‘x’ was not declared in this scope 2021-07-14T22:50:55,675 117 | for (const auto &kv : *x) { 2021-07-14T22:50:55,675 | ^ 2021-07-14T22:50:55,678 src/style_rank/utils.hpp:120:9: error: ‘dists’ was not declared in this scope 2021-07-14T22:50:55,678 120 | dists[name].push_back(std::move(x)); 2021-07-14T22:50:55,678 | ^~~~~ 2021-07-14T22:50:55,681 src/style_rank/utils.hpp:120:41: error: ‘x’ was not declared in this scope 2021-07-14T22:50:55,681 120 | dists[name].push_back(std::move(x)); 2021-07-14T22:50:55,681 | ^ 2021-07-14T22:50:55,722 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)’: 2021-07-14T22:50:55,723 src/style_rank/utils.hpp:131:31: error: ‘dists’ was not declared in this scope 2021-07-14T22:50:55,723 131 | for (auto const &kv : dists) { 2021-07-14T22:50:55,723 | ^~~~~ 2021-07-14T22:50:56,025 In file included from src/style_rank/bindings.cpp:2: 2021-07-14T22:50:56,025 src/style_rank/parse.hpp: At global scope: 2021-07-14T22:50:56,025 src/style_rank/parse.hpp:101:9: error: ‘unique_ptr’ was not declared in this scope 2021-07-14T22:50:56,025 101 | vector> notes; 2021-07-14T22:50:56,025 | ^~~~~~~~~~ 2021-07-14T22:50:56,026 src/style_rank/parse.hpp:15:1: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2021-07-14T22:50:56,026 14 | #include "./deps/MidiFile.h" 2021-07-14T22:50:56,026 +++ |+#include 2021-07-14T22:50:56,026 15 | #include "utils.hpp" 2021-07-14T22:50:56,026 src/style_rank/parse.hpp:101:20: error: template argument 1 is invalid 2021-07-14T22:50:56,026 101 | vector> notes; 2021-07-14T22:50:56,026 | ^~~~ 2021-07-14T22:50:56,027 src/style_rank/parse.hpp:101:20: error: template argument 2 is invalid 2021-07-14T22:50:56,027 src/style_rank/parse.hpp:101:24: error: expected unqualified-id before ‘>’ token 2021-07-14T22:50:56,027 101 | vector> notes; 2021-07-14T22:50:56,027 | ^~ 2021-07-14T22:50:56,059 src/style_rank/parse.hpp: In member function ‘void Piece::addNote(int, int, int, int)’: 2021-07-14T22:50:56,059 src/style_rank/parse.hpp:160:3: error: ‘notes’ was not declared in this scope 2021-07-14T22:50:56,060 160 | notes.push_back( 2021-07-14T22:50:56,060 | ^~~~~ 2021-07-14T22:50:56,060 src/style_rank/parse.hpp:161:13: error: ‘unique_ptr’ was not declared in this scope 2021-07-14T22:50:56,060 161 | unique_ptr(new NOTE(pitch, onset, duration, velocity)) ); 2021-07-14T22:50:56,060 | ^~~~~~~~~~ 2021-07-14T22:50:56,060 src/style_rank/parse.hpp:161:13: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2021-07-14T22:50:56,060 src/style_rank/parse.hpp:161:28: error: expected primary-expression before ‘>’ token 2021-07-14T22:50:56,061 161 | unique_ptr(new NOTE(pitch, onset, duration, velocity)) ); 2021-07-14T22:50:56,061 | ^ 2021-07-14T22:50:56,072 src/style_rank/parse.hpp: In member function ‘void Piece::findChords()’: 2021-07-14T22:50:56,072 src/style_rank/parse.hpp:168:7: error: ‘notes’ was not declared in this scope 2021-07-14T22:50:56,072 168 | if (notes.size() <= 0) return; 2021-07-14T22:50:56,072 | ^~~~~ 2021-07-14T22:50:56,076 src/style_rank/parse.hpp:170:27: error: ‘notes’ was not declared in this scope; did you mean ‘note’? 2021-07-14T22:50:56,076 170 | for (const auto ¬e : notes) { 2021-07-14T22:50:56,076 | ^~~~~ 2021-07-14T22:50:56,076 | note 2021-07-14T22:50:56,199 In file included from src/style_rank/bindings.cpp:3: 2021-07-14T22:50:56,200 src/style_rank/features.hpp: At global scope: 2021-07-14T22:50:56,200 src/style_rank/features.hpp:29:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,200 29 | unique_ptr IntervalDist(Piece *p) { 2021-07-14T22:50:56,200 | ^~~~~~~~~~ 2021-07-14T22:50:56,205 src/style_rank/features.hpp:41:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,205 41 | unique_ptr IntervalClassDist(Piece *p) { 2021-07-14T22:50:56,205 | ^~~~~~~~~~ 2021-07-14T22:50:56,210 src/style_rank/features.hpp:53:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,211 53 | unique_ptr ChordSize(Piece *p) { 2021-07-14T22:50:56,211 | ^~~~~~~~~~ 2021-07-14T22:50:56,216 src/style_rank/features.hpp:64:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,216 64 | unique_ptr ChordPCSizeRatio(Piece *p) { 2021-07-14T22:50:56,216 | ^~~~~~~~~~ 2021-07-14T22:50:56,222 src/style_rank/features.hpp:83:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,222 83 | unique_ptr ChordOnsetRatio(Piece *p) { 2021-07-14T22:50:56,222 | ^~~~~~~~~~ 2021-07-14T22:50:56,227 src/style_rank/features.hpp:100:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,228 100 | unique_ptr ChordDistinctDurationRatio(Piece *p) { 2021-07-14T22:50:56,228 | ^~~~~~~~~~ 2021-07-14T22:50:56,233 src/style_rank/features.hpp:115:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,233 115 | unique_ptr ChordDuration(Piece *p) { 2021-07-14T22:50:56,233 | ^~~~~~~~~~ 2021-07-14T22:50:56,238 src/style_rank/features.hpp:126:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,239 126 | unique_ptr ChordShape(Piece *p) { 2021-07-14T22:50:56,239 | ^~~~~~~~~~ 2021-07-14T22:50:56,244 src/style_rank/features.hpp:143:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,244 143 | unique_ptr ChordOnsetShape(Piece *p) { 2021-07-14T22:50:56,244 | ^~~~~~~~~~ 2021-07-14T22:50:56,249 src/style_rank/features.hpp:161:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,250 161 | unique_ptr ChordPCD(Piece *p) { 2021-07-14T22:50:56,250 | ^~~~~~~~~~ 2021-07-14T22:50:56,255 src/style_rank/features.hpp:172:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,255 172 | unique_ptr ChordPCDWBass(Piece *p) { 2021-07-14T22:50:56,255 | ^~~~~~~~~~ 2021-07-14T22:50:56,261 src/style_rank/features.hpp:183:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,261 183 | unique_ptr ChordOnsetPCD(Piece *p) { 2021-07-14T22:50:56,261 | ^~~~~~~~~~ 2021-07-14T22:50:56,266 src/style_rank/features.hpp:194:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,266 194 | unique_ptr ChordOnsetTiePCD(Piece *p) { 2021-07-14T22:50:56,266 | ^~~~~~~~~~ 2021-07-14T22:50:56,272 src/style_rank/features.hpp:202:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,272 202 | unique_ptr ChordOnsetTiePCDTogether(Piece *p) { 2021-07-14T22:50:56,272 | ^~~~~~~~~~ 2021-07-14T22:50:56,277 src/style_rank/features.hpp:220:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,278 220 | unique_ptr ChordTonnetz(Piece *p) { 2021-07-14T22:50:56,278 | ^~~~~~~~~~ 2021-07-14T22:50:56,283 src/style_rank/features.hpp:231:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,283 231 | unique_ptr ChordOnset(Piece *p) { 2021-07-14T22:50:56,283 | ^~~~~~~~~~ 2021-07-14T22:50:56,288 src/style_rank/features.hpp:248:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,289 248 | unique_ptr ChordRange(Piece *p) { 2021-07-14T22:50:56,289 | ^~~~~~~~~~ 2021-07-14T22:50:56,294 src/style_rank/features.hpp:261:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,294 261 | unique_ptr ChordDissonance(Piece *p) { 2021-07-14T22:50:56,294 | ^~~~~~~~~~ 2021-07-14T22:50:56,299 src/style_rank/features.hpp:286:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,300 286 | unique_ptr ChordTranDissonance(Piece *p) { 2021-07-14T22:50:56,300 | ^~~~~~~~~~ 2021-07-14T22:50:56,305 src/style_rank/features.hpp:311:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,305 311 | unique_ptr ChordLowestInterval(Piece *p) { 2021-07-14T22:50:56,305 | ^~~~~~~~~~ 2021-07-14T22:50:56,311 src/style_rank/features.hpp:325:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,311 325 | unique_ptr ChordSizeNgram(Piece *p) { 2021-07-14T22:50:56,311 | ^~~~~~~~~~ 2021-07-14T22:50:56,316 src/style_rank/features.hpp:340:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,316 340 | unique_ptr ChordTranVoiceMotion(Piece *p) { 2021-07-14T22:50:56,316 | ^~~~~~~~~~ 2021-07-14T22:50:56,322 src/style_rank/features.hpp:367:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,322 367 | unique_ptr ChordTranRepeat(Piece *p) { 2021-07-14T22:50:56,322 | ^~~~~~~~~~ 2021-07-14T22:50:56,327 src/style_rank/features.hpp:392:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,328 392 | unique_ptr ChordTranScaleDistance(Piece *p) { 2021-07-14T22:50:56,328 | ^~~~~~~~~~ 2021-07-14T22:50:56,333 src/style_rank/features.hpp:413:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,333 413 | unique_ptr ChordTranScaleUnion(Piece *p) { 2021-07-14T22:50:56,333 | ^~~~~~~~~~ 2021-07-14T22:50:56,338 src/style_rank/features.hpp:434:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,339 434 | unique_ptr ChordTranDistance(Piece *p) { 2021-07-14T22:50:56,339 | ^~~~~~~~~~ 2021-07-14T22:50:56,344 src/style_rank/features.hpp:447:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,344 447 | unique_ptr ChordTranOuter(Piece *p) { 2021-07-14T22:50:56,344 | ^~~~~~~~~~ 2021-07-14T22:50:56,349 In file included from src/style_rank/bindings.cpp:3: 2021-07-14T22:50:56,350 src/style_rank/features.hpp:463:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,350 463 | unique_ptr ChordTranBassInterval(Piece *p) { 2021-07-14T22:50:56,350 | ^~~~~~~~~~ 2021-07-14T22:50:56,355 src/style_rank/features.hpp:480:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,355 480 | unique_ptr ChordTranMelodyInterval(Piece *p) { 2021-07-14T22:50:56,355 | ^~~~~~~~~~ 2021-07-14T22:50:56,361 src/style_rank/features.hpp:498:1: error: ‘unique_ptr’ does not name a type 2021-07-14T22:50:56,361 498 | unique_ptr ChordMelodyNgram(Piece *p) { 2021-07-14T22:50:56,361 | ^~~~~~~~~~ 2021-07-14T22:50:56,361 src/style_rank/features.hpp: In function ‘uint64_t roll_to_min(uint64_t, int)’: 2021-07-14T22:50:56,361 src/style_rank/features.hpp:515:29: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 2021-07-14T22:50:56,361 515 | uint64_t tmp = (x >> i) + (x << (n-i)) & ((1< PCDTran(Piece *p) { 2021-07-14T22:50:56,367 | ^~~~~~~~~~ 2021-07-14T22:50:56,368 In file included from src/style_rank/bindings.cpp:4: 2021-07-14T22:50:56,368 src/style_rank/feature_map.hpp:9:45: error: ‘unique_ptr’ is not a member of ‘std’ 2021-07-14T22:50:56,368 9 | static std::unordered_map(*)(Piece*)> m { 2021-07-14T22:50:56,368 | ^~~~~~~~~~ 2021-07-14T22:50:56,368 src/style_rank/feature_map.hpp:1:1: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2021-07-14T22:50:56,368 +++ |+#include 2021-07-14T22:50:56,368 1 | #ifndef STYLE_RANK_FEATURE_MAP_H 2021-07-14T22:50:56,369 src/style_rank/feature_map.hpp:9:45: error: ‘unique_ptr’ is not a member of ‘std’ 2021-07-14T22:50:56,369 9 | static std::unordered_map(*)(Piece*)> m { 2021-07-14T22:50:56,369 | ^~~~~~~~~~ 2021-07-14T22:50:56,369 src/style_rank/feature_map.hpp:9:45: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’? 2021-07-14T22:50:56,369 src/style_rank/feature_map.hpp:9:69: error: template argument 2 is invalid 2021-07-14T22:50:56,369 9 | static std::unordered_map(*)(Piece*)> m { 2021-07-14T22:50:56,369 | ^ 2021-07-14T22:50:56,369 src/style_rank/feature_map.hpp:9:69: error: template argument 5 is invalid 2021-07-14T22:50:56,370 src/style_rank/feature_map.hpp:9:72: error: expected unqualified-id before ‘)’ token 2021-07-14T22:50:56,370 9 | static std::unordered_map(*)(Piece*)> m { 2021-07-14T22:50:56,370 | ^ 2021-07-14T22:50:58,434 src/style_rank/bindings.cpp: In function ‘std::vector > get_feature_names()’: 2021-07-14T22:50:58,434 src/style_rank/bindings.cpp:16:78: error: ‘m’ was not declared in this scope; did you mean ‘tm’? 2021-07-14T22:50:58,434 16 | return extract_keys(*)(Piece*)>(m); 2021-07-14T22:50:58,434 | ^ 2021-07-14T22:50:58,434 | tm 2021-07-14T22:50:58,453 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)’: 2021-07-14T22:50:58,454 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] 2021-07-14T22:50:58,454 25 | for (int i=0; i