-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What version of Codex is running?
latest from git
Which model were you using?
No response
What platform is your computer?
Linux 6.15.2-zen1-1-zen x86_64 unknown
What steps can reproduce the bug?
when building the tui using 'just tui' the build fails
What is the expected behavior?
successful compilation
What do you see instead?
enkvadrat@archD just tui
cargo run --bin codex -- tui "$@"
Compiling onig_sys v69.8.1
Compiling walkdir v2.5.0
Compiling plist v1.7.1
Compiling codex-linux-sandbox v0.0.0 (/home/enkvadrat/bin/codex/codex-rs/linux-sandbox)
Compiling getopts v0.2.21
Compiling bincode v1.3.3
Compiling yansi v1.0.1
Compiling pulldown-cmark-escape v0.11.0
Compiling diff v0.1.13
Compiling futures-timer v3.0.3
Compiling pretty_assertions v1.4.1
Compiling pulldown-cmark v0.13.0
Compiling itertools v0.14.0
Compiling rstest v0.25.0
Compiling codex-mcp-server v0.0.0 (/home/enkvadrat/bin/codex/codex-rs/mcp-server)
Compiling codex-exec v0.0.0 (/home/enkvadrat/bin/codex/codex-rs/exec)
warning: [email protected]: oniguruma/src/regparse.c: In function 'onig_st_init_strend_table_with_size':
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_key *)' [-Wincompatible-pointer-types]
warning: [email protected]: 588 | str_end_cmp,
warning: [email protected]: | ^~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c:588:5: note: (near initialization for 'hashType.compare')
warning: [email protected]: oniguruma/src/regparse.c:550:1: note: 'str_end_cmp' declared here
warning: [email protected]: 550 | str_end_cmp(st_str_end_key* x, st_str_end_key* y)
warning: [email protected]: | ^~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c:589:5: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(st_str_end_key *)' [-Wincompatible-pointer-types]
warning: [email protected]: 589 | str_end_hash,
warning: [email protected]: | ^~~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c:589:5: note: (near initialization for 'hashType.hash')
warning: [email protected]: oniguruma/src/regparse.c:571:1: note: 'str_end_hash' declared here
warning: [email protected]: 571 | str_end_hash(st_str_end_key* x)
warning: [email protected]: | ^~~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c: In function 'onig_st_init_callout_name_table_with_size':
warning: [email protected]: oniguruma/src/regparse.c:678:5: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(st_callout_name_key *, st_callout_name_key *)' [-Wincompatible-pointer-types]
warning: [email protected]: 678 | callout_name_table_cmp,
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c:678:5: note: (near initialization for 'hashType.compare')
warning: [email protected]: oniguruma/src/regparse.c:637:1: note: 'callout_name_table_cmp' declared here
warning: [email protected]: 637 | callout_name_table_cmp(st_callout_name_key* x, st_callout_name_key* y)
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c:679:5: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(st_callout_name_key *)' [-Wincompatible-pointer-types]
warning: [email protected]: 679 | callout_name_table_hash,
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c:679:5: note: (near initialization for 'hashType.hash')
warning: [email protected]: oniguruma/src/regparse.c:660:1: note: 'callout_name_table_hash' declared here
warning: [email protected]: 660 | callout_name_table_hash(st_callout_name_key* x)
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c: In function 'names_clear':
warning: [email protected]: oniguruma/src/regparse.c:804:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: [email protected]: 804 | onig_st_foreach(t, i_free_name_entry, 0);
warning: [email protected]: | ^~~~~~~~~~~~~~~~~
warning: [email protected]: | |
warning: [email protected]: | int (*)(OnigUChar *, NameEntry *, void *) {aka int (*)(unsigned char *, NameEntry *, void *)}
warning: [email protected]: In file included from oniguruma/src/regparse.c:37:
warning: [email protected]: oniguruma/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, NameEntry *, void *)' {aka 'int (*)(unsigned char *, NameEntry *, void *)'}
warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
warning: [email protected]: | ^~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro '_'
warning: [email protected]: 35 | # define _(args) args
warning: [email protected]: | ^~~~
warning: [email protected]: oniguruma/src/regparse.c:789:1: note: 'i_free_name_entry' declared here
warning: [email protected]: 789 | i_free_name_entry(UChar* key, NameEntry* e, void* arg ARG_UNUSED)
warning: [email protected]: | ^~~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c: In function 'onig_foreach_name':
warning: [email protected]: oniguruma/src/regparse.c:873:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: [email protected]: 873 | onig_st_foreach(t, i_names, (HashDataType )&narg);
warning: [email protected]: | ^~~~~~~
warning: [email protected]: | |
warning: [email protected]: | int (*)(OnigUChar *, NameEntry *, INamesArg *) {aka int (*)(unsigned char *, NameEntry *, INamesArg *)}
warning: [email protected]: oniguruma/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, NameEntry *, INamesArg *)' {aka 'int (*)(unsigned char *, NameEntry *, INamesArg *)'}
warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
warning: [email protected]: | ^~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro '_'
warning: [email protected]: 35 | # define _(args) args
warning: [email protected]: | ^~~~
warning: [email protected]: oniguruma/src/regparse.c:846:1: note: 'i_names' declared here
warning: [email protected]: 846 | i_names(UChar* key ARG_UNUSED, NameEntry* e, INamesArg* arg)
warning: [email protected]: | ^~~~~~~
warning: [email protected]: oniguruma/src/regparse.c: In function 'onig_renumber_name_table':
warning: [email protected]: oniguruma/src/regparse.c:901:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: [email protected]: 901 | onig_st_foreach(t, i_renumber_name, (HashDataType )map);
warning: [email protected]: | ^~~~~~~~~~~~~~~
warning: [email protected]: | |
warning: [email protected]: | int (*)(OnigUChar *, NameEntry *, GroupNumMap *) {aka int (*)(unsigned char *, NameEntry *, GroupNumMap *)}
warning: [email protected]: oniguruma/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, NameEntry *, GroupNumMap *)' {aka 'int (*)(unsigned char *, NameEntry *, GroupNumMap *)'}
warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
warning: [email protected]: | ^~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro '_'
warning: [email protected]: 35 | # define _(args) args
warning: [email protected]: | ^~~~
warning: [email protected]: oniguruma/src/regparse.c:879:1: note: 'i_renumber_name' declared here
warning: [email protected]: 879 | i_renumber_name(UChar* key ARG_UNUSED, NameEntry* e, GroupNumMap* map)
warning: [email protected]: | ^~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c: In function 'callout_name_table_clear':
warning: [email protected]: oniguruma/src/regparse.c:1386:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: [email protected]: 1386 | onig_st_foreach(t, i_free_callout_name_entry, 0);
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~~
warning: [email protected]: | |
warning: [email protected]: | int (*)(st_callout_name_key *, CalloutNameEntry *, void *)
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 *)'
warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
warning: [email protected]: | ^~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro '_'
warning: [email protected]: 35 | # define _(args) args
warning: [email protected]: | ^~~~
warning: [email protected]: oniguruma/src/regparse.c:1370:1: note: 'i_free_callout_name_entry' declared here
warning: [email protected]: 1370 | i_free_callout_name_entry(st_callout_name_key* key, CalloutNameEntry* e,
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c: In function 'setup_ext_callout_list_values':
warning: [email protected]: oniguruma/src/regparse.c:1884:56: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: [email protected]: 1884 | onig_st_foreach((CalloutTagTable *)ext->tag_table, i_callout_callout_list_set,
warning: onig_sys@69.8.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.8.1: | |
warning: onig_sys@69.8.1: | int (*)(OnigUChar *, CalloutTagVal, void *) {aka int (*)(unsigned char *, long int, void *)}
warning: onig_sys@69.8.1: oniguruma/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, CalloutTagVal, void *)' {aka 'int (*)(unsigned char *, long int, void *)'}
warning: onig_sys@69.8.1: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
warning: [email protected]: | ^~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro '_'
warning: [email protected]: 35 | # define _(args) args
warning: [email protected]: | ^~~~
warning: [email protected]: oniguruma/src/regparse.c:1866:1: note: 'i_callout_callout_list_set' declared here
warning: [email protected]: 1866 | i_callout_callout_list_set(UChar* key, CalloutTagVal e, void* arg)
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/regparse.c: In function 'callout_tag_table_clear':
warning: [email protected]: oniguruma/src/regparse.c:1932:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
warning: [email protected]: 1932 | onig_st_foreach(t, i_free_callout_tag_entry, 0);
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~
warning: [email protected]: | |
warning: [email protected]: | int (*)(OnigUChar *, CalloutTagVal, void *) {aka int (*)(unsigned char *, long int, void *)}
warning: [email protected]: oniguruma/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, CalloutTagVal, void *)' {aka 'int (*)(unsigned char *, long int, void *)'}
warning: [email protected]: 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
warning: [email protected]: | ^~~~~~~~~~~~~~~~
warning: [email protected]: oniguruma/src/st.h:35:18: note: in definition of macro '_'
warning: [email protected]: 35 | # define _(args) args
warning: [email protected]: | ^~~~
warning: [email protected]: oniguruma/src/regparse.c:1922:1: note: 'i_free_callout_tag_entry' declared here
warning: [email protected]: 1922 | i_free_callout_tag_entry(UChar* key, CalloutTagVal e, void* arg ARG_UNUSED)
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~
error: failed to run custom build command for `onig_sys v69.8.1`
Caused by:
process didn't exit successfully: `/home/enkvadrat/bin/codex/codex-rs/target/debug/build/onig_sys-4f5ec91269b341bc/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=RUSTONIG_DYNAMIC_LIBONIG
cargo:rerun-if-env-changed=RUSTONIG_STATIC_LIBONIG
cargo:rerun-if-env-changed=RUSTONIG_SYSTEM_LIBONIG
OUT_DIR = Some(/home/enkvadrat/bin/codex/codex-rs/target/debug/build/onig_sys-8f523d6a9b287a6e/out)
OPT_LEVEL = Some(0)
TARGET = Some(x86_64-unknown-linux-gnu)
HOST = Some(x86_64-unknown-linux-gnu)
cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
CC_x86_64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
CC_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CC
HOST_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(fxsr,sse,sse2,x87)
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
CFLAGS_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
CFLAGS_x86_64-unknown-linux-gnu = None
CARGO_ENCODED_RUSTFLAGS = Some(-Clink-arg=-fuse-ld=/usr/bin/mold-Zshare-generics=y)
cargo:warning=oniguruma/src/regparse.c: In function 'onig_st_init_strend_table_with_size':
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 *)' [-Wincompatible-pointer-types]
cargo:warning= 588 | str_end_cmp,
cargo:warning= | ^~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:588:5: note: (near initialization for 'hashType.compare')
cargo:warning=oniguruma/src/regparse.c:550:1: note: 'str_end_cmp' declared here
cargo:warning= 550 | str_end_cmp(st_str_end_key* x, st_str_end_key* y)
cargo:warning= | ^~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:589:5: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(st_str_end_key *)' [-Wincompatible-pointer-types]
cargo:warning= 589 | str_end_hash,
cargo:warning= | ^~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:589:5: note: (near initialization for 'hashType.hash')
cargo:warning=oniguruma/src/regparse.c:571:1: note: 'str_end_hash' declared here
cargo:warning= 571 | str_end_hash(st_str_end_key* x)
cargo:warning= | ^~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'onig_st_init_callout_name_table_with_size':
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_key *)' [-Wincompatible-pointer-types]
cargo:warning= 678 | callout_name_table_cmp,
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:678:5: note: (near initialization for 'hashType.compare')
cargo:warning=oniguruma/src/regparse.c:637:1: note: 'callout_name_table_cmp' declared here
cargo:warning= 637 | callout_name_table_cmp(st_callout_name_key* x, st_callout_name_key* y)
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:679:5: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(st_callout_name_key *)' [-Wincompatible-pointer-types]
cargo:warning= 679 | callout_name_table_hash,
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c:679:5: note: (near initialization for 'hashType.hash')
cargo:warning=oniguruma/src/regparse.c:660:1: note: 'callout_name_table_hash' declared here
cargo:warning= 660 | callout_name_table_hash(st_callout_name_key* x)
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'names_clear':
cargo:warning=oniguruma/src/regparse.c:804:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 804 | onig_st_foreach(t, i_free_name_entry, 0);
cargo:warning= | ^~~~~~~~~~~~~~~~~
cargo:warning= | |
cargo:warning= | int (*)(OnigUChar *, NameEntry *, void *) {aka int (*)(unsigned char *, NameEntry *, void *)}
cargo:warning=In file included from oniguruma/src/regparse.c:37:
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 *, NameEntry *, void *)'}
cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro '_'
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:789:1: note: 'i_free_name_entry' declared here
cargo:warning= 789 | i_free_name_entry(UChar* key, NameEntry* e, void* arg ARG_UNUSED)
cargo:warning= | ^~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'onig_foreach_name':
cargo:warning=oniguruma/src/regparse.c:873:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 873 | onig_st_foreach(t, i_names, (HashDataType )&narg);
cargo:warning= | ^~~~~~~
cargo:warning= | |
cargo:warning= | int (*)(OnigUChar *, NameEntry *, INamesArg *) {aka int (*)(unsigned char *, NameEntry *, INamesArg *)}
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, NameEntry *, INamesArg *)' {aka 'int (*)(unsigned char *, NameEntry *, INamesArg *)'}
cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro '_'
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:846:1: note: 'i_names' declared here
cargo:warning= 846 | i_names(UChar* key ARG_UNUSED, NameEntry* e, INamesArg* arg)
cargo:warning= | ^~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'onig_renumber_name_table':
cargo:warning=oniguruma/src/regparse.c:901:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 901 | onig_st_foreach(t, i_renumber_name, (HashDataType )map);
cargo:warning= | ^~~~~~~~~~~~~~~
cargo:warning= | |
cargo:warning= | int (*)(OnigUChar *, NameEntry *, GroupNumMap *) {aka int (*)(unsigned char *, NameEntry *, GroupNumMap *)}
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, NameEntry *, GroupNumMap *)' {aka 'int (*)(unsigned char *, NameEntry *, GroupNumMap *)'}
cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro '_'
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:879:1: note: 'i_renumber_name' declared here
cargo:warning= 879 | i_renumber_name(UChar* key ARG_UNUSED, NameEntry* e, GroupNumMap* map)
cargo:warning= | ^~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'callout_name_table_clear':
cargo:warning=oniguruma/src/regparse.c:1386:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 1386 | onig_st_foreach(t, i_free_callout_name_entry, 0);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning= | |
cargo:warning= | int (*)(st_callout_name_key *, CalloutNameEntry *, void *)
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(st_callout_name_key *, CalloutNameEntry *, void *)'
cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro '_'
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:1370:1: note: 'i_free_callout_name_entry' declared here
cargo:warning= 1370 | i_free_callout_name_entry(st_callout_name_key* key, CalloutNameEntry* e,
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'setup_ext_callout_list_values':
cargo:warning=oniguruma/src/regparse.c:1884:56: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 1884 | onig_st_foreach((CalloutTagTable *)ext->tag_table, i_callout_callout_list_set,
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning= | |
cargo:warning= | int (*)(OnigUChar *, CalloutTagVal, void *) {aka int (*)(unsigned char *, long int, void *)}
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, CalloutTagVal, void *)' {aka 'int (*)(unsigned char *, long int, void *)'}
cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro '_'
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:1866:1: note: 'i_callout_callout_list_set' declared here
cargo:warning= 1866 | i_callout_callout_list_set(UChar* key, CalloutTagVal e, void* arg)
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/regparse.c: In function 'callout_tag_table_clear':
cargo:warning=oniguruma/src/regparse.c:1932:24: error: passing argument 2 of 'onig_st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
cargo:warning= 1932 | onig_st_foreach(t, i_free_callout_tag_entry, 0);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~
cargo:warning= | |
cargo:warning= | int (*)(OnigUChar *, CalloutTagVal, void *) {aka int (*)(unsigned char *, long int, void *)}
cargo:warning=oniguruma/src/st.h:55:31: note: expected 'int (*)(void)' but argument is of type 'int (*)(OnigUChar *, CalloutTagVal, void *)' {aka 'int (*)(unsigned char *, long int, void *)'}
cargo:warning= 55 | int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=oniguruma/src/st.h:35:18: note: in definition of macro '_'
cargo:warning= 35 | # define _(args) args
cargo:warning= | ^~~~
cargo:warning=oniguruma/src/regparse.c:1922:1: note: 'i_free_callout_tag_entry' declared here
cargo:warning= 1922 | i_free_callout_tag_entry(UChar* key, CalloutTagVal e, void* arg ARG_UNUSED)
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~
--- stderr
error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/home/enkvadrat/bin/codex/codex-rs/target/debug/build/onig_sys-8f523d6a9b287a6e/out" "-I" "oniguruma/src" "-DHAVE_UNISTD_H=1" "-DHAVE_SYS_TYPES_H=1" "-DHAVE_SYS_TIME_H=1" "-o" "/home/enkvadrat/bin/codex/codex-rs/target/debug/build/onig_sys-8f523d6a9b287a6e/out/a445302c6d3dcb51-regparse.o" "-c" "oniguruma/src/regparse.c"
warning: build failed, waiting for other jobs to finish...
error: Recipe `tui` failed on line 17 with exit code 101Additional information
The fail is in the build.rs of onig_sys v69.8.1 which is a dependency of tui-markdown
tui-markdown v0.3.3
│ │ ├── ansi-to-tui v7.0.0 (*)
│ │ ├── itertools v0.14.0
│ │ │ └── either v1.15.0
│ │ ├── pretty_assertions v1.4.1 (*)
│ │ ├── pulldown-cmark v0.13.0
│ │ │ ├── bitflags v2.9.0
│ │ │ ├── getopts v0.2.21
│ │ │ │ └── unicode-width v0.1.14
│ │ │ ├── memchr v2.7.4
│ │ │ ├── pulldown-cmark-escape v0.11.0
│ │ │ └── unicase v2.8.1
│ │ ├── ratatui v0.29.0 (*)
│ │ ├── rstest v0.25.0
│ │ │ ├── futures-timer v3.0.3
│ │ │ ├── futures-util v0.3.31 (*)
│ │ │ └── rstest_macros v0.25.0 (proc-macro)
│ │ │ ├── cfg-if v1.0.0
│ │ │ ├── glob v0.3.2
│ │ │ ├── proc-macro-crate v3.3.0
│ │ │ │ └── toml_edit v0.22.24
│ │ │ │ ├── indexmap v2.9.0 (*)
│ │ │ │ ├── toml_datetime v0.6.8
│ │ │ │ └── winnow v0.7.6
│ │ │ ├── proc-macro2 v1.0.95 (*)
│ │ │ ├── quote v1.0.40 (*)
│ │ │ ├── regex v1.11.1 (*)
│ │ │ ├── relative-path v1.9.3
│ │ │ ├── syn v2.0.100 (*)
│ │ │ └── unicode-ident v1.0.18
│ │ │ [build-dependencies]
│ │ │ └── rustc_version v0.4.1
│ │ │ └── semver v1.0.26
│ │ │ [build-dependencies]
│ │ │ └── rustc_version v0.4.1 (*)
│ │ ├── syntect v5.2.0
│ │ │ ├── bincode v1.3.3
│ │ │ │ └── serde v1.0.219 (*)
│ │ │ ├── bitflags v1.3.2
│ │ │ ├── flate2 v1.1.1 (*)
│ │ │ ├── fnv v1.0.7
│ │ │ ├── once_cell v1.21.3
│ │ │ ├── onig v6.4.0
│ │ │ │ ├── bitflags v1.3.2
│ │ │ │ ├── once_cell v1.21.3
│ │ │ │ └── onig_sys v69.8.1
│ │ │ │ [build-dependencies]
│ │ │ │ ├── cc v1.2.19 (*)
│ │ │ │ └── pkg-config v0.3.32
│ │ │ ├── plist v1.7.1
│ │ │ │ ├── base64 v0.22.1
│ │ │ │ ├── indexmap v2.9.0 (*)
│ │ │ │ ├── quick-xml v0.32.0
│ │ │ │ │ └── memchr v2.7.4
│ │ │ │ ├── serde v1.0.219 (*)
│ │ │ │ └── time v0.3.41 (*)
│ │ │ ├── regex-syntax v0.8.5
│ │ │ ├── serde v1.0.219 (*)
│ │ │ ├── serde_derive v1.0.219 (proc-macro) (*)
│ │ │ ├── serde_json v1.0.140 (*)
│ │ │ ├── thiserror v1.0.69 (*)
│ │ │ ├── walkdir v2.5.0
│ │ │ │ └── same-file v1.0.6
│ │ │ └── yaml-rust v0.4.5
│ │ │ └── linked-hash-map v0.5.6
│ │ └── tracing v0.1.41 (*)
Bat also seems to have this issue.
This issue may be the one
I am not fully sure but it seems like syntect need to bump their version of onig
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working