[1/6] cxx asan '' _gen/osh/arith_parse.cc _build/obj/cxx-asan/_gen/osh/arith_parse.o
[2/6] 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/6] cxx asan '' _gen/ysh/grammar_tables.cc _build/obj/cxx-asan/_gen/ysh/grammar_tables.o
[4/6] cxx asan '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-asan/_gen/bin/oils_for_unix.mycpp.o
build/ninja-rules-cpp.sh: line 341: time: command not found
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