Fxmouskid

Codesnap.nvim logs

Nov 8th, 2025
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.05 KB | Source Code | 0 0
  1. ❯ make build_generator
  2. ./scripts/build_generator.sh --release
  3. Compiling serde v1.0.204
  4. Compiling onig_sys v69.8.1
  5. Compiling slotmap v1.0.7
  6. Compiling lock_api v0.4.12
  7. Compiling num-traits v0.2.19
  8. Compiling png v0.17.13
  9. Compiling darling_macro v0.20.10
  10. Compiling nix v0.28.0
  11. Compiling crossbeam-deque v0.8.5
  12. Compiling quick-xml v0.32.0
  13. Compiling roxmltree v0.19.0
  14. Compiling fastrand v2.1.0
  15. Compiling tinyvec_macros v0.1.1
  16. Compiling base64 v0.22.1
  17. Compiling same-file v1.0.6
  18. Compiling linked-hash-map v0.5.6
  19. Compiling ryu v1.0.18
  20. Compiling scopeguard v1.2.0
  21. Compiling home v0.5.9
  22. Compiling tree_magic_mini v3.1.5
  23. Compiling yaml-rust v0.4.5
  24. Compiling fontconfig-parser v0.5.6
  25. warning: [email protected]: oniguruma/src/regparse.c: In function ‘onig_st_init_strend_table_with_size’:
  26. warning: [email protected]: oniguruma/src/regparse.c:588:5: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(st_str_end_key *, st_str_end_k
  27. warning: [email protected]: 588 | str_end_cmp,
  28. warning: [email protected]: | ^~~~~~~~~~~
  29. warning: [email protected]: oniguruma/src/regparse.c:588:5: note: (near initialization for ‘hashType.compare’)
  30. warning: [email protected]: oniguruma/src/regparse.c:550:1: note: ‘str_end_cmp’ declared here
  31. warning: [email protected]: 550 | str_end_cmp(st_str_end_key* x, st_str_end_key* y)
  32. warning: [email protected]: | ^~~~~~~~~~~
  33. warning: [email protected]: oniguruma/src/regparse.c:589:5: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(st_str_end_key *)’ [-Wincompat
  34. warning: [email protected]: 589 | str_end_hash,
  35. warning: [email protected]: | ^~~~~~~~~~~~
  36. warning: [email protected]: oniguruma/src/regparse.c:589:5: note: (near initialization for ‘hashType.hash’)
  37. warning: [email protected]: oniguruma/src/regparse.c:571:1: note: ‘str_end_hash’ declared here
  38. warning: [email protected]: 571 | str_end_hash(st_str_end_key* x)
  39. warning: [email protected]: | ^~~~~~~~~~~~
  40. warning: [email protected]: oniguruma/src/regparse.c: In function ‘onig_st_init_callout_name_table_with_size’:
  41. warning: [email protected]: oniguruma/src/regparse.c:678:5: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(st_callout_name_key *, st_call
  42. warning: [email protected]: 678 | callout_name_table_cmp,
  43. warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~
  44. warning: [email protected]: oniguruma/src/regparse.c:678:5: note: (near initialization for ‘hashType.compare’)
  45. warning: [email protected]: oniguruma/src/regparse.c:637:1: note: ‘callout_name_table_cmp’ declared here
  46. warning: [email protected]: 637 | callout_name_table_cmp(st_callout_name_key* x, st_callout_name_key* y)
  47. warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~
  48. warning: [email protected]: oniguruma/src/regparse.c:679:5: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(st_callout_name_key *)’ [-Winc
  49. warning: [email protected]: 679 | callout_name_table_hash,
  50. warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~
  51. warning: [email protected]: oniguruma/src/regparse.c:679:5: note: (near initialization for ‘hashType.hash’)
  52. warning: [email protected]: oniguruma/src/regparse.c:660:1: note: ‘callout_name_table_hash’ declared here
  53. warning: [email protected]: 660 | callout_name_table_hash(st_callout_name_key* x)
  54. warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~
  55. warning: [email protected]: oniguruma/src/regparse.c: In function ‘names_clear’:
  56. warning: [email protected]: oniguruma/src/regparse.c:804:24: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  57. warning: [email protected]: 804 | onig_st_foreach(t, i_free_name_entry, 0);
  58. warning: [email protected]: | ^~~~~~~~~~~~~~~~~
  59. warning: [email protected]: | |
  60. warning: [email protected]: | int (*)(OnigUChar *, NameEntry *, void *) {aka int (*)(unsigned char *, NameEntry *, void *)}
  61. warning: [email protected]: In file included from oniguruma/src/regparse.c:37:
  62. warning: [email protected]: oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(OnigUChar *, NameEntry *, void *)’ {aka ‘int (*)(unsi
  63. warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  64. warning: [email protected]: | ^~~~~~~~~~~~~~~~
  65. warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  66. warning: [email protected]: 35 | # define _(args) args
  67. warning: [email protected]: | ^~~~
  68. warning: [email protected]: oniguruma/src/regparse.c:789:1: note: ‘i_free_name_entry’ declared here
  69. warning: [email protected]: 789 | i_free_name_entry(UChar* key, NameEntry* e, void* arg ARG_UNUSED)
  70. warning: [email protected]: | ^~~~~~~~~~~~~~~~~
  71. warning: [email protected]: oniguruma/src/regparse.c: In function ‘onig_foreach_name’:
  72. warning: [email protected]: oniguruma/src/regparse.c:873:24: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  73. warning: [email protected]: 873 | onig_st_foreach(t, i_names, (HashDataType )&narg);
  74. warning: [email protected]: | ^~~~~~~
  75. warning: [email protected]: | |
  76. warning: [email protected]: | int (*)(OnigUChar *, NameEntry *, INamesArg *) {aka int (*)(unsigned char *, NameEntry *, INamesArg *)}
  77. warning: [email protected]: oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(OnigUChar *, NameEntry *, INamesArg *)’ {aka ‘int (*)
  78. warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  79. warning: [email protected]: | ^~~~~~~~~~~~~~~~
  80. warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  81. warning: [email protected]: 35 | # define _(args) args
  82. warning: [email protected]: | ^~~~
  83. warning: [email protected]: oniguruma/src/regparse.c:846:1: note: ‘i_names’ declared here
  84. warning: [email protected]: 846 | i_names(UChar* key ARG_UNUSED, NameEntry* e, INamesArg* arg)
  85. warning: [email protected]: | ^~~~~~~
  86. warning: [email protected]: oniguruma/src/regparse.c: In function ‘onig_renumber_name_table’:
  87. warning: [email protected]: oniguruma/src/regparse.c:901:24: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  88. warning: [email protected]: 901 | onig_st_foreach(t, i_renumber_name, (HashDataType )map);
  89. warning: [email protected]: | ^~~~~~~~~~~~~~~
  90. warning: [email protected]: | |
  91. warning: [email protected]: | int (*)(OnigUChar *, NameEntry *, GroupNumMap *) {aka int (*)(unsigned char *, NameEntry *, GroupNumMap *)}
  92. warning: [email protected]: oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(OnigUChar *, NameEntry *, GroupNumMap *)’ {aka ‘int (
  93. warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  94. warning: [email protected]: | ^~~~~~~~~~~~~~~~
  95. warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  96. warning: [email protected]: 35 | # define _(args) args
  97. warning: [email protected]: | ^~~~
  98. warning: [email protected]: oniguruma/src/regparse.c:879:1: note: ‘i_renumber_name’ declared here
  99. warning: [email protected]: 879 | i_renumber_name(UChar* key ARG_UNUSED, NameEntry* e, GroupNumMap* map)
  100. warning: [email protected]: | ^~~~~~~~~~~~~~~
  101. warning: [email protected]: oniguruma/src/regparse.c: In function ‘callout_name_table_clear’:
  102. warning: [email protected]: oniguruma/src/regparse.c:1386:24: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  103. warning: [email protected]: 1386 | onig_st_foreach(t, i_free_callout_name_entry, 0);
  104. warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~~
  105. warning: [email protected]: | |
  106. warning: [email protected]: | int (*)(st_callout_name_key *, CalloutNameEntry *, void *)
  107. warning: [email protected]: oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(st_callout_name_key *, CalloutNameEntry *, void *)’
  108. warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  109. warning: [email protected]: | ^~~~~~~~~~~~~~~~
  110. warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  111. warning: [email protected]: 35 | # define _(args) args
  112. warning: [email protected]: | ^~~~
  113. warning: [email protected]: oniguruma/src/regparse.c:1370:1: note: ‘i_free_callout_name_entry’ declared here
  114. warning: [email protected]: 1370 | i_free_callout_name_entry(st_callout_name_key* key, CalloutNameEntry* e,
  115. warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~~
  116. warning: [email protected]: oniguruma/src/regparse.c: In function ‘setup_ext_callout_list_values’:
  117. warning: [email protected]: oniguruma/src/regparse.c:1884:56: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  118. warning: [email protected]: 1884 | onig_st_foreach((CalloutTagTable *)ext->tag_table, i_callout_callout_list_set,
  119. warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  120. warning: [email protected]: | |
  121. warning: [email protected]: | int (*)(OnigUChar *, CalloutTagVal, void *) {aka int (*)(unsigned char *, long
  122. warning: [email protected]: oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(OnigUChar *, CalloutTagVal, void *)’ {aka ‘int (*)(u
  123. warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  124. warning: [email protected]: | ^~~~~~~~~~~~~~~~
  125. warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  126. warning: [email protected]: 35 | # define _(args) args
  127. warning: [email protected]: | ^~~~
  128. warning: [email protected]: oniguruma/src/regparse.c:1866:1: note: ‘i_callout_callout_list_set’ declared here
  129. warning: [email protected]: 1866 | i_callout_callout_list_set(UChar* key, CalloutTagVal e, void* arg)
  130. warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  131. warning: [email protected]: oniguruma/src/regparse.c: In function ‘callout_tag_table_clear’:
  132. warning: [email protected]: oniguruma/src/regparse.c:1932:24: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  133. warning: [email protected]: 1932 | onig_st_foreach(t, i_free_callout_tag_entry, 0);
  134. warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~
  135. warning: [email protected]: | |
  136. warning: [email protected]: | int (*)(OnigUChar *, CalloutTagVal, void *) {aka int (*)(unsigned char *, long int, void *)}
  137. warning: [email protected]: oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(OnigUChar *, CalloutTagVal, void *)’ {aka ‘int (*)(u
  138. warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  139. warning: [email protected]: | ^~~~~~~~~~~~~~~~
  140. warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  141. warning: [email protected]: 35 | # define _(args) args
  142. warning: [email protected]: | ^~~~
  143. warning: [email protected]: oniguruma/src/regparse.c:1922:1: note: ‘i_free_callout_tag_entry’ declared here
  144. warning: [email protected]: 1922 | i_free_callout_tag_entry(UChar* key, CalloutTagVal e, void* arg ARG_UNUSED)
  145. warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~
  146. error: failed to run custom build command for `onig_sys v69.8.1`
  147.  
  148. Caused by:
  149. process didn't exit successfully: `/home/fxmouskid/.local/share/lunarvim/site/pack/lazy/opt/codesnap.nvim/generator/target/release/build/onig_sys-222b34b97a11e90a/buil
  150. --- stdout
  151. cargo:rerun-if-env-changed=RUSTONIG_DYNAMIC_LIBONIG
  152. cargo:rerun-if-env-changed=RUSTONIG_STATIC_LIBONIG
  153. cargo:rerun-if-env-changed=RUSTONIG_SYSTEM_LIBONIG
  154. OUT_DIR = Some(/home/fxmouskid/.local/share/lunarvim/site/pack/lazy/opt/codesnap.nvim/generator/target/release/build/onig_sys-5db489ed734c9f4a/out)
  155. TARGET = Some(aarch64-unknown-linux-gnu)
  156. OPT_LEVEL = Some(3)
  157. HOST = Some(aarch64-unknown-linux-gnu)
  158. cargo:rerun-if-env-changed=CC_aarch64-unknown-linux-gnu
  159. CC_aarch64-unknown-linux-gnu = None
  160. cargo:rerun-if-env-changed=CC_aarch64_unknown_linux_gnu
  161. CC_aarch64_unknown_linux_gnu = None
  162. cargo:rerun-if-env-changed=HOST_CC
  163. HOST_CC = None
  164. cargo:rerun-if-env-changed=CC
  165. CC = None
  166. cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  167. RUSTC_WRAPPER = None
  168. cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  169. CRATE_CC_NO_DEFAULTS = None
  170. DEBUG = Some(false)
  171. CARGO_CFG_TARGET_FEATURE = Some(neon)
  172. cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-gnu
  173. CFLAGS_aarch64-unknown-linux-gnu = None
  174. cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_linux_gnu
  175. CFLAGS_aarch64_unknown_linux_gnu = None
  176. cargo:rerun-if-env-changed=HOST_CFLAGS
  177. HOST_CFLAGS = None
  178. cargo:rerun-if-env-changed=CFLAGS
  179. CFLAGS = None
  180. cargo:warning=oniguruma/src/regparse.c: In function ‘onig_st_init_strend_table_with_size’:
  181. cargo:warning=oniguruma/src/regparse.c:588:5: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(st_str_end_key *, st_str_end_key *)’ [-W
  182. cargo:warning= 588 | str_end_cmp,
  183. cargo:warning= | ^~~~~~~~~~~
  184. cargo:warning=oniguruma/src/regparse.c:588:5: note: (near initialization for ‘hashType.compare’)
  185. cargo:warning=oniguruma/src/regparse.c:550:1: note: ‘str_end_cmp’ declared here
  186. cargo:warning= 550 | str_end_cmp(st_str_end_key* x, st_str_end_key* y)
  187. cargo:warning= | ^~~~~~~~~~~
  188. cargo:warning=oniguruma/src/regparse.c:589:5: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(st_str_end_key *)’ [-Wincompatible-point
  189. cargo:warning= 589 | str_end_hash,
  190. cargo:warning= | ^~~~~~~~~~~~
  191. cargo:warning=oniguruma/src/regparse.c:589:5: note: (near initialization for ‘hashType.hash’)
  192. cargo:warning=oniguruma/src/regparse.c:571:1: note: ‘str_end_hash’ declared here
  193. cargo:warning= 571 | str_end_hash(st_str_end_key* x)
  194. cargo:warning= | ^~~~~~~~~~~~
  195. cargo:warning=oniguruma/src/regparse.c: In function ‘onig_st_init_callout_name_table_with_size’:
  196. cargo:warning=oniguruma/src/regparse.c:678:5: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(st_callout_name_key *, st_callout_name_k
  197. cargo:warning= 678 | callout_name_table_cmp,
  198. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~
  199. cargo:warning=oniguruma/src/regparse.c:678:5: note: (near initialization for ‘hashType.compare’)
  200. cargo:warning=oniguruma/src/regparse.c:637:1: note: ‘callout_name_table_cmp’ declared here
  201. cargo:warning= 637 | callout_name_table_cmp(st_callout_name_key* x, st_callout_name_key* y)
  202. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~
  203. cargo:warning=oniguruma/src/regparse.c:679:5: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(st_callout_name_key *)’ [-Wincompatible-
  204. cargo:warning= 679 | callout_name_table_hash,
  205. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~
  206. cargo:warning=oniguruma/src/regparse.c:679:5: note: (near initialization for ‘hashType.hash’)
  207. cargo:warning=oniguruma/src/regparse.c:660:1: note: ‘callout_name_table_hash’ declared here
  208. cargo:warning= 660 | callout_name_table_hash(st_callout_name_key* x)
  209. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~
  210. cargo:warning=oniguruma/src/regparse.c: In function ‘names_clear’:
  211. cargo:warning=oniguruma/src/regparse.c:804:24: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  212. cargo:warning= 804 | onig_st_foreach(t, i_free_name_entry, 0);
  213. cargo:warning= | ^~~~~~~~~~~~~~~~~
  214. cargo:warning= | |
  215. cargo:warning= | int (*)(OnigUChar *, NameEntry *, void *) {aka int (*)(unsigned char *, NameEntry *, void *)}
  216. cargo:warning=In file included from oniguruma/src/regparse.c:37:
  217. cargo:warning=oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(OnigUChar *, NameEntry *, void *)’ {aka ‘int (*)(unsigned char
  218. cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  219. cargo:warning= | ^~~~~~~~~~~~~~~~
  220. cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  221. cargo:warning= 35 | # define _(args) args
  222. cargo:warning= | ^~~~
  223. cargo:warning=oniguruma/src/regparse.c:789:1: note: ‘i_free_name_entry’ declared here
  224. cargo:warning= 789 | i_free_name_entry(UChar* key, NameEntry* e, void* arg ARG_UNUSED)
  225. cargo:warning= | ^~~~~~~~~~~~~~~~~
  226. cargo:warning=oniguruma/src/regparse.c: In function ‘onig_foreach_name’:
  227. cargo:warning=oniguruma/src/regparse.c:873:24: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  228. cargo:warning= 873 | onig_st_foreach(t, i_names, (HashDataType )&narg);
  229. cargo:warning= | ^~~~~~~
  230. cargo:warning= | |
  231. cargo:warning= | int (*)(OnigUChar *, NameEntry *, INamesArg *) {aka int (*)(unsigned char *, NameEntry *, INamesArg *)}
  232. cargo:warning=oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(OnigUChar *, NameEntry *, INamesArg *)’ {aka ‘int (*)(unsigned
  233. cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  234. cargo:warning= | ^~~~~~~~~~~~~~~~
  235. cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  236. cargo:warning= 35 | # define _(args) args
  237. cargo:warning= | ^~~~
  238. cargo:warning=oniguruma/src/regparse.c:846:1: note: ‘i_names’ declared here
  239. cargo:warning= 846 | i_names(UChar* key ARG_UNUSED, NameEntry* e, INamesArg* arg)
  240. cargo:warning= | ^~~~~~~
  241. cargo:warning=oniguruma/src/regparse.c: In function ‘onig_renumber_name_table’:
  242. cargo:warning=oniguruma/src/regparse.c:901:24: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  243. cargo:warning= 901 | onig_st_foreach(t, i_renumber_name, (HashDataType )map);
  244. cargo:warning= | ^~~~~~~~~~~~~~~
  245. cargo:warning= | |
  246. cargo:warning= | int (*)(OnigUChar *, NameEntry *, GroupNumMap *) {aka int (*)(unsigned char *, NameEntry *, GroupNumMap *)}
  247. cargo:warning=oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(OnigUChar *, NameEntry *, GroupNumMap *)’ {aka ‘int (*)(unsigne
  248. cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  249. cargo:warning= | ^~~~~~~~~~~~~~~~
  250. cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  251. cargo:warning= 35 | # define _(args) args
  252. cargo:warning= | ^~~~
  253. cargo:warning=oniguruma/src/regparse.c:879:1: note: ‘i_renumber_name’ declared here
  254. cargo:warning= 879 | i_renumber_name(UChar* key ARG_UNUSED, NameEntry* e, GroupNumMap* map)
  255. cargo:warning= | ^~~~~~~~~~~~~~~
  256. cargo:warning=oniguruma/src/regparse.c: In function ‘callout_name_table_clear’:
  257. cargo:warning=oniguruma/src/regparse.c:1386:24: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  258. cargo:warning= 1386 | onig_st_foreach(t, i_free_callout_name_entry, 0);
  259. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~
  260. cargo:warning= | |
  261. cargo:warning= | int (*)(st_callout_name_key *, CalloutNameEntry *, void *)
  262. cargo:warning=oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(st_callout_name_key *, CalloutNameEntry *, void *)’
  263. cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  264. cargo:warning= | ^~~~~~~~~~~~~~~~
  265. cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  266. cargo:warning= 35 | # define _(args) args
  267. cargo:warning= | ^~~~
  268. cargo:warning=oniguruma/src/regparse.c:1370:1: note: ‘i_free_callout_name_entry’ declared here
  269. cargo:warning= 1370 | i_free_callout_name_entry(st_callout_name_key* key, CalloutNameEntry* e,
  270. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~
  271. cargo:warning=oniguruma/src/regparse.c: In function ‘setup_ext_callout_list_values’:
  272. cargo:warning=oniguruma/src/regparse.c:1884:56: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  273. cargo:warning= 1884 | onig_st_foreach((CalloutTagTable *)ext->tag_table, i_callout_callout_list_set,
  274. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  275. cargo:warning= | |
  276. cargo:warning= | int (*)(OnigUChar *, CalloutTagVal, void *) {aka int (*)(unsigned char *, long int, void
  277. cargo:warning=oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(OnigUChar *, CalloutTagVal, void *)’ {aka ‘int (*)(unsigned ch
  278. cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  279. cargo:warning= | ^~~~~~~~~~~~~~~~
  280. cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  281. cargo:warning= 35 | # define _(args) args
  282. cargo:warning= | ^~~~
  283. cargo:warning=oniguruma/src/regparse.c:1866:1: note: ‘i_callout_callout_list_set’ declared here
  284. cargo:warning= 1866 | i_callout_callout_list_set(UChar* key, CalloutTagVal e, void* arg)
  285. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  286. cargo:warning=oniguruma/src/regparse.c: In function ‘callout_tag_table_clear’:
  287. cargo:warning=oniguruma/src/regparse.c:1932:24: error: passing argument 2 of ‘onig_st_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
  288. cargo:warning= 1932 | onig_st_foreach(t, i_free_callout_tag_entry, 0);
  289. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~
  290. cargo:warning= | |
  291. cargo:warning= | int (*)(OnigUChar *, CalloutTagVal, void *) {aka int (*)(unsigned char *, long int, void *)}
  292. cargo:warning=oniguruma/src/st.h:55:31: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(OnigUChar *, CalloutTagVal, void *)’ {aka ‘int (*)(unsigned ch
  293. cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
  294. cargo:warning= | ^~~~~~~~~~~~~~~~
  295. cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro ‘_’
  296. cargo:warning= 35 | # define _(args) args
  297. cargo:warning= | ^~~~
  298. cargo:warning=oniguruma/src/regparse.c:1922:1: note: ‘i_free_callout_tag_entry’ declared here
  299. cargo:warning= 1922 | i_free_callout_tag_entry(UChar* key, CalloutTagVal e, void* arg ARG_UNUSED)
  300. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~
  301.  
  302. --- stderr
  303.  
  304.  
  305. error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/home/fxmouskid/.local/share/lunarvim/site/pack/lazy/opt/codesnap.nvim/generator/target/release/build/onig_sys-5db489ed734c9f4a/out" "-I" "oniguruma/src" "-DHAVE_UNISTD_H=1" "-DHAVE_SYS_TYPES_H=1" "-DHAVE_SYS_TIME_H=1" "-o" "/home/fxmouskid/.local/share/lunarvim/site/pack/lazy/opt/codesnap.nvim/generator/target/release/build/onig_sys-5db489ed734c9f4a/out/c77b18e714869709-regparse.o" "-c" "oniguruma/src/regparse.c" with args cc did not execute successfully (status code exit status: 1).
  306.  
  307.  
  308. warning: build failed, waiting for other jobs to finish...
  309. cp: cannot stat './generator/target/release/libgenerator.so': No such file or directory
  310. make: *** [makefile:8: build_generator] Error 1
Add Comment
Please, Sign In to add comment