[1/16] cxx asan '' cpp/pylib.cc _build/obj/cxx-asan/cpp/pylib.o [2/16] cxx asan '' cpp/osh_tdop.cc _build/obj/cxx-asan/cpp/osh_tdop.o [3/16] 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 ^ ; } ~ [4/16] cxx asan '' cpp/pgen2.cc _build/obj/cxx-asan/cpp/pgen2.o [5/16] cxx asan '' _gen/frontend/arg_types.cc _build/obj/cxx-asan/_gen/frontend/arg_types.o [6/16] cxx asan '' _gen/data_lang/nil8.asdl.cc _build/obj/cxx-asan/_gen/data_lang/nil8.asdl.o [7/16] cxx asan '' cpp/stdlib.cc _build/obj/cxx-asan/cpp/stdlib.o [8/16] cxx asan '' _gen/frontend/consts.cc _build/obj/cxx-asan/_gen/frontend/consts.o ninja: build stopped: subcommand failed.