gyscos / zstd-rs

A rust binding for the zstd compression library.
MIT License
510 stars 107 forks source link

zstd-sys build errors with x86_64-pc-windows-gnu target #306

Open narodnik opened 4 days ago

narodnik commented 4 days ago

MSVC works fine, but with GNU toolchain fails. Yet cross compiling with MingW works.

$ cargo run --target x86_64-pc-windows-gnu
...

   Compiling zstd-sys v2.0.13+zstd.1.5.6
The following warnings were emitted during compilation:

warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\fse_compress.c:21:10: fat
al error: hist.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    21 | #include "hist.h"       /* HIST_cou
nt_wksp */
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\fse_compress.c:21:10: fat
al error: hist.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-fse_compress
.o" "-c" "zstd/lib/compress\\fse_compress.c" with args gcc.exe did not execute s
uccessfully (status code exit code: 1).cargo:warning=zstd/lib/compress\hist.c:20
:10: fatal error: hist.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    20 | #include "hist.h"
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\hist.c:20:10: fatal error
: hist.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-hist.o" "-c"
 "zstd/lib/compress\\hist.c" with args gcc.exe did not execute successfully (sta
tus code exit code: 1).cargo:warning=zstd/lib/compress\huf_compress.c:29:10: fat
al error: hist.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    29 | #include "hist.h"
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\huf_compress.c:29:10: fat
al error: hist.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-huf_compress
.o" "-c" "zstd/lib/compress\\huf_compress.c" with args gcc.exe did not execute s
uccessfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_comp
ress.c:17:10: fatal error: hist.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    17 | #include "hist.h"           /* HIST
_countFast_wksp */
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstd_compress.c:17:10: fa
tal error: hist.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_compres
s.o" "-c" "zstd/lib/compress\\zstd_compress.c" with args gcc.exe did not execute
 successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_co
mpress_literals.c:14:10: fatal error: zstd_compress_literals.h: No such file or
directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    14 | #include "zstd_compress_literals.h"
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstd_compress_literals.c:
14:10: fatal error: zstd_compress_literals.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_compres
s_literals.o" "-c" "zstd/lib/compress\\zstd_compress_literals.c" with args gcc.e
xe did not execute successfully (status code exit code: 1).cargo:warning=zstd/li
b/compress\zstd_compress_sequences.c:14:10: fatal error: zstd_compress_sequences
.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    14 | #include "zstd_compress_sequences.h
"
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstd_compress_sequences.c
:14:10: fatal error: zstd_compress_sequences.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_compres
s_sequences.o" "-c" "zstd/lib/compress\\zstd_compress_sequences.c" with args gcc
.exe did not execute successfully (status code exit code: 1).cargo:warning=zstd/
lib/compress\zstd_compress_superblock.c:14:10: fatal error: zstd_compress_superb
lock.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    14 | #include "zstd_compress_superblock.
h"
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstd_compress_superblock.
c:14:10: fatal error: zstd_compress_superblock.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_compres
s_superblock.o" "-c" "zstd/lib/compress\\zstd_compress_superblock.c" with args g
cc.exe did not execute successfully (status code exit code: 1).cargo:warning=zst
d/lib/compress\zstd_double_fast.c:11:10: fatal error: zstd_compress_internal.h:
No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    11 | #include "zstd_compress_internal.h"
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstd_double_fast.c:11:10:
 fatal error: zstd_compress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_double_
fast.o" "-c" "zstd/lib/compress\\zstd_double_fast.c" with args gcc.exe did not e
xecute successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\z
std_fast.c:11:10: fatal error: zstd_compress_internal.h: No such file or directo
ry
warning: zstd-sys@2.0.13+zstd.1.5.6:    11 | #include "zstd_compress_internal.h"
  /* ZSTD_hashPtr, ZSTD_count, ZSTD_storeSeq */
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstd_fast.c:11:10: fatal
error: zstd_compress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_fast.o"
 "-c" "zstd/lib/compress\\zstd_fast.c" with args gcc.exe did not execute success
