[1/20] cxx asan '' cpp/libc.cc _build/obj/cxx-asan/cpp/libc.o [2/20] 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:266:30: error: no matching function for call to 'len(int&)' for (int i = 0; i < len(out); ++i) { ^ 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*)' <near match> inline int len(const BigStr* s) { ^~~ /home/uke/oil/mycpp/gc_str.h:103:12: note: conversion of argument 1 would be ill-formed: cpp/core.cc:266:27: error: invalid conversion from 'int' to 'const BigStr*' [-fpermissive] for (int i = 0; i < len(out); ++i) { ^~~ 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: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 '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:266:30: note: mismatched types 'const List<T>*' and 'int' for (int i = 0; i < len(out); ++i) { ^ 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:266:30: note: mismatched types 'const Dict<K, V>*' and 'int' for (int i = 0; i < len(out); ++i) { ^ cpp/core.cc:267:9: error: 'inputAvailable' was not declared in this scope if (inputAvailable(fds_in->at(n))) { ^~~~~~~~~~~~~~ cpp/core.cc:267:9: note: suggested alternative: 'InputAvailable' if (inputAvailable(fds_in->at(n))) { ^~~~~~~~~~~~~~ InputAvailable [3/20] cxx asan '' cpp/osh_tdop.cc _build/obj/cxx-asan/cpp/osh_tdop.o [4/20] cxx asan '' cpp/osh.cc _build/obj/cxx-asan/cpp/osh.o [5/20] cxx asan '' cpp/frontend_pyreadline.cc _build/obj/cxx-asan/cpp/frontend_pyreadline.o [6/20] cxx asan '' cpp/pgen2.cc _build/obj/cxx-asan/cpp/pgen2.o [7/20] cxx asan '' cpp/frontend_match.cc _build/obj/cxx-asan/cpp/frontend_match.o ninja: build stopped: subcommand failed.