these 5 derivations will be built: /nix/store/wms9vv4bwrxy4paz7wflppv8j067s9yx-restrict-message.drv /nix/store/ymmfg2gv940jvqs6jqrpn3qkypwhwpk6-setup_descent12_2.0.0.7.exe.drv /nix/store/8pl3f5dw5jww032ij5yjbip3xwm7p1kp-descent2-assets-2.0.0.7.drv /nix/store/axaqz75xvhjxc0aqlbm65wv3lb96sbrl-dxx-rebirth-unstable-2022-09-17.drv /nix/store/vsz8b7826hd5y2nsn32h7049xxf4f2zq-d2x-rebirth-full-2.0.0.7.drv error: Cannot build '/nix/store/hln0lsyl6l4qss5sswafi9kcjvb8a1bc-setup_descent12_2.0.0.7.exe.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/dcnja8shqsrcv20lqnnf1rr2vjqv61vm-setup_descent12_2.0.0.7.exe Last 13 log lines: > > *** > While the Descent 2 game engine is free, the game assets are not. > > Please purchase the game on gog.com and download the Windows installer. > > Once you have downloaded the file, please use the following command and re-run the > installation: > > nix-prefetch-url file://$PWD/setup_descent12_2.0.0.7.exe > > *** > For full logs, run: nix log /nix/store/hln0lsyl6l4qss5sswafi9kcjvb8a1bc-setup_descent12_2.0.0.7.exe.drv error: build of resolved derivation '/nix/store/hln0lsyl6l4qss5sswafi9kcjvb8a1bc-setup_descent12_2.0.0.7.exe.drv' failed error: Cannot build '/nix/store/8pl3f5dw5jww032ij5yjbip3xwm7p1kp-descent2-assets-2.0.0.7.drv'. Reason: 1 dependency failed. Output paths: /nix/store/8px26hv2dc6j5ivyr3isa9vb80s415r8-descent2-assets-2.0.0.7 error: Cannot build '/nix/store/axaqz75xvhjxc0aqlbm65wv3lb96sbrl-dxx-rebirth-unstable-2022-09-17.drv'. Reason: builder failed with exit code 2. Output paths: /nix/store/ib0nyzyax0xjnaihv7j6jk8giaxwhagm-dxx-rebirth-unstable-2022-09-17 Last 25 log lines: > common/main/d_array.h:45:31: note: previous declaration ‘constexpr typename dcx::enumerated_array::base_type::const_reference dcx::enumerated_array::operator[](E) const [with T = unsigned int; unsigned int N = 8; E = unsigned int; typename dcx::enumerated_array::base_type::const_reference = const unsigned int&; dcx::enumerated_array::base_type = std::array]’ > 45 | constexpr const_reference operator[](E position) const > | ^~~~~~~~ > common/main/d_array.h:56:27: error: ‘static constexpr bool dcx::enumerated_array::valid_index(E) [with T = unsigned int; unsigned int N = 8; E = unsigned int]’ cannot be overloaded with ‘static constexpr bool dcx::enumerated_array::valid_index(std::size_t) [with T = unsigned int; unsigned int N = 8; E = unsigned int; std::size_t = unsigned int]’ > 56 | static constexpr bool valid_index(E e) > | ^~~~~~~~~~~ > common/main/d_array.h:51:27: note: previous declaration ‘static constexpr bool dcx::enumerated_array::valid_index(std::size_t) [with T = unsigned int; unsigned int N = 8; E = unsigned int; std::size_t = unsigned int]’ > 51 | static constexpr bool valid_index(std::size_t s) > | ^~~~~~~~~~~ > scons: *** [build/similar/main/.d2x-rebirth.inferno.o] Error 1 > scons: *** [build/similar/main/.d2x-rebirth.endlevel.o] Error 1 > scons: building terminated because of errors. > Failed target count: total=5; targets with enable_build_failure_summary=1: 5 > Failed node list: > build/similar/main/.d1x-rebirth.switch.o > build/similar/main/.d1x-rebirth.endlevel.o > build/similar/main/.d2x-rebirth.switch.o > build/similar/main/.d2x-rebirth.inferno.o > build/similar/main/.d2x-rebirth.endlevel.o > Failed command list: > g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -std=gnu++20 -Werror=unused -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_I -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -Ibuild -I/nix/store/yc42mb1qgf4b9p66mgs3smnw59wq29k4-libpng-apng-1.6.37-dev/include/libpng16 -I/nix/store/dv1mr4mhnwcv301kg29lcm21kwlirgk1-zlib-1.2.13-dev/include -I/nix/store/hlw4k6iyjm0p1kwi1q1md54n5i8ah2ic-physfs-3.2.0/include -I/nix/store/02xsm25q5jsyd7vyjzr3j0gvjqhhprmn-SDL2-2.24.2-dev/include -I/nix/store/02xsm25q5jsyd7vyjzr3j0gvjqhhprmn-SDL2-2.24.2-dev/include/SDL2 -I/nix/store/z4354ac2m7fm69bmfk6zsz5dsx1j1w4m-SDL2_image-2.0.5/include/SDL2 -I/nix/store/z175xxm1cnwcx4phqbccb9y4im5zb7pm-SDL2_mixer-2.0.4-dev/include/SDL2 -Id1x-rebirth/main "similar/main/switch.cpp" -o "build/similar/main/.d1x-rebirth.switch.o" > g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -std=gnu++20 -Werror=unused -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_I -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -Ibuild -I/nix/store/yc42mb1qgf4b9p66mgs3smnw59wq29k4-libpng-apng-1.6.37-dev/include/libpng16 -I/nix/store/dv1mr4mhnwcv301kg29lcm21kwlirgk1-zlib-1.2.13-dev/include -I/nix/store/hlw4k6iyjm0p1kwi1q1md54n5i8ah2ic-physfs-3.2.0/include -I/nix/store/02xsm25q5jsyd7vyjzr3j0gvjqhhprmn-SDL2-2.24.2-dev/include -I/nix/store/02xsm25q5jsyd7vyjzr3j0gvjqhhprmn-SDL2-2.24.2-dev/include/SDL2 -I/nix/store/z4354ac2m7fm69bmfk6zsz5dsx1j1w4m-SDL2_image-2.0.5/include/SDL2 -I/nix/store/z175xxm1cnwcx4phqbccb9y4im5zb7pm-SDL2_mixer-2.0.4-dev/include/SDL2 -Id1x-rebirth/main "similar/main/endlevel.cpp" -o "build/similar/main/.d1x-rebirth.endlevel.o" > g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -std=gnu++20 -Werror=unused -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_II -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -Ibuild -I/nix/store/yc42mb1qgf4b9p66mgs3smnw59wq29k4-libpng-apng-1.6.37-dev/include/libpng16 -I/nix/store/dv1mr4mhnwcv301kg29lcm21kwlirgk1-zlib-1.2.13-dev/include -I/nix/store/hlw4k6iyjm0p1kwi1q1md54n5i8ah2ic-physfs-3.2.0/include -I/nix/store/02xsm25q5jsyd7vyjzr3j0gvjqhhprmn-SDL2-2.24.2-dev/include -I/nix/store/02xsm25q5jsyd7vyjzr3j0gvjqhhprmn-SDL2-2.24.2-dev/include/SDL2 -I/nix/store/z4354ac2m7fm69bmfk6zsz5dsx1j1w4m-SDL2_image-2.0.5/include/SDL2 -I/nix/store/z175xxm1cnwcx4phqbccb9y4im5zb7pm-SDL2_mixer-2.0.4-dev/include/SDL2 -Id2x-rebirth/main "similar/main/switch.cpp" -o "build/similar/main/.d2x-rebirth.switch.o" > g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -std=gnu++20 -Werror=unused -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_II -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -DDXX_SHAREPATH=\"/nix/store/ib0nyzyax0xjnaihv7j6jk8giaxwhagm-dxx-rebirth-unstable-2022-09-17/share/games/d2x-rebirth/\" -DDXX_git_commit=archive_ad46235b67a24a38dec4734f94a59eba149ad94a -DDXX_git_describe=GAXDMMBOGAWWEZLUMEZC2MRQGY2C2Z3BMQ2DMMRTGVRDMN3BGIzzzzzz -Icommon/include -Icommon/main -I. -Ibuild -I/nix/store/yc42mb1qgf4b9p66mgs3smnw59wq29k4-libpng-apng-1.6.37-dev/include/libpng16 -I/nix/store/dv1mr4mhnwcv301kg29lcm21kwlirgk1-zlib-1.2.13-dev/include -I/nix/store/hlw4k6iyjm0p1kwi1q1md54n5i8ah2ic-physfs-3.2.0/include -I/nix/store/02xsm25q5jsyd7vyjzr3j0gvjqhhprmn-SDL2-2.24.2-dev/include -I/nix/store/02xsm25q5jsyd7vyjzr3j0gvjqhhprmn-SDL2-2.24.2-dev/include/SDL2 -I/nix/store/z4354ac2m7fm69bmfk6zsz5dsx1j1w4m-SDL2_image-2.0.5/include/SDL2 -I/nix/store/z175xxm1cnwcx4phqbccb9y4im5zb7pm-SDL2_mixer-2.0.4-dev/include/SDL2 -Id2x-rebirth/main "similar/main/inferno.cpp" -o "build/similar/main/.d2x-rebirth.inferno.o" > g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -std=gnu++20 -Werror=unused -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_II -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -Ibuild -I/nix/store/yc42mb1qgf4b9p66mgs3smnw59wq29k4-libpng-apng-1.6.37-dev/include/libpng16 -I/nix/store/dv1mr4mhnwcv301kg29lcm21kwlirgk1-zlib-1.2.13-dev/include -I/nix/store/hlw4k6iyjm0p1kwi1q1md54n5i8ah2ic-physfs-3.2.0/include -I/nix/store/02xsm25q5jsyd7vyjzr3j0gvjqhhprmn-SDL2-2.24.2-dev/include -I/nix/store/02xsm25q5jsyd7vyjzr3j0gvjqhhprmn-SDL2-2.24.2-dev/include/SDL2 -I/nix/store/z4354ac2m7fm69bmfk6zsz5dsx1j1w4m-SDL2_image-2.0.5/include/SDL2 -I/nix/store/z175xxm1cnwcx4phqbccb9y4im5zb7pm-SDL2_mixer-2.0.4-dev/include/SDL2 -Id2x-rebirth/main "similar/main/endlevel.cpp" -o "build/similar/main/.d2x-rebirth.endlevel.o" For full logs, run: nix log /nix/store/axaqz75xvhjxc0aqlbm65wv3lb96sbrl-dxx-rebirth-unstable-2022-09-17.drv error: Cannot build '/nix/store/vsz8b7826hd5y2nsn32h7049xxf4f2zq-d2x-rebirth-full-2.0.0.7.drv'. Reason: 2 dependencies failed. Output paths: /nix/store/5mhkxs91ym0xwc85i1bv0m09b4gb20w5-d2x-rebirth-full-2.0.0.7