[1/42] build-stamp-cpp _build/git-commit.txt _gen/cpp/build_stamp.h _gen/cpp/build_stamp.cc [2/42] make-pystub _bin/shwrap/embedded_file_gen cpp/embedded_file_gen.py mycpp/mylib.py pylib/collections_.py [3/42] make-pystub _bin/shwrap/flag_gen frontend/flag_gen.py _devbuild/gen/hnode_asdl.py _devbuild/gen/id_kind_asdl.py _devbuild/gen/runtime_asdl.py _devbuild/gen/syntax_asdl.py _devbuild/gen/value_asdl.py asdl/pybase.py asdl/runtime.py core/error.py core/num.py frontend/args.py frontend/flag_def.py frontend/flag_spec.py frontend/option_def.py frontend/syntax_abbrev.py mycpp/mops.py mycpp/mylib.py pylib/collections_.py [4/42] make-pystub _bin/shwrap/signal_gen frontend/signal_gen.py frontend/signal_def.py [5/42] make-pystub _bin/shwrap/arith_parse_gen osh/arith_parse_gen.py _devbuild/gen/hnode_asdl.py _devbuild/gen/id_kind_asdl.py _devbuild/gen/nil8_asdl.py _devbuild/gen/pretty_asdl.py _devbuild/gen/runtime_asdl.py _devbuild/gen/syntax_asdl.py _devbuild/gen/types_asdl.py _devbuild/gen/value_asdl.py asdl/format.py asdl/pybase.py asdl/runtime.py core/bash_impl.py core/error.py core/num.py core/optview.py data_lang/j8.py data_lang/j8_lite.py data_lang/pyj8.py display/ansi.py display/pp_hnode.py display/pp_value.py display/pretty.py display/ui.py frontend/builtin_def.py frontend/consts.py frontend/id_kind_def.py frontend/lexer.py frontend/lexer_def.py frontend/location.py frontend/match.py frontend/option_def.py frontend/syntax_abbrev.py mycpp/mops.py mycpp/mylib.py osh/arith_parse.py osh/tdop.py osh/word_.py pylib/collections_.py [6/42] make-pystub _bin/shwrap/grammar_gen ysh/grammar_gen.py _devbuild/gen/hnode_asdl.py _devbuild/gen/id_kind_asdl.py _devbuild/gen/runtime_asdl.py _devbuild/gen/syntax_asdl.py _devbuild/gen/types_asdl.py _devbuild/gen/value_asdl.py asdl/pybase.py asdl/runtime.py core/alloc.py core/error.py core/num.py core/optview.py frontend/builtin_def.py frontend/consts.py frontend/id_kind_def.py frontend/lexer.py frontend/lexer_def.py frontend/match.py frontend/option_def.py frontend/reader.py frontend/syntax_abbrev.py mycpp/iolib.py mycpp/mops.py mycpp/mylib.py pgen2/grammar.py pgen2/parse.py pgen2/pgen.py pgen2/pnode.py pgen2/token.py pgen2/tokenize.py pylib/collections_.py [7/42] signal_gen cpp _gen/frontend/signal [8/42] embedded_file_gen _devbuild/help/data-errors _devbuild/help/data-front-end _devbuild/help/data-j8-notation _devbuild/help/help _devbuild/help/oils-usage _devbuild/help/osh-builtin-cmd _devbuild/help/osh-chapters _devbuild/help/osh-cmd-lang _devbuild/help/osh-front-end _devbuild/help/osh-mini-lang _devbuild/help/osh-option _devbuild/help/osh-osh-assign _devbuild/help/osh-plugin _devbuild/help/osh-special-var _devbuild/help/osh-stdlib _devbuild/help/osh-type-method _devbuild/help/osh-usage _devbuild/help/osh-word-lang _devbuild/help/shell-flags _devbuild/help/ysh-builtin-cmd _devbuild/help/ysh-builtin-func _devbuild/help/ysh-chapters _devbuild/help/ysh-cmd-lang _devbuild/help/ysh-expr-lang _devbuild/help/ysh-front-end _devbuild/help/ysh-mini-lang _devbuild/help/ysh-option _devbuild/help/ysh-plugin _devbuild/help/ysh-special-var _devbuild/help/ysh-stdlib _devbuild/help/ysh-type-method _devbuild/help/ysh-usage _devbuild/help/ysh-word-lang _devbuild/help/ysh-ysh-cmd stdlib/methods.ysh stdlib/osh/bash-strict.sh stdlib/osh/byo-server.sh stdlib/osh/no-quotes.sh stdlib/osh/task-five.sh stdlib/osh/two.sh stdlib/prelude.ysh stdlib/ysh/args.ysh stdlib/ysh/def.ysh stdlib/ysh/list.ysh stdlib/ysh/math.ysh stdlib/ysh/stream.ysh stdlib/ysh/table.ysh stdlib/ysh/yblocks.ysh _gen/bin/text_files.cc [9/42] flag_gen cpp _gen/frontend/arg_types [10/42] arith-parse-gen > _gen/osh/arith_parse.cc [11/42] grammar_gen cpp ysh/grammar.pgen2 _gen/ysh [12/42] cxx asan '' _gen/frontend/id_kind.asdl.cc _build/obj/cxx-asan/_gen/frontend/id_kind.asdl.o [13/42] cxx asan '' cpp/data_lang.cc _build/obj/cxx-asan/cpp/data_lang.o [14/42] cxx asan '' _gen/display/pretty.asdl.cc _build/obj/cxx-asan/_gen/display/pretty.asdl.o [15/42] cxx asan '' _gen/bin/text_files.cc _build/obj/cxx-asan/_gen/bin/text_files.o [16/42] cxx asan '' _gen/cpp/build_stamp.cc _build/obj/cxx-asan/_gen/cpp/build_stamp.o [17/42] cxx asan '' _gen/core/runtime.asdl.cc _build/obj/cxx-asan/_gen/core/runtime.asdl.o [18/42] cxx asan '' cpp/fanos_shared.c _build/obj/cxx-asan/cpp/fanos_shared.o [19/42] cxx asan '' _gen/core/value.asdl.cc _build/obj/cxx-asan/_gen/core/value.asdl.o [20/42] cxx asan '' cpp/fanos.cc _build/obj/cxx-asan/cpp/fanos.o [21/42] 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); ^ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:196, from /usr/include/stdlib.h:394, from /usr/include/c++/8/cstdlib:75, from /usr/include/c++/8/stdlib.h:36, from /home/uke/oil/mycpp/mark_sweep_heap.h:4, from /home/uke/oil/mycpp/gc_alloc.h:19, 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: cpp/core.cc:263:18: error: base operand of '->' has non-pointer type 'List<int>' FD_SET(fds_in->at(n), &fds); ^~ cpp/core.cc:263:18: error: base operand of '->' has non-pointer type 'List<int>' FD_SET(fds_in->at(n), &fds); ^~ 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:30: error: base operand of '->' has non-pointer type 'List<int>' if (inputAvailable(fds_in->at(n))) { ^~ 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 cpp/core.cc:268:25: error: base operand of '->' has non-pointer type 'List<int>' ret->append(fds_in->(n)); ^~ cpp/core.cc:268:27: error: expected unqualified-id before '(' token ret->append(fds_in->(n)); ^ [22/42] cxx asan '' cpp/frontend_pyreadline.cc _build/obj/cxx-asan/cpp/frontend_pyreadline.o [23/42] cxx asan '' cpp/frontend_flag_spec.cc _build/obj/cxx-asan/cpp/frontend_flag_spec.o [24/42] cxx asan '' cpp/frontend_match.cc _build/obj/cxx-asan/cpp/frontend_match.o [25/42] cxx asan '' _gen/frontend/syntax.asdl.cc _build/obj/cxx-asan/_gen/frontend/syntax.asdl.o [26/42] gen-oils-for-unix oils_for_unix _gen/bin/oils_for_unix.mycpp cpp/preamble.h asdl/format.py asdl/runtime.py bin/oils_for_unix.py builtin/assign_osh.py builtin/bracket_osh.py builtin/completion_osh.py builtin/completion_ysh.py builtin/dirs_osh.py builtin/error_ysh.py builtin/func_eggex.py builtin/func_hay.py builtin/func_misc.py builtin/func_reflect.py builtin/hay_ysh.py builtin/io_osh.py builtin/io_ysh.py builtin/json_ysh.py builtin/meta_oils.py builtin/method_dict.py builtin/method_io.py builtin/method_list.py builtin/method_other.py builtin/method_str.py builtin/method_type.py builtin/misc_osh.py builtin/module_ysh.py builtin/printf_osh.py builtin/process_osh.py builtin/pure_osh.py builtin/pure_ysh.py builtin/read_osh.py builtin/readline_osh.py builtin/trap_osh.py core/alloc.py core/bash_impl.py core/comp_ui.py core/completion.py core/dev.py core/error.py core/executor.py core/main_loop.py core/num.py core/process.py core/sh_init.py core/shell.py core/state.py core/util.py core/vm.py data_lang/j8.py data_lang/j8_lite.py display/ansi.py display/pp_hnode.py display/pp_value.py display/pretty.py display/ui.py frontend/args.py frontend/flag_util.py frontend/lexer.py frontend/location.py frontend/parse_lib.py frontend/reader.py frontend/syntax_abbrev.py frontend/typed_args.py osh/arith_parse.py osh/bool_parse.py osh/braces.py osh/cmd_eval.py osh/cmd_parse.py osh/glob_.py osh/history.py osh/prompt.py osh/sh_expr_eval.py osh/split.py osh/string_ops.py osh/tdop.py osh/word_.py osh/word_compile.py osh/word_eval.py osh/word_parse.py pgen2/parse.py pylib/os_path.py tools/fmt.py tools/ysh_ify.py ysh/expr_eval.py ysh/expr_parse.py ysh/expr_to_ast.py ysh/func_proc.py ysh/regex_translate.py ysh/val_ops.py mycpp: LOADING asdl/format.py asdl/runtime.py bin/oils_for_unix.py builtin/assign_osh.py builtin/bracket_osh.py builtin/completion_osh.py builtin/completion_ysh.py builtin/dirs_osh.py builtin/error_ysh.py builtin/func_eggex.py builtin/func_hay.py builtin/func_misc.py builtin/func_reflect.py builtin/hay_ysh.py builtin/io_osh.py builtin/io_ysh.py builtin/json_ysh.py builtin/meta_oils.py builtin/method_dict.py builtin/method_io.py builtin/method_list.py builtin/method_other.py builtin/method_str.py builtin/method_type.py builtin/misc_osh.py builtin/module_ysh.py builtin/printf_osh.py builtin/process_osh.py builtin/pure_osh.py builtin/pure_ysh.py builtin/read_osh.py builtin/readline_osh.py builtin/trap_osh.py core/alloc.py core/bash_impl.py core/comp_ui.py core/completion.py core/dev.py core/error.py core/executor.py core/main_loop.py core/num.py core/process.py core/sh_init.py core/shell.py core/state.py core/util.py core/vm.py data_lang/j8.py data_lang/j8_lite.py display/ansi.py display/pp_hnode.py display/pp_value.py display/pretty.py display/ui.py frontend/args.py frontend/flag_util.py frontend/lexer.py frontend/location.py frontend/parse_lib.py frontend/reader.py frontend/syntax_abbrev.py frontend/typed_args.py osh/arith_parse.py osh/bool_parse.py osh/braces.py osh/cmd_eval.py osh/cmd_parse.py osh/glob_.py osh/history.py osh/prompt.py osh/sh_expr_eval.py osh/split.py osh/string_ops.py osh/tdop.py osh/word_.py osh/word_compile.py osh/word_eval.py osh/word_parse.py pgen2/parse.py pylib/os_path.py tools/fmt.py tools/ysh_ify.py ysh/expr_eval.py ysh/expr_parse.py ysh/expr_to_ast.py ysh/func_proc.py ysh/regex_translate.py ysh/val_ops.py mycpp pass: CONVERT mycpp pass: CONTROL FLOW mycpp: dumping control flow graph to _tmp/mycpp-facts mycpp pass: CONST mycpp pass: DECL mycpp pass: IMPL WARNING: builtin.assign_osh._PrintVariables() has 27 stack roots. Consider refactoring this function. WARNING: builtin.hay_ysh.HayNode_.Run() has 18 stack roots. Consider refactoring this function. WARNING: builtin.io_ysh.Pp.Run() has 22 stack roots. Consider refactoring this function. WARNING: builtin.meta_oils.ShellFile._Use() has 19 stack roots. Consider refactoring this function. WARNING: builtin.method_str.Replace.Call() has 26 stack roots. Consider refactoring this function. WARNING: builtin.printf_osh.Printf._Percent() has 21 stack roots. Consider refactoring this function. WARNING: builtin.printf_osh.Printf.Run() has 17 stack roots. Consider refactoring this function. WARNING: core.completion.RootCompleter.Matches() has 31 stack roots. Consider refactoring this function. WARNING: osh.cmd_parse.CommandParser._MaybeExpandAliases() has 17 stack roots. Consider refactoring this function. WARNING: osh.history.Evaluator.Eval() has 19 stack roots. Consider refactoring this function. WARNING: osh.word_eval.AbstractWordEvaluator._ApplyTestOp() has 19 stack roots. Consider refactoring this function. WARNING: tools.ysh_ify.YshPrinter.DoCommand() has 18 stack roots. Consider refactoring this function. WARNING: ysh.expr_eval.ExprEvaluator._EvalExpr() has 17 stack roots. Consider refactoring this function. WARNING: ysh.expr_parse._PushYshTokens() has 27 stack roots. Consider refactoring this function. WARNING: ysh.expr_to_ast.Transformer.Expr() has 18 stack roots. Consider refactoring this function. WARNING: builtin.completion_osh.SpecBuilder.Build() has 18 stack roots. Consider refactoring this function. WARNING: core.shell.Main() has 127 stack roots. Consider refactoring this function. mycpp DONE ninja: build stopped: subcommand failed.