Description
I ran pip install cryptofeed in VS code, and this is the error i encountered (I pasted the full output for context sake):
Building wheels for collected packages: yapic.json
Building wheel for yapic.json (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for yapic.json (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [209 lines of output]
/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-build-env-ao9thi9a/overlay/lib/python3.13/site-packages/pdm/pep517/base.py:296: PDMWarning: 'license' is missing
"license": meta.license_expression,
/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-build-env-ao9thi9a/overlay/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:81: SetuptoolsWarning: extras_require
overwritten in pyproject.toml
(optional-dependencies)
corresp(dist, value, root_dir)
running build
running build_py
creating /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/init.py -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
running egg_info
creating yapic.json.egg-info
writing yapic.json.egg-info/PKG-INFO
writing dependency_links to yapic.json.egg-info/dependency_links.txt
writing requirements to yapic.json.egg-info/requires.txt
writing top-level names to yapic.json.egg-info/top_level.txt
writing manifest file 'yapic.json.egg-info/SOURCES.txt'
reading manifest file 'yapic.json.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'yapic.json.egg-info/SOURCES.txt'
copying src/_json.pyi -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/buffer.h -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/config.h -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/decoder.h -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/encoder.h -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/error.h -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/homogene_list.h -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/json.cpp -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/json.h -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/str_decode_table.h -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
copying src/util.h -> /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json
running build_ext
building 'yapic.json._json' extension
creating /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion
creating /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/src
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DYAPIC_JSON_VERSION_MAJOR=1 -DYAPIC_JSON_VERSION_MINOR=9 -DYAPIC_JSON_VERSION_PATCH=5 -Ilibs/double-conversion -Ilibs/yapic.core/src/yapic/core/include -I/Users/michael/Desktop/pybit-pairs-bot/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c libs/double-conversion/double-conversion/bignum-dtoa.cc -o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/bignum-dtoa.o -std=c++11 -Wno-unknown-pragmas -Wno-write-strings -O3
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DYAPIC_JSON_VERSION_MAJOR=1 -DYAPIC_JSON_VERSION_MINOR=9 -DYAPIC_JSON_VERSION_PATCH=5 -Ilibs/double-conversion -Ilibs/yapic.core/src/yapic/core/include -I/Users/michael/Desktop/pybit-pairs-bot/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c libs/double-conversion/double-conversion/bignum.cc -o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/bignum.o -std=c++11 -Wno-unknown-pragmas -Wno-write-strings -O3
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DYAPIC_JSON_VERSION_MAJOR=1 -DYAPIC_JSON_VERSION_MINOR=9 -DYAPIC_JSON_VERSION_PATCH=5 -Ilibs/double-conversion -Ilibs/yapic.core/src/yapic/core/include -I/Users/michael/Desktop/pybit-pairs-bot/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c libs/double-conversion/double-conversion/cached-powers.cc -o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/cached-powers.o -std=c++11 -Wno-unknown-pragmas -Wno-write-strings -O3
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DYAPIC_JSON_VERSION_MAJOR=1 -DYAPIC_JSON_VERSION_MINOR=9 -DYAPIC_JSON_VERSION_PATCH=5 -Ilibs/double-conversion -Ilibs/yapic.core/src/yapic/core/include -I/Users/michael/Desktop/pybit-pairs-bot/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c libs/double-conversion/double-conversion/double-to-string.cc -o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/double-to-string.o -std=c++11 -Wno-unknown-pragmas -Wno-write-strings -O3
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DYAPIC_JSON_VERSION_MAJOR=1 -DYAPIC_JSON_VERSION_MINOR=9 -DYAPIC_JSON_VERSION_PATCH=5 -Ilibs/double-conversion -Ilibs/yapic.core/src/yapic/core/include -I/Users/michael/Desktop/pybit-pairs-bot/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c libs/double-conversion/double-conversion/fast-dtoa.cc -o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/fast-dtoa.o -std=c++11 -Wno-unknown-pragmas -Wno-write-strings -O3
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DYAPIC_JSON_VERSION_MAJOR=1 -DYAPIC_JSON_VERSION_MINOR=9 -DYAPIC_JSON_VERSION_PATCH=5 -Ilibs/double-conversion -Ilibs/yapic.core/src/yapic/core/include -I/Users/michael/Desktop/pybit-pairs-bot/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c libs/double-conversion/double-conversion/fixed-dtoa.cc -o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/fixed-dtoa.o -std=c++11 -Wno-unknown-pragmas -Wno-write-strings -O3
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DYAPIC_JSON_VERSION_MAJOR=1 -DYAPIC_JSON_VERSION_MINOR=9 -DYAPIC_JSON_VERSION_PATCH=5 -Ilibs/double-conversion -Ilibs/yapic.core/src/yapic/core/include -I/Users/michael/Desktop/pybit-pairs-bot/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c libs/double-conversion/double-conversion/string-to-double.cc -o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/string-to-double.o -std=c++11 -Wno-unknown-pragmas -Wno-write-strings -O3
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DYAPIC_JSON_VERSION_MAJOR=1 -DYAPIC_JSON_VERSION_MINOR=9 -DYAPIC_JSON_VERSION_PATCH=5 -Ilibs/double-conversion -Ilibs/yapic.core/src/yapic/core/include -I/Users/michael/Desktop/pybit-pairs-bot/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c libs/double-conversion/double-conversion/strtod.cc -o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/strtod.o -std=c++11 -Wno-unknown-pragmas -Wno-write-strings -O3
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DYAPIC_JSON_VERSION_MAJOR=1 -DYAPIC_JSON_VERSION_MINOR=9 -DYAPIC_JSON_VERSION_PATCH=5 -Ilibs/double-conversion -Ilibs/yapic.core/src/yapic/core/include -I/Users/michael/Desktop/pybit-pairs-bot/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c src/json.cpp -o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/src/json.o -std=c++11 -Wno-unknown-pragmas -Wno-write-strings -O3
In file included from src/json.cpp:19:
src/decoder.h:522:12: warning: unused variable 'start' [-Wunused-variable]
522 | CHIN* start = cursor;
| ^~~~~
src/decoder.h:502:6: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::DateParser::ReadFraction' requested here
502 | ReadFraction(cursor, &cursor, f);
| ^
src/decoder.h:668:22: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::DateParser::ReadTime' requested here
668 | if (DateParser::ReadTime(++cursor, &cursor, &h, &m, &s, &f)) {
| ^
src/decoder.h:409:21: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::__read_date' requested here
409 | if (parseDate && __read_date(cursor, cursorOut, &tmp)) {
| ^
src/decoder.h:376:13: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::ReadString' requested here
376 | return ReadString(++cursor, cursorOut);
| ^
src/decoder.h:360:23: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::ReadValue' requested here
360 | PyObject* result = ReadValue(input.begin, &cursor);
| ^
src/json.cpp:157:7: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::Decode' requested here
157 | __decode_str(Py_UCS1);
| ^
src/json.cpp:29:17: note: expanded from macro '__decode_str'
29 | return decoder.Decode();
| ^
In file included from src/json.cpp:19:
src/decoder.h:522:12: warning: unused variable 'start' [-Wunused-variable]
522 | CHIN* start = cursor;
| ^~~~~
src/decoder.h:502:6: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::DateParser::ReadFraction' requested here
502 | ReadFraction(cursor, &cursor, f);
| ^
src/decoder.h:668:22: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::DateParser::ReadTime' requested here
668 | if (DateParser::ReadTime(++cursor, &cursor, &h, &m, &s, &f)) {
| ^
src/decoder.h:409:21: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::__read_date' requested here
409 | if (parseDate && __read_date(cursor, cursorOut, &tmp)) {
| ^
src/decoder.h:376:13: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::ReadString' requested here
376 | return ReadString(++cursor, cursorOut);
| ^
src/decoder.h:360:23: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::ReadValue' requested here
360 | PyObject* result = ReadValue(input.begin, &cursor);
| ^
src/json.cpp:161:7: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::Decode' requested here
161 | __decode_str(Py_UCS2);
| ^
src/json.cpp:29:17: note: expanded from macro '__decode_str'
29 | return decoder.Decode();
| ^
In file included from src/json.cpp:19:
src/decoder.h:522:12: warning: unused variable 'start' [-Wunused-variable]
522 | CHIN* start = cursor;
| ^~~~~
src/decoder.h:502:6: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::DateParser::ReadFraction' requested here
502 | ReadFraction(cursor, &cursor, f);
| ^
src/decoder.h:668:22: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::DateParser::ReadTime' requested here
668 | if (DateParser::ReadTime(++cursor, &cursor, &h, &m, &s, &f)) {
| ^
src/decoder.h:409:21: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::__read_date' requested here
409 | if (parseDate && __read_date(cursor, cursorOut, &tmp)) {
| ^
src/decoder.h:376:13: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::ReadString' requested here
376 | return ReadString(++cursor, cursorOut);
| ^
src/decoder.h:360:23: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::ReadValue' requested here
360 | PyObject* result = ReadValue(input.begin, &cursor);
| ^
src/json.cpp:165:7: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer, Yapic::Json::StringReader<Yapic::Json::UnicodeInput, unsigned int, Yapic::Json::ChunkBuffer>>::Decode' requested here
165 | __decode_str(Py_UCS4);
| ^
src/json.cpp:29:17: note: expanded from macro '__decode_str'
29 | return decoder.Decode();
| ^
In file included from src/json.cpp:19:
src/decoder.h:522:12: warning: unused variable 'start' [-Wunused-variable]
522 | CHIN* start = cursor;
| ^~~~~
src/decoder.h:502:6: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::DateParser::ReadFraction' requested here
502 | ReadFraction(cursor, &cursor, f);
| ^
src/decoder.h:668:22: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::DateParser::ReadTime' requested here
668 | if (DateParser::ReadTime(++cursor, &cursor, &h, &m, &s, &f)) {
| ^
src/decoder.h:409:21: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::__read_date' requested here
409 | if (parseDate && __read_date(cursor, cursorOut, &tmp)) {
| ^
src/decoder.h:376:13: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::ReadString' requested here
376 | return ReadString(++cursor, cursorOut);
| ^
src/decoder.h:360:23: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::ReadValue' requested here
360 | PyObject* result = ReadValue(input.begin, &cursor);
| ^
src/json.cpp:173:5: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::BytesInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::Decode' requested here
173 | __decode_bytes();
| ^
src/json.cpp:35:17: note: expanded from macro '__decode_bytes'
35 | return decoder.Decode();
| ^
In file included from src/json.cpp:19:
src/decoder.h:522:12: warning: unused variable 'start' [-Wunused-variable]
522 | CHIN* start = cursor;
| ^~~~~
src/decoder.h:502:6: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::DateParser::ReadFraction' requested here
502 | ReadFraction(cursor, &cursor, f);
| ^
src/decoder.h:668:22: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::DateParser::ReadTime' requested here
668 | if (DateParser::ReadTime(++cursor, &cursor, &h, &m, &s, &f)) {
| ^
src/decoder.h:409:21: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::__read_date' requested here
409 | if (parseDate && __read_date(cursor, cursorOut, &tmp)) {
| ^
src/decoder.h:376:13: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::ReadString' requested here
376 | return ReadString(++cursor, cursorOut);
| ^
src/decoder.h:360:23: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::ReadValue' requested here
360 | PyObject* result = ReadValue(input.begin, &cursor);
| ^
src/json.cpp:175:5: note: in instantiation of member function 'Yapic::Json::Decoder<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>, Yapic::Json::BytesReader<Yapic::Json::ByteArrayInput, unsigned int, Yapic::Json::MemoryBuffer<unsigned int, 4096>>>::Decode' requested here
175 | __decode_bytearray();
| ^
src/json.cpp:41:17: note: expanded from macro '__decode_bytearray'
41 | return decoder.Decode();
| ^
5 warnings generated.
Compiling with an SDK that doesn't seem to exist: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
Please check your Xcode installation
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/bignum-dtoa.o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/bignum.o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/cached-powers.o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/double-to-string.o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/fast-dtoa.o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/fixed-dtoa.o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/string-to-double.o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/libs/double-conversion/double-conversion/strtod.o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/temp.macosx-15.0-arm64-cpython-313/src/json.o -o /private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build/lib.macosx-15.0-arm64-cpython-313/yapic/json/_json.cpython-313-darwin.so
clang++: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk' [-Wmissing-sysroot]
ld: library 'c++' not found
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang++' failed with exit code 1
Traceback (most recent call last):
File "/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-build-env-ao9thi9a/overlay/lib/python3.13/site-packages/pdm/pep517/wheel.py", line 274, in _build
subprocess.check_call(build_args)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 419, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/michael/Desktop/pybit-pairs-bot/venv/bin/python3.13', '/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/setup.py', 'build', '-b', '/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/michael/Desktop/pybit-pairs-bot/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
~~~~^^
File "/Users/michael/Desktop/pybit-pairs-bot/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/michael/Desktop/pybit-pairs-bot/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
return _build_backend().build_wheel(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
wheel_directory, config_settings, metadata_directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-build-env-ao9thi9a/overlay/lib/python3.13/site-packages/pdm/pep517/api.py", line 75, in build_wheel
builder.build(wheel_directory, metadata_directory=metadata_directory)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-build-env-ao9thi9a/overlay/lib/python3.13/site-packages/pdm/pep517/wheel.py", line 160, in build
self._build()
~~~~~~~~~~~^^
File "/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-build-env-ao9thi9a/overlay/lib/python3.13/site-packages/pdm/pep517/wheel.py", line 276, in _build
raise BuildError(f"Error occurs when running {build_args}:\n{e}")
pdm.pep517.exceptions.BuildError: Error occurs when running ['/Users/michael/Desktop/pybit-pairs-bot/venv/bin/python3.13', '/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/setup.py', 'build', '-b', '/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build']:
Command '['/Users/michael/Desktop/pybit-pairs-bot/venv/bin/python3.13', '/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/setup.py', 'build', '-b', '/private/var/folders/kr/37tr9w_j26xbtkn12wgw8x8m0000gn/T/pip-install-i2861fx0/yapic-json_33353da4d3234c76beb6fbfa1b882a51/build']' returned non-zero exit status 1.
[end of output]
Ultimately, it failed to build yapic.json
Im running python 3.13 in a venv. Please help!