pip3.10.exe install git+https://github.com/jtgrassie/pyrx
Collecting git+https://github.com/jtgrassie/pyrx
Cloning https://github.com/jtgrassie/pyrx to c:\users\speck\appdata\local\temp\pip-req-build-1nrd6gqd
Running command git clone --filter=blob:none --quiet https://github.com/jtgrassie/pyrx 'C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd'
Resolved https://github.com/jtgrassie/pyrx to commit 032f96b
Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pyrx
Building wheel for pyrx (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [176 lines of output]
running bdist_wheel
running build
running build_ext
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22621.
-- The C compiler identification is MSVC 19.33.31630.0
-- The CXX compiler identification is MSVC 19.33.31630.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: D:/TokenV2/winvenv/Scripts/python.exe (found version "3.10.1")
-- Found PythonLibs: D:/Python3/libs/Python310.lib
-- pybind11 v2.4.dev4
-- Setting default build type: Release
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/ml64.exe
-- Performing Test HAVE_CXX_ATOMICS
-- Performing Test HAVE_CXX_ATOMICS - Success
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/build/temp.win-amd64-3.10/Release
MSBuild version 17.3.1+2badb37d1 for .NET Framework
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\ZERO_CHECK.vcxproj]
Checking Build System
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\generate-asm.vcxproj]
Generating configuration.asm at C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX/CMakeLists.txt
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX/CMakeLists.txt
Assembling C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86_static.asm...
aes_hash.cpp
bytecode_machine.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
cpu.cpp
dataset.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\dataset.cpp(135,50): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
soft_aes.cpp
virtual_memory.cpp
vm_interpreted.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
allocator.cpp
assembly_generator_x86.cpp
instruction.cpp
randomx.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(110,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(159,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(321,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
superscalar.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\superscalar.cpp(160,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_compiled.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_interpreted_light.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(42,23): warning C4244: 'initializing': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(41): message : while compiling class template member function 'void randomx::InterpretedLightVm<randomx::AlignedAllocator<64>,true>::datasetRead(uint64_t,randomx::int_reg_t (&)[8])' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(52): message : see reference to class template instantiation 'randomx::InterpretedLightVm<randomx::AlignedAllocator<64>,true>' being compiled [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
blake2_generator.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
instructions_portable.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(63,6): warning C4067: unexpected tokens following preprocessor directive - expected a newline [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(70,6): warning C4067: unexpected tokens following preprocessor directive - expected a newline [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(80,3): warning C4996: '_controlfp': This function or variable may be unsafe. Consider using _controlfp_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
virtual_machine.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.cpp(82,29): warning C4244: '=': conversion from 'uint64_t' to 'randomx::addr_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_compiled_light.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(55,50): warning C4244: 'argument': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(49): message : while compiling class template member function 'void randomx::CompiledLightVm<randomx::AlignedAllocator<64>,true,false>::run(void *)' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(63): message : see reference to class template instantiation 'randomx::CompiledLightVm<randomx::AlignedAllocator<64>,true,false>' being compiled [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
jit_compiler_x86.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(120,45): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(120,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(121,47): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(121,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(122,62): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(122,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(123,70): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(123,41): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(124,56): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(124,40): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(125,44): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(125,30): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(126,47): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(126,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(127,43): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(127,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(128,50): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(128,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(129,49): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(129,36): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(130,49): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(130,32): warning C4244: 'initializing': conversion from '_int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
Generating Code...
argon2_ref.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,36): warning C4101: 'zero_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
argon2_ssse3.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ssse3.c(106,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ssse3.c(106,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
argon2_core.c
reciprocal.c
blake2b.c
Generating Code...
argon2_avx2.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_avx2.c(98,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_avx2.c(98,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
randomx.vcxproj -> C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\Release\randomx.lib
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\pyrx.vcxproj]
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/CMakeLists.txt
main.cpp
rx-slow-hash.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\src\rx-slow-hash.c(36,10): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\pyrx.vcxproj]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 59, in
setup(
File "D:\TokenV2\winvenv\lib\site-packages\setuptools_init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "D:\Python3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\Python3\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\TokenV2\winvenv\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "D:\Python3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Python3\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\Python3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 32, in run
self.build_extension(ext)
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 57, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "D:\Python3\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyrx
Running setup.py clean for pyrx
Failed to build pyrx
Installing collected packages: pyrx
Running setup.py install for pyrx ... error
error: subprocess-exited-with-error
× Running setup.py install for pyrx did not run successfully.
│ exit code: 1
╰─> [178 lines of output]
running install
running build
running build_ext
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22621.
-- The C compiler identification is MSVC 19.33.31630.0
-- The CXX compiler identification is MSVC 19.33.31630.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: D:/TokenV2/winvenv/Scripts/python.exe (found version "3.10.1")
-- Found PythonLibs: D:/Python3/libs/Python310.lib
-- pybind11 v2.4.dev4
-- Setting default build type: Release
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/ml64.exe
-- Performing Test HAVE_CXX_ATOMICS
-- Performing Test HAVE_CXX_ATOMICS - Success
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/build/temp.win-amd64-3.10/Release
MSBuild version 17.3.1+2badb37d1 for .NET Framework
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\ZERO_CHECK.vcxproj]
Checking Build System
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\generate-asm.vcxproj]
Generating configuration.asm at C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX/CMakeLists.txt
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX/CMakeLists.txt
Assembling C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86_static.asm...
aes_hash.cpp
bytecode_machine.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
cpu.cpp
dataset.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\dataset.cpp(135,50): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
soft_aes.cpp
virtual_memory.cpp
vm_interpreted.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
allocator.cpp
assembly_generator_x86.cpp
instruction.cpp
randomx.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(110,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(159,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(321,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
superscalar.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\superscalar.cpp(160,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_compiled.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_interpreted_light.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(42,23): warning C4244: 'initializing': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(41): message : while compiling class template member function 'void randomx::InterpretedLightVm<randomx::AlignedAllocator<64>,true>::datasetRead(uint64_t,randomx::int_reg_t (&)[8])' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(52): message : see reference to class template instantiation 'randomx::InterpretedLightVm<randomx::AlignedAllocator<64>,true>' being compiled [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
blake2_generator.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
instructions_portable.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(63,6): warning C4067: unexpected tokens following preprocessor directive - expected a newline [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(70,6): warning C4067: unexpected tokens following preprocessor directive - expected a newline [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(80,3): warning C4996: '_controlfp': This function or variable may be unsafe. Consider using _controlfp_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
virtual_machine.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.cpp(82,29): warning C4244: '=': conversion from 'uint64_t' to 'randomx::addr_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_compiled_light.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(55,50): warning C4244: 'argument': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(49): message : while compiling class template member function 'void randomx::CompiledLightVm<randomx::AlignedAllocator<64>,true,false>::run(void *)' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(63): message : see reference to class template instantiation 'randomx::CompiledLightVm<randomx::AlignedAllocator<64>,true,false>' being compiled [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
jit_compiler_x86.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(120,45): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(120,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(121,47): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(121,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(122,62): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(122,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(123,70): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(123,41): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(124,56): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(124,40): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(125,44): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(125,30): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(126,47): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(126,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(127,43): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(127,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(128,50): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(128,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(129,49): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(129,36): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(130,49): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(130,32): warning C4244: 'initializing': conversion from '_int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
Generating Code...
argon2_ref.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,36): warning C4101: 'zero_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
argon2_ssse3.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ssse3.c(106,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ssse3.c(106,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
argon2_core.c
reciprocal.c
blake2b.c
Generating Code...
argon2_avx2.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_avx2.c(98,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_avx2.c(98,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
randomx.vcxproj -> C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\Release\randomx.lib
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\pyrx.vcxproj]
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/CMakeLists.txt
main.cpp
rx-slow-hash.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\src\rx-slow-hash.c(36,10): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\pyrx.vcxproj]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 59, in
setup(
File "D:\TokenV2\winvenv\lib\site-packages\setuptools_init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "D:\Python3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\Python3\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\TokenV2\winvenv\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "D:\Python3\lib\distutils\command\install.py", line 568, in run
self.run_command('build')
File "D:\Python3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Python3\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\Python3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 32, in run
self.build_extension(ext)
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 57, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "D:\Python3\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pyrx
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.