fully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_lazy.c:11:
10: fatal error: zstd_compress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    11 | #include "zstd_compress_internal.h"
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstd_lazy.c:11:10: fatal
error: zstd_compress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_lazy.o"
 "-c" "zstd/lib/compress\\zstd_lazy.c" with args gcc.exe did not execute success
fully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_ldm.c:11:1
0: fatal error: zstd_ldm.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    11 | #include "zstd_ldm.h"
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstd_ldm.c:11:10: fatal e
rror: zstd_ldm.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_ldm.o"
"-c" "zstd/lib/compress\\zstd_ldm.c" with args gcc.exe did not execute successfu
lly (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_opt.c:11:10:
 fatal error: zstd_compress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    11 | #include "zstd_compress_internal.h"
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstd_opt.c:11:10: fatal e
rror: zstd_compress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_opt.o"
"-c" "zstd/lib/compress\\zstd_opt.c" with args gcc.exe did not execute successfu
lly (status code exit code: 1).cargo:warning=zstd/lib/compress\zstdmt_compress.c
:24:10: fatal error: zstd_compress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    24 | #include "zstd_compress_internal.h"
 /* MIN, ERROR, ZSTD_*, ZSTD_highbit32 */
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/compress\zstdmt_compress.c:24:10:
fatal error: zstd_compress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstdmt_compr
ess.o" "-c" "zstd/lib/compress\\zstdmt_compress.c" with args gcc.exe did not exe
cute successfully (status code exit code: 1).cargo:warning=zstd/lib/decompress\z
std_ddict.c:24:10: fatal error: zstd_decompress_internal.h: No such file or dire
ctory
warning: zstd-sys@2.0.13+zstd.1.5.6:    24 | #include "zstd_decompress_internal.
h"
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/decompress\zstd_ddict.c:24:10: fat
al error: zstd_decompress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\690f776bf7b37aeb-zstd_ddict.o
" "-c" "zstd/lib/decompress\\zstd_ddict.c" with args gcc.exe did not execute suc
cessfully (status code exit code: 1).cargo:warning=zstd/lib/decompress\zstd_deco
mpress.c:68:10: fatal error: zstd_decompress_internal.h: No such file or directo
ry
warning: zstd-sys@2.0.13+zstd.1.5.6:    68 | #include "zstd_decompress_internal.
h"   /* ZSTD_DCtx */
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/decompress\zstd_decompress.c:68:10
: fatal error: zstd_decompress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\690f776bf7b37aeb-zstd_decompr
ess.o" "-c" "zstd/lib/decompress\\zstd_decompress.c" with args gcc.exe did not e
xecute successfully (status code exit code: 1).cargo:warning=zstd/lib/decompress
\zstd_decompress_block.c:25:10: fatal error: zstd_decompress_internal.h: No such
 file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6:    25 | #include "zstd_decompress_internal.
h"   /* ZSTD_DCtx */
warning: zstd-sys@2.0.13+zstd.1.5.6:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
~~
warning: zstd-sys@2.0.13+zstd.1.5.6: compilation terminated.
warning: zstd-sys@2.0.13+zstd.1.5.6: zstd/lib/decompress\zstd_decompress_block.c
:25:10: fatal error: zstd_decompress_internal.h: No such file or directory
warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "gcc.exe" "-O0" "-ff
unction-sections" "-fdata-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64"
 "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-secti
ons" "-fdata-sections" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB
_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISI
BILITY=" "-o" "C:\\Users\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-
gnu\\debug\\build\\zstd-sys-9e1013913547cac2\\out\\690f776bf7b37aeb-zstd_decompr
ess_block.o" "-c" "zstd/lib/decompress\\zstd_decompress_block.c" with args gcc.e
xe did not execute successfully (status code exit code: 1).

error: failed to run custom build command for `zstd-sys v2.0.13+zstd.1.5.6`

Caused by:
  process didn't exit successfully: `C:\Users\a\darkfi\bin\darkwallet\target\deb
ug\build\zstd-sys-2727d62daf68e8e1\build-script-build` (exit code: 1)
  --- stdout
  cargo:rerun-if-env-changed=ZSTD_SYS_USE_PKG_CONFIG
  OUT_DIR = Some(C:\Users\a\darkfi\bin\darkwallet\target\x86_64-pc-windows-gnu\d
ebug\build\zstd-sys-9e1013913547cac2\out)
  TARGET = Some(x86_64-pc-windows-gnu)
  OPT_LEVEL = Some(0)
  HOST = Some(x86_64-pc-windows-msvc)
  cargo:rerun-if-env-changed=CC_x86_64-pc-windows-gnu
  CC_x86_64-pc-windows-gnu = None
  cargo:rerun-if-env-changed=CC_x86_64_pc_windows_gnu
  CC_x86_64_pc_windows_gnu = None
  cargo:rerun-if-env-changed=TARGET_CC
  TARGET_CC = None
  cargo:rerun-if-env-changed=CC
  CC = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(true)
  CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
  cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu
  CFLAGS_x86_64-pc-windows-gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu
  CFLAGS_x86_64_pc_windows_gnu = None
  cargo:rerun-if-env-changed=TARGET_CFLAGS
  TARGET_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  OUT_DIR = Some(C:\Users\a\darkfi\bin\darkwallet\target\x86_64-pc-windows-gnu\d
ebug\build\zstd-sys-9e1013913547cac2\out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
  cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu
  CFLAGS_x86_64-pc-windows-gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu
  CFLAGS_x86_64_pc_windows_gnu = None
  cargo:rerun-if-env-changed=TARGET_CFLAGS
  TARGET_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  OUT_DIR = Some(C:\Users\a\darkfi\bin\darkwallet\target\x86_64-pc-windows-gnu\d
ebug\build\zstd-sys-9e1013913547cac2\out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
  cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu
  CFLAGS_x86_64-pc-windows-gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu
  CFLAGS_x86_64_pc_windows_gnu = None
  cargo:rerun-if-env-changed=TARGET_CFLAGS
  TARGET_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  OUT_DIR = Some(C:\Users\a\darkfi\bin\darkwallet\target\x86_64-pc-windows-gnu\d
ebug\build\zstd-sys-9e1013913547cac2\out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
  cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu
  CFLAGS_x86_64-pc-windows-gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu
  CFLAGS_x86_64_pc_windows_gnu = None
  cargo:rerun-if-env-changed=TARGET_CFLAGS
  TARGET_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  cargo:warning=zstd/lib/compress\fse_compress.c:21:10: fatal error: hist.h: No
such file or directory
  cargo:warning=   21 | #include "hist.h"       /* HIST_count_wksp */
  cargo:warning=      |          ^~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\fse_compress.c:21:10: fatal error: hist.h: No
such file or directory
     21 | #include "hist.h"       /* HIST_count_wksp */
        |          ^~~~~~~~
  compilation terminated.

  exit code: 0
  exit code: 0
  exit code: 0
  exit code: 0
  exit code: 0
  exit code: 0
  exit code: 0
  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-fse_compress.o" "-c" "zstd/lib/co
mpress\\fse_compress.c" with args gcc.exe did not execute successfully (status c
ode exit code: 1).cargo:warning=zstd/lib/compress\hist.c:20:10: fatal error: his
t.h: No such file or directory
  cargo:warning=   20 | #include "hist.h"
  cargo:warning=      |          ^~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\hist.c:20:10: fatal error: hist.h: No such fil
e or directory
     20 | #include "hist.h"
        |          ^~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-hist.o" "-c" "zstd/lib/compress\\
hist.c" with args gcc.exe did not execute successfully (status code exit code: 1
).cargo:warning=zstd/lib/compress\huf_compress.c:29:10: fatal error: hist.h: No
such file or directory
  cargo:warning=   29 | #include "hist.h"
  cargo:warning=      |          ^~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\huf_compress.c:29:10: fatal error: hist.h: No
such file or directory
     29 | #include "hist.h"
        |          ^~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-huf_compress.o" "-c" "zstd/lib/co
mpress\\huf_compress.c" with args gcc.exe did not execute successfully (status c
ode exit code: 1).cargo:warning=zstd/lib/compress\zstd_compress.c:17:10: fatal e
rror: hist.h: No such file or directory
  cargo:warning=   17 | #include "hist.h"           /* HIST_countFast_wksp */
  cargo:warning=      |          ^~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\zstd_compress.c:17:10: fatal error: hist.h: No
 such file or directory
     17 | #include "hist.h"           /* HIST_countFast_wksp */
        |          ^~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_compress.o" "-c" "zstd/lib/c
ompress\\zstd_compress.c" with args gcc.exe did not execute successfully (status
 code exit code: 1).cargo:warning=zstd/lib/compress\zstd_compress_literals.c:14:
10: fatal error: zstd_compress_literals.h: No such file or directory
  cargo:warning=   14 | #include "zstd_compress_literals.h"
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\zstd_compress_literals.c:14:10: fatal error: z
std_compress_literals.h: No such file or directory
     14 | #include "zstd_compress_literals.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_compress_literals.o" "-c" "z
std/lib/compress\\zstd_compress_literals.c" with args gcc.exe did not execute su
ccessfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_compr
ess_sequences.c:14:10: fatal error: zstd_compress_sequences.h: No such file or d
irectory
  cargo:warning=   14 | #include "zstd_compress_sequences.h"
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\zstd_compress_sequences.c:14:10: fatal error:
zstd_compress_sequences.h: No such file or directory
     14 | #include "zstd_compress_sequences.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_compress_sequences.o" "-c" "
zstd/lib/compress\\zstd_compress_sequences.c" with args gcc.exe did not execute
successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_com
press_superblock.c:14:10: fatal error: zstd_compress_superblock.h: No such file
or directory
  cargo:warning=   14 | #include "zstd_compress_superblock.h"
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\zstd_compress_superblock.c:14:10: fatal error:
 zstd_compress_superblock.h: No such file or directory
     14 | #include "zstd_compress_superblock.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_compress_superblock.o" "-c"
"zstd/lib/compress\\zstd_compress_superblock.c" with args gcc.exe did not execut
e successfully (status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_d
ouble_fast.c:11:10: fatal error: zstd_compress_internal.h: No such file or direc
tory
  cargo:warning=   11 | #include "zstd_compress_internal.h"
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\zstd_double_fast.c:11:10: fatal error: zstd_co
mpress_internal.h: No such file or directory
     11 | #include "zstd_compress_internal.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_double_fast.o" "-c" "zstd/li
b/compress\\zstd_double_fast.c" with args gcc.exe did not execute successfully (
status code exit code: 1).cargo:warning=zstd/lib/compress\zstd_fast.c:11:10: fat
al error: zstd_compress_internal.h: No such file or directory
  cargo:warning=   11 | #include "zstd_compress_internal.h"  /* ZSTD_hashPtr, ZS
TD_count, ZSTD_storeSeq */
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\zstd_fast.c:11:10: fatal error: zstd_compress_
internal.h: No such file or directory
     11 | #include "zstd_compress_internal.h"  /* ZSTD_hashPtr, ZSTD_count, ZSTD
_storeSeq */
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_fast.o" "-c" "zstd/lib/compr
ess\\zstd_fast.c" with args gcc.exe did not execute successfully (status code ex
it code: 1).cargo:warning=zstd/lib/compress\zstd_lazy.c:11:10: fatal error: zstd
_compress_internal.h: No such file or directory
  cargo:warning=   11 | #include "zstd_compress_internal.h"
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\zstd_lazy.c:11:10: fatal error: zstd_compress_
internal.h: No such file or directory
     11 | #include "zstd_compress_internal.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_lazy.o" "-c" "zstd/lib/compr
ess\\zstd_lazy.c" with args gcc.exe did not execute successfully (status code ex
it code: 1).cargo:warning=zstd/lib/compress\zstd_ldm.c:11:10: fatal error: zstd_
ldm.h: No such file or directory
  cargo:warning=   11 | #include "zstd_ldm.h"
  cargo:warning=      |          ^~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\zstd_ldm.c:11:10: fatal error: zstd_ldm.h: No
such file or directory
     11 | #include "zstd_ldm.h"
        |          ^~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_ldm.o" "-c" "zstd/lib/compre
ss\\zstd_ldm.c" with args gcc.exe did not execute successfully (status code exit
 code: 1).cargo:warning=zstd/lib/compress\zstd_opt.c:11:10: fatal error: zstd_co
mpress_internal.h: No such file or directory
  cargo:warning=   11 | #include "zstd_compress_internal.h"
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\zstd_opt.c:11:10: fatal error: zstd_compress_i
nternal.h: No such file or directory
     11 | #include "zstd_compress_internal.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstd_opt.o" "-c" "zstd/lib/compre
ss\\zstd_opt.c" with args gcc.exe did not execute successfully (status code exit
 code: 1).cargo:warning=zstd/lib/compress\zstdmt_compress.c:24:10: fatal error:
zstd_compress_internal.h: No such file or directory
  cargo:warning=   24 | #include "zstd_compress_internal.h" /* MIN, ERROR, ZSTD_
*, ZSTD_highbit32 */
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/compress\zstdmt_compress.c:24:10: fatal error: zstd_com
press_internal.h: No such file or directory
     24 | #include "zstd_compress_internal.h" /* MIN, ERROR, ZSTD_*, ZSTD_highbi
t32 */
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\1ddd1489cc625d97-zstdmt_compress.o" "-c" "zstd/lib
/compress\\zstdmt_compress.c" with args gcc.exe did not execute successfully (st
atus code exit code: 1).cargo:warning=zstd/lib/decompress\zstd_ddict.c:24:10: fa
tal error: zstd_decompress_internal.h: No such file or directory
  cargo:warning=   24 | #include "zstd_decompress_internal.h"
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/decompress\zstd_ddict.c:24:10: fatal error: zstd_decomp
ress_internal.h: No such file or directory
     24 | #include "zstd_decompress_internal.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 0
  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\690f776bf7b37aeb-zstd_ddict.o" "-c" "zstd/lib/deco
mpress\\zstd_ddict.c" with args gcc.exe did not execute successfully (status cod
e exit code: 1).cargo:warning=zstd/lib/decompress\zstd_decompress.c:68:10: fatal
 error: zstd_decompress_internal.h: No such file or directory
  cargo:warning=   68 | #include "zstd_decompress_internal.h"   /* ZSTD_DCtx */
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/decompress\zstd_decompress.c:68:10: fatal error: zstd_d
ecompress_internal.h: No such file or directory
     68 | #include "zstd_decompress_internal.h"   /* ZSTD_DCtx */
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\690f776bf7b37aeb-zstd_decompress.o" "-c" "zstd/lib
/decompress\\zstd_decompress.c" with args gcc.exe did not execute successfully (
status code exit code: 1).cargo:warning=zstd/lib/decompress\zstd_decompress_bloc
k.c:25:10: fatal error: zstd_decompress_internal.h: No such file or directory
  cargo:warning=   25 | #include "zstd_decompress_internal.h"   /* ZSTD_DCtx */
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  cargo:warning=zstd/lib/decompress\zstd_decompress_block.c:25:10: fatal error:
zstd_decompress_internal.h: No such file or directory
     25 | #include "zstd_decompress_internal.h"   /* ZSTD_DCtx */
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  exit code: 1
  cargo:warning=ToolExecError: Command "gcc.exe" "-O0" "-ffunction-sections" "-f
data-sections" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I
" "zstd/lib/common" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections
" "-fmerge-all-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH
_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Us
ers\\a\\darkfi\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zs
td-sys-9e1013913547cac2\\out\\690f776bf7b37aeb-zstd_decompress_block.o" "-c" "zs
td/lib/decompress\\zstd_decompress_block.c" with args gcc.exe did not execute su
ccessfully (status code exit code: 1).

  --- stderr

  error occurred: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections
" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/c
ommon" "-fvisibility=hidden" "-ffunction-sections" "-fdata-sections" "-fmerge-al
l-constants" "-DZSTD_DISABLE_ASM=" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=
" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "C:\\Users\\a\\darkf
i\\bin\\darkwallet\\target\\x86_64-pc-windows-gnu\\debug\\build\\zstd-sys-9e1013
913547cac2\\out\\690f776bf7b37aeb-zstd_decompress_block.o" "-c" "zstd/lib/decomp
ress\\zstd_decompress_block.c" with args gcc.exe did not execute successfully (s
tatus code exit code: 1).