[1/3] cxx asan '' cpp/core.cc _build/obj/cxx-asan/cpp/core.o
FAILED: _build/obj/cxx-asan/cpp/core.o 
build/ninja-rules-cpp.sh compile_one cxx asan '' cpp/core.cc _build/obj/cxx-asan/cpp/core.o _build/obj/cxx-asan/cpp/core.o.d
cpp/core.cc: In function 'List<int>* pyos::WaitForInputs(List<int>)':
cpp/core.cc:261:21: error: no matching function for call to 'len(List<int>&)'
   int n = len(fds_in)
                     ^
In file included from /home/uke/oil/mycpp/gc_alloc.h:13,
                 from /home/uke/oil/mycpp/runtime.h:8,
                 from /home/uke/oil/_gen/frontend/syntax.asdl.h:8,
                 from /home/uke/oil/cpp/core.h:9,
                 from cpp/core.cc:3:
/home/uke/oil/mycpp/gc_str.h:103:12: note: candidate: 'int len(const BigStr*)'
 inline int len(const BigStr* s) {
            ^~~
/home/uke/oil/mycpp/gc_str.h:103:12: note:   no known conversion for argument 1 from 'List<int>' to 'const BigStr*'
/home/uke/oil/mycpp/gc_str.h:184:12: note: candidate: 'int len(Str)'
 inline int len(const Str s) {
            ^~~
/home/uke/oil/mycpp/gc_str.h:184:12: note:   no known conversion for argument 1 from 'List<int>' to 'Str'
In file included from /home/uke/oil/mycpp/runtime.h:13,
                 from /home/uke/oil/_gen/frontend/syntax.asdl.h:8,
                 from /home/uke/oil/cpp/core.h:9,
                 from cpp/core.cc:3:
/home/uke/oil/mycpp/gc_list.h:216:5: note: candidate: 'template<class T> int len(const List<T>*)'
 int len(const List<T>* L) {
     ^~~
/home/uke/oil/mycpp/gc_list.h:216:5: note:   template argument deduction/substitution failed:
cpp/core.cc:261:21: note:   mismatched types 'const List<T>*' and 'List<int>'
   int n = len(fds_in)
                     ^
In file included from /home/uke/oil/mycpp/runtime.h:14,
                 from /home/uke/oil/_gen/frontend/syntax.asdl.h:8,
                 from /home/uke/oil/cpp/core.h:9,
                 from cpp/core.cc:3:
/home/uke/oil/mycpp/gc_dict.h:417:12: note: candidate: 'template<class K, class V> int len(const Dict<K, V>*)'
 inline int len(const Dict<K, V>* d) {
            ^~~
/home/uke/oil/mycpp/gc_dict.h:417:12: note:   template argument deduction/substitution failed:
cpp/core.cc:261:21: note:   mismatched types 'const Dict<K, V>*' and 'List<int>'
   int n = len(fds_in)
                     ^
cpp/core.cc:262:19: error: 'i' was not declared in this scope
   for (int i = 0; i < n; ++i) {
                   ^
cpp/core.cc:267:30: error: no match for 'operator[]' (operand types are 'List<int>' and 'int')
     if (inputAvailable(fds_in[n])) {
                              ^
cpp/core.cc:267:9: error: 'inputAvailable' was not declared in this scope
     if (inputAvailable(fds_in[n])) {
         ^~~~~~~~~~~~~~
cpp/core.cc:267:9: note: suggested alternative: 'InputAvailable'
     if (inputAvailable(fds_in[n])) {
         ^~~~~~~~~~~~~~
         InputAvailable
cpp/core.cc:268:25: error: no match for 'operator[]' (operand types are 'List<int>' and 'int')
       ret->append(fds_in[n])
                         ^
cpp/core.cc:271:13: error: expected ';' before '}' token
   return ret
             ^
             ;
 }
 ~            
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