[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. *** Running test-ascii-control ===== CASE: -c echo $'\x02' | json read ===== test/sh-assert.sh: line 29: _bin/cxx-asan/osh: No such file or directory data_lang/j8-errors.sh: fatal: Should FAIL under _bin/cxx-asan/osh: expected status 1, got 127 FAIL test-ascii-control