executing command: executing command: [WindowsPath('C:/Craft/windows-mingw_64-gcc/dev-utils/bin/ninja.exe')]
================================================================================
[1/8] Building C object src/tools/CMakeFiles/einfo.dir/einfo.c.obj
C:/_/600e960b/ebook-tools-0.2.2/src/tools/einfo.c: In function 'main':
C:/_/600e960b/ebook-tools-0.2.2/src/tools/einfo.c:29:9: warning: variable 'tourId' set but not used [-Wunused-but-set-variable]
   29 |   char *tourId = NULL;
      |         ^~~~~~
[2/8] Building C object src/libepub/CMakeFiles/epub.dir/list.c.obj
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/list.c: In function '_list_dump_tour':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/list.c:244:25: warning: cast between incompatible function types from 'void (*)(struct site *)' to 'int (*)(void *)' [-Wcast-function-type]
  244 |   DumpList(tour->sites, (ListDumpFunc)_list_dump_site);
      |                         ^
[3/8] Building C object src/libepub/CMakeFiles/epub.dir/ocf.c.obj
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/ocf.c: In function '_ocf_dump':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/ocf.c:96:24: warning: cast between incompatible function types from 'void (*)(struct root *)' to 'int (*)(void *)' [-Wcast-function-type]
   96 |   DumpList(ocf->roots, (ListDumpFunc)_list_dump_root);
      |                        ^
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/ocf.c: In function '_ocf_open':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/ocf.c:107:5: warning: 'zip_error_to_str' is deprecated: use 'zip_error_strerror' instead [-Wdeprecated-declarations]
  107 |     zip_error_to_str(errStr, sizeof(errStr), err, errno);
      |     ^~~~~~~~~~~~~~~~
In file included from C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epublib.h:9,
                 from C:/_/600e960b/ebook-tools-0.2.2/src/libepub/ocf.c:1:
C:/Craft/windows-mingw_64-gcc/include/zip.h:400:67: note: declared here
  400 | ZIP_DEPRECATED("use 'zip_error_strerror' instead") ZIP_EXTERN int zip_error_to_str(char *_Nonnull, zip_uint64_t, int, int);
      |                                                                   ^~~~~~~~~~~~~~~~
