[1/3] cxx asan '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-asan/_gen/bin/oils_for_unix.mycpp.o FAILED: _build/obj/cxx-asan/_gen/bin/oils_for_unix.mycpp.o build/ninja-rules-cpp.sh compile_one cxx asan '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-asan/_gen/bin/oils_for_unix.mycpp.o _build/obj/cxx-asan/_gen/bin/oils_for_unix.mycpp.o.d _gen/bin/oils_for_unix.mycpp.cc: In member function 'syntax_asdl::expr_t* expr_to_ast::Transformer::_Trailer(syntax_asdl::expr_t*, pnode::PNode*)': _gen/bin/oils_for_unix.mycpp.cc:54101:15: error: 'void*' is not a pointer-to-object type slices->append(this->_Subscript(p_args->GetChild(i))); ^~ In file included from /home/uke/oil/mycpp/runtime.h:13, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_list.h: In instantiation of 'class List': /home/uke/oil/mycpp/gc_alloc.h:119:40: required from 'T* Alloc(Args&& ...) [with T = List; Args = {}]' _gen/bin/oils_for_unix.mycpp.cc:54099:34: required from here /home/uke/oil/mycpp/gc_list.h:311:5: error: invalid parameter type 'void' int List::index(T value) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:311:5: error: in declaration 'int List::index(T)' /home/uke/oil/mycpp/gc_list.h:281:6: error: invalid parameter type 'void' void List::set(int i, T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:281:6: error: in declaration 'void List::set(int, T)' /home/uke/oil/mycpp/gc_list.h:358:6: error: invalid parameter type 'void' void List::remove(T x) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:358:6: error: in declaration 'void List::remove(T)' /home/uke/oil/mycpp/gc_list.h:198:6: error: invalid parameter type 'void' void List::append(T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:198:6: error: in declaration 'void List::append(T)' /home/uke/oil/mycpp/gc_list.h:99:37: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(sizeof(ObjHeader) % sizeof(T) == 0, ^~~~~~~~~ /home/uke/oil/mycpp/gc_list.h:113:31: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(kPoolBytes2 % sizeof(T) == 0, ^~~~~~~~~ In file included from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_alloc.h: In instantiation of 'T* Alloc(Args&& ...) [with T = syntax_asdl::expr__Tuple; Args = {syntax_asdl::Token*&, void*&, syntax_asdl::expr_context_e}]': _gen/bin/oils_for_unix.mycpp.cc:54104:78: required from here /home/uke/oil/mycpp/gc_alloc.h:144:10: error: invalid conversion from 'void*' to 'List*' [-fpermissive] return new (obj) T(std::forward(args)...); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/uke/oil/cpp/preamble.h:21, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/_gen/frontend/syntax.asdl.h:3716:43: note: initializing argument 2 of 'syntax_asdl::expr__Tuple::expr__Tuple(syntax_asdl::Token*, List*, syntax_asdl::expr_context_t)' expr__Tuple(Token* left, List* elts, expr_context_t ctx) ~~~~~~~~~~~~~~~^~~~ ninja: build stopped: subcommand failed. /// /// Runtime errors - Unquoted test functions /// ===== TEST function: unquoted-ambiguous_redirect ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-ambiguous_redirect_context ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-array_arith ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-array_assign_1 ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-array_assign_2 ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-bad_file_descriptor ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-bad_var_ref ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-bool_status ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-bool_status_simple ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_alias_unalias ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_bracket ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_builtin ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_cd ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_exec ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_getopts ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_help ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_popd ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_pushd ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_source ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_trap ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_unset ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-builtin_wait ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-command_sub_errexit ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-multiple_assign ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-multiple_assign_2 ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-no_such_command_heredoc ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-nounset ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-nounset_arith ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-patsub_bad_glob ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-pipefail ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-pipefail_func ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-pipefail_group ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-pipefail_multiple ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-pipefail_no_words ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-pipefail_subshell ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-pipefail_while ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-process_sub_fail ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-readonly_assign ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-strict_arith_warnings ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-strict_array ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-strict_array_2 ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-strict_array_3 ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-strict_array_4 ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-strict_word_eval_warnings ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-string_as_array ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-string_to_hex ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-string_to_int_arith ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-string_to_int_bool ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-string_to_intbase ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-string_to_octal ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-undef-assoc-array ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-undef_arith ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 ===== TEST function: unquoted-undef_arith2 ===== test/runtime-errors.sh: line 30: _bin/cxx-asan/osh: No such file or directory ----- STATUS: 0 test/runtime-errors.sh: 53 unquoted functions run. TODO: migrate to test-* to assert status /// /// Runtime errors - test functions /// *** Running test-FAIL ===== CASE: -c echo hi > /zzz ===== test/sh-assert.sh: line 29: _bin/cxx-asan/osh: No such file or directory test/runtime-errors.sh: fatal: Should FAIL under _bin/cxx-asan/osh: expected status 1, got 127 FAIL test-FAIL