[4/8] Building C object src/libepub/CMakeFiles/epub.dir/linklist.c.obj
[5/8] Building C object src/libepub/CMakeFiles/epub.dir/epub.c.obj
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c: In function '_getIdStr':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c:77:29: warning: pointer targets in passing argument 3 of 'xmlStrPrintf' differ in signedness [-Wpointer-sign]
   77 |   xmlStrPrintf(buff, 10000, (xmlChar *)"%s (%s:%s)",
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                             |
      |                             xmlChar * {aka unsigned char *}
In file included from C:/Craft/windows-mingw_64-gcc/include/libxml2/libxml/tree.h:27,
                 from C:/Craft/windows-mingw_64-gcc/include/libxml2/libxml/parser.h:16,
                 from C:/Craft/windows-mingw_64-gcc/include/libxml2/libxml/tree.h:17,
                 from C:/Craft/windows-mingw_64-gcc/include/libxml2/libxml/xmlreader.h:14,
                 from C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epublib.h:13,
                 from C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c:2:
C:/Craft/windows-mingw_64-gcc/include/libxml2/libxml/xmlstring.h:100:54: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
  100 |                                          const char *msg,
      |                                          ~~~~~~~~~~~~^~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c: In function '_getDateStr':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c:89:29: warning: pointer targets in passing argument 3 of 'xmlStrPrintf' differ in signedness [-Wpointer-sign]
   89 |   xmlStrPrintf(buff, 10000, (xmlChar *)"%s: %s",
      |                             ^~~~~~~~~~~~~~~~~~~
      |                             |
      |                             xmlChar * {aka unsigned char *}
C:/Craft/windows-mingw_64-gcc/include/libxml2/libxml/xmlstring.h:100:54: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
  100 |                                          const char *msg,
      |                                          ~~~~~~~~~~~~^~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c: In function '_getMetaStr':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c:100:29: warning: pointer targets in passing argument 3 of 'xmlStrPrintf' differ in signedness [-Wpointer-sign]
  100 |   xmlStrPrintf(buff, 10000, (xmlChar *)"%s: %s",
      |                             ^~~~~~~~~~~~~~~~~~~
      |                             |
      |                             xmlChar * {aka unsigned char *}
C:/Craft/windows-mingw_64-gcc/include/libxml2/libxml/xmlstring.h:100:54: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
  100 |                                          const char *msg,
      |                                          ~~~~~~~~~~~~^~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c: In function '_getRoleStr':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c:110:29: warning: pointer targets in passing argument 3 of 'xmlStrPrintf' differ in signedness [-Wpointer-sign]
  110 |   xmlStrPrintf(buff, 10000, (xmlChar *)"%s: %s(%s)",
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                             |
      |                             xmlChar * {aka unsigned char *}
C:/Craft/windows-mingw_64-gcc/include/libxml2/libxml/xmlstring.h:100:54: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
  100 |                                          const char *msg,
      |                                          ~~~~~~~~~~~~^~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c: In function '_epub_print_debug':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c:413:3: warning: function '_epub_print_debug' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
  413 |   vsnprintf(strerr, 1024, format, ap);
      |   ^~~~~~~~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c: In function 'epub_open':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epublib.h:204:5: warning: 'strncpy' destination unchanged after copying no bytes [-Wstringop-truncation]
  204 |     strncpy((_err)->lastStr, _err_string, _err_string_len); \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c:18:3: note: in expansion of macro '_epub_err_set_str'
   18 |   _epub_err_set_str(&epub->error, "", 0);
      |   ^~~~~~~~~~~~~~~~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c: In function '_epub_print_debug':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epublib.h:204:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  204 |     strncpy((_err)->lastStr, _err_string, _err_string_len); \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c:417:5: note: in expansion of macro '_epub_err_set_str'
  417 |     _epub_err_set_str(&epub->error, strerr, strlen(strerr));
      |     ^~~~~~~~~~~~~~~~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epublib.h:204:5: note: length computed here
  204 |     strncpy((_err)->lastStr, _err_string, _err_string_len); \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/epub.c:417:5: note: in expansion of macro '_epub_err_set_str'
  417 |     _epub_err_set_str(&epub->error, strerr, strlen(strerr));
      |     ^~~~~~~~~~~~~~~~~
[6/8] Building C object src/libepub/CMakeFiles/epub.dir/opf.c.obj
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/opf.c: In function '_opf_label_get_by_lang':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/opf.c:865:45: warning: unused parameter 'opf' [-Wunused-parameter]
  865 | xmlChar *_opf_label_get_by_lang(struct opf *opf, listPtr label, char *lang) {
      |                                 ~~~~~~~~~~~~^~~
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/opf.c: In function '_opf_dump':
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/opf.c:882:34: warning: cast between incompatible function types from 'void (*)(char *)' to 'int (*)(void *)' [-Wcast-function-type]
  882 |   DumpList(opf->metadata->title, (ListDumpFunc)_list_dump_string);
      |                                  ^
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/opf.c:884:36: warning: cast between incompatible function types from 'void (*)(struct creator *)' to 'int (*)(void *)' [-Wcast-function-type]
  884 |   DumpList(opf->metadata->creator, (ListDumpFunc)_list_dump_creator);
      |                                    ^
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/opf.c:886:31: warning: cast between incompatible function types from 'void (*)(struct id *)' to 'int (*)(void *)' [-Wcast-function-type]
  886 |   DumpList(opf->metadata->id, (ListDumpFunc)_list_dump_id);
      |                               ^
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/opf.c:888:24: warning: cast between incompatible function types from 'void (*)(struct spine *)' to 'int (*)(void *)' [-Wcast-function-type]
  888 |   DumpList(opf->spine, (ListDumpFunc)_list_dump_spine);
      |                        ^
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/opf.c:892:26: warning: cast between incompatible function types from 'void (*)(struct guide *)' to 'int (*)(void *)' [-Wcast-function-type]
  892 |     DumpList(opf->guide, (ListDumpFunc)_list_dump_guide);
      |                          ^
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/opf.c:895:26: warning: cast between incompatible function types from 'void (*)(struct tour *)' to 'int (*)(void *)' [-Wcast-function-type]
  895 |     DumpList(opf->tours, (ListDumpFunc)_list_dump_tour);
      |                          ^
C:/_/600e960b/ebook-tools-0.2.2/src/libepub/opf.c:898:35: warning: cast between incompatible function types from 'void (*)(struct meta *)' to 'int (*)(void *)' [-Wcast-function-type]
  898 |     DumpList(opf->metadata->meta, (ListDumpFunc)_list_dump_meta);
      |                                   ^
[7/8] Linking C shared library libs\libepub.dll
[8/8] Linking C executable bin\einfo.exe
