[1/43] cxx opt+bumpleak '' cpp/fanos_shared.c _build/obj/cxx-opt+bumpleak/cpp/fanos_shared.o [2/43] cxx opt+bumpleak '' cpp/libc.cc _build/obj/cxx-opt+bumpleak/cpp/libc.o [3/43] cxx opt+bumpleak '' cpp/osh.cc _build/obj/cxx-opt+bumpleak/cpp/osh.o [4/43] cxx opt+bumpleak '' cpp/frontend_pyreadline.cc _build/obj/cxx-opt+bumpleak/cpp/frontend_pyreadline.o [5/43] cxx opt+bumpleak '' cpp/osh_tdop.cc _build/obj/cxx-opt+bumpleak/cpp/osh_tdop.o [6/43] cxx opt+bumpleak '' cpp/pylib.cc _build/obj/cxx-opt+bumpleak/cpp/pylib.o [7/43] cxx opt+bumpleak '' cpp/frontend_flag_spec.cc _build/obj/cxx-opt+bumpleak/cpp/frontend_flag_spec.o [8/43] cxx opt+bumpleak '' cpp/fanos.cc _build/obj/cxx-opt+bumpleak/cpp/fanos.o [9/43] cxx opt+bumpleak '' cpp/pgen2.cc _build/obj/cxx-opt+bumpleak/cpp/pgen2.o [10/43] cxx opt+bumpleak '' _gen/bin/text_files.cc _build/obj/cxx-opt+bumpleak/_gen/bin/text_files.o [11/43] cxx opt+bumpleak '' _gen/data_lang/nil8.asdl.cc _build/obj/cxx-opt+bumpleak/_gen/data_lang/nil8.asdl.o [12/43] cxx opt+bumpleak '' _gen/cpp/build_stamp.cc _build/obj/cxx-opt+bumpleak/_gen/cpp/build_stamp.o [13/43] cxx opt+bumpleak '' cpp/stdlib.cc _build/obj/cxx-opt+bumpleak/cpp/stdlib.o [14/43] cxx opt+bumpleak '' cpp/data_lang.cc _build/obj/cxx-opt+bumpleak/cpp/data_lang.o [15/43] cxx opt+bumpleak '' _gen/display/pretty.asdl.cc _build/obj/cxx-opt+bumpleak/_gen/display/pretty.asdl.o [16/43] cxx opt+bumpleak '' cpp/core.cc _build/obj/cxx-opt+bumpleak/cpp/core.o [17/43] cxx opt+bumpleak '' _gen/frontend/arg_types.cc _build/obj/cxx-opt+bumpleak/_gen/frontend/arg_types.o [18/43] cxx opt+bumpleak '' cpp/frontend_match.cc _build/obj/cxx-opt+bumpleak/cpp/frontend_match.o [19/43] cxx opt+bumpleak '' _gen/frontend/id_kind.asdl.cc _build/obj/cxx-opt+bumpleak/_gen/frontend/id_kind.asdl.o [20/43] cxx opt+bumpleak '' _gen/frontend/signal.cc _build/obj/cxx-opt+bumpleak/_gen/frontend/signal.o [21/43] cxx opt+bumpleak '' _gen/core/runtime.asdl.cc _build/obj/cxx-opt+bumpleak/_gen/core/runtime.asdl.o [22/43] cxx opt+bumpleak '' mycpp/bump_leak_heap.cc _build/obj/cxx-opt+bumpleak/mycpp/bump_leak_heap.o [23/43] cxx opt+bumpleak '' _gen/core/value.asdl.cc _build/obj/cxx-opt+bumpleak/_gen/core/value.asdl.o [24/43] cxx opt+bumpleak '' _gen/frontend/consts.cc _build/obj/cxx-opt+bumpleak/_gen/frontend/consts.o [25/43] cxx opt+bumpleak '' mycpp/gc_mops.cc _build/obj/cxx-opt+bumpleak/mycpp/gc_mops.o [26/43] cxx opt+bumpleak '' mycpp/gc_builtins.cc _build/obj/cxx-opt+bumpleak/mycpp/gc_builtins.o [27/43] cxx opt+bumpleak '' mycpp/hash.cc _build/obj/cxx-opt+bumpleak/mycpp/hash.o [28/43] cxx opt+bumpleak '' mycpp/gc_mylib.cc _build/obj/cxx-opt+bumpleak/mycpp/gc_mylib.o [29/43] cxx opt+bumpleak '' mycpp/mark_sweep_heap.cc _build/obj/cxx-opt+bumpleak/mycpp/mark_sweep_heap.o [30/43] cxx opt+bumpleak '' _gen/osh/arith_parse.cc _build/obj/cxx-opt+bumpleak/_gen/osh/arith_parse.o [31/43] cxx opt+bumpleak '' _gen/frontend/help_meta.cc _build/obj/cxx-opt+bumpleak/_gen/frontend/help_meta.o [32/43] cxx opt '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp.o FAILED: _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp.o build/ninja-rules-cpp.sh compile_one cxx opt '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp.o _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp.o.d _gen/bin/oils_for_unix.mycpp.cc: In member function 'syntax_asdl::expr_t* expr_to_ast::Transformer::_Trailer(syntax_asdl::expr_t*, pnode::PNode*)': _gen/bin/oils_for_unix.mycpp.cc:54101:15: error: 'void*' is not a pointer-to-object type slices->append(this->_Subscript(p_args->GetChild(i))); ^~ In file included from /home/uke/oil/mycpp/runtime.h:13, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_list.h: In instantiation of 'class List': /home/uke/oil/mycpp/gc_alloc.h:119:40: required from 'T* Alloc(Args&& ...) [with T = List; Args = {}]' _gen/bin/oils_for_unix.mycpp.cc:54099:34: required from here /home/uke/oil/mycpp/gc_list.h:311:5: error: invalid parameter type 'void' int List::index(T value) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:311:5: error: in declaration 'int List::index(T)' /home/uke/oil/mycpp/gc_list.h:281:6: error: invalid parameter type 'void' void List::set(int i, T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:281:6: error: in declaration 'void List::set(int, T)' /home/uke/oil/mycpp/gc_list.h:358:6: error: invalid parameter type 'void' void List::remove(T x) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:358:6: error: in declaration 'void List::remove(T)' /home/uke/oil/mycpp/gc_list.h:198:6: error: invalid parameter type 'void' void List::append(T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:198:6: error: in declaration 'void List::append(T)' /home/uke/oil/mycpp/gc_list.h:99:37: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(sizeof(ObjHeader) % sizeof(T) == 0, ^~~~~~~~~ /home/uke/oil/mycpp/gc_list.h:113:31: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(kPoolBytes2 % sizeof(T) == 0, ^~~~~~~~~ In file included from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_alloc.h: In instantiation of 'T* Alloc(Args&& ...) [with T = syntax_asdl::expr__Tuple; Args = {syntax_asdl::Token*&, void*&, syntax_asdl::expr_context_e}]': _gen/bin/oils_for_unix.mycpp.cc:54104:78: required from here /home/uke/oil/mycpp/gc_alloc.h:144:10: error: invalid conversion from 'void*' to 'List*' [-fpermissive] return new (obj) T(std::forward(args)...); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/uke/oil/cpp/preamble.h:21, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/_gen/frontend/syntax.asdl.h:3716:43: note: initializing argument 2 of 'syntax_asdl::expr__Tuple::expr__Tuple(syntax_asdl::Token*, List*, syntax_asdl::expr_context_t)' expr__Tuple(Token* left, List* elts, expr_context_t ctx) ~~~~~~~~~~~~~~~^~~~ [33/43] cxx opt+bumpleak '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-opt+bumpleak/_gen/bin/oils_for_unix.mycpp.o FAILED: _build/obj/cxx-opt+bumpleak/_gen/bin/oils_for_unix.mycpp.o build/ninja-rules-cpp.sh compile_one cxx opt+bumpleak '' _gen/bin/oils_for_unix.mycpp.cc _build/obj/cxx-opt+bumpleak/_gen/bin/oils_for_unix.mycpp.o _build/obj/cxx-opt+bumpleak/_gen/bin/oils_for_unix.mycpp.o.d _gen/bin/oils_for_unix.mycpp.cc: In member function 'syntax_asdl::expr_t* expr_to_ast::Transformer::_Trailer(syntax_asdl::expr_t*, pnode::PNode*)': _gen/bin/oils_for_unix.mycpp.cc:54101:15: error: 'void*' is not a pointer-to-object type slices->append(this->_Subscript(p_args->GetChild(i))); ^~ In file included from /home/uke/oil/mycpp/runtime.h:13, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_list.h: In instantiation of 'class List': /home/uke/oil/mycpp/gc_alloc.h:119:40: required from 'T* Alloc(Args&& ...) [with T = List; Args = {}]' _gen/bin/oils_for_unix.mycpp.cc:54099:34: required from here /home/uke/oil/mycpp/gc_list.h:311:5: error: invalid parameter type 'void' int List::index(T value) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:311:5: error: in declaration 'int List::index(T)' /home/uke/oil/mycpp/gc_list.h:281:6: error: invalid parameter type 'void' void List::set(int i, T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:281:6: error: in declaration 'void List::set(int, T)' /home/uke/oil/mycpp/gc_list.h:358:6: error: invalid parameter type 'void' void List::remove(T x) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:358:6: error: in declaration 'void List::remove(T)' /home/uke/oil/mycpp/gc_list.h:198:6: error: invalid parameter type 'void' void List::append(T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:198:6: error: in declaration 'void List::append(T)' /home/uke/oil/mycpp/gc_list.h:99:37: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(sizeof(ObjHeader) % sizeof(T) == 0, ^~~~~~~~~ /home/uke/oil/mycpp/gc_list.h:113:31: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(kPoolBytes2 % sizeof(T) == 0, ^~~~~~~~~ In file included from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/mycpp/gc_alloc.h: In instantiation of 'T* Alloc(Args&& ...) [with T = syntax_asdl::expr__Tuple; Args = {syntax_asdl::Token*&, void*&, syntax_asdl::expr_context_e}]': _gen/bin/oils_for_unix.mycpp.cc:54104:78: required from here /home/uke/oil/mycpp/gc_alloc.h:144:10: error: invalid conversion from 'void*' to 'List*' [-fpermissive] return new (obj) T(std::forward(args)...); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/uke/oil/cpp/preamble.h:21, from _gen/bin/oils_for_unix.mycpp.cc:5: /home/uke/oil/_gen/frontend/syntax.asdl.h:3716:43: note: initializing argument 2 of 'syntax_asdl::expr__Tuple::expr__Tuple(syntax_asdl::Token*, List*, syntax_asdl::expr_context_t)' expr__Tuple(Token* left, List* elts, expr_context_t ctx) ~~~~~~~~~~~~~~~^~~~ [34/43] cxx opt+bumpleak '' _gen/frontend/syntax.asdl.cc _build/obj/cxx-opt+bumpleak/_gen/frontend/syntax.asdl.o [35/43] cxx opt '' _gen/bin/oils_for_unix.mycpp-souffle.cc _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp-souffle.o FAILED: _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp-souffle.o build/ninja-rules-cpp.sh compile_one cxx opt '' _gen/bin/oils_for_unix.mycpp-souffle.cc _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp-souffle.o _build/obj/cxx-opt/_gen/bin/oils_for_unix.mycpp-souffle.o.d _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void format::_PrettyPrinter::PrintNode(hnode_asdl::hnode_t*, format::ColorOutput*, int)': _gen/bin/oils_for_unix.mycpp-souffle.cc:12416:24: warning: unused variable 'node' [-Wunused-variable] hnode::External* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'bool format::_TrySingleLine(hnode_asdl::hnode_t*, format::ColorOutput*, int)': _gen/bin/oils_for_unix.mycpp-souffle.cc:12495:24: warning: unused variable 'node' [-Wunused-variable] hnode::External* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'int oils_for_unix::CaperDispatch()': _gen/bin/oils_for_unix.mycpp-souffle.cc:12574:11: warning: variable 'arg' set but not used [-Wunused-but-set-variable] BigStr* arg = nullptr; ^~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int dirs_osh::Cd::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:13470:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int dirs_osh::Dirs::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:13686:17: warning: variable 'arg_r' set but not used [-Wunused-but-set-variable] args::Reader* arg_r = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int dirs_osh::Pwd::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:13724:17: warning: variable 'arg_r' set but not used [-Wunused-but-set-variable] args::Reader* arg_r = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int error_ysh::Try::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:13776:17: warning: variable 'arg_r' set but not used [-Wunused-but-set-variable] args::Reader* arg_r = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:13781:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int error_ysh::Assert::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:13960:17: warning: variable 'arg_r' set but not used [-Wunused-but-set-variable] args::Reader* arg_r = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'value_asdl::value_t* func_hay::ParseHay::_Call(BigStr*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:14182:19: warning: variable 'parse_opts' set but not used [-Wunused-but-set-variable] optview::Parse* parse_opts = nullptr; ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'Dict* func_hay::EvalHay::_Call(syntax_asdl::command_t*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:14233:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual value_asdl::value_t* func_reflect::GetFrame::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:14981:20: warning: variable 'unused_self' set but not used [-Wunused-but-set-variable] value_asdl::Obj* unused_self = nullptr; ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:14982:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] mops::BigInt index; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual value_asdl::value_t* func_reflect::BindFrame::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:14993:27: warning: variable 'frag' set but not used [-Wunused-but-set-variable] syntax_asdl::command_t* frag = nullptr; ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:14994:39: warning: variable 'frame' set but not used [-Wunused-but-set-variable] Dict* frame = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual value_asdl::value_t* func_reflect::ParseExpr::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:15077:11: warning: variable 'code_str' set but not used [-Wunused-but-set-variable] BigStr* code_str = nullptr; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual value_asdl::value_t* func_reflect::EvalExpr::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:15088:20: warning: variable 'unused_self' set but not used [-Wunused-but-set-variable] value_asdl::Obj* unused_self = nullptr; ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int hay_ysh::Hay::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:15274:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int io_ysh::Pp::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:15660:22: warning: variable 'arg' set but not used [-Wunused-but-set-variable] args::_Attributes* arg = nullptr; ^~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int io_ysh::RunBlock::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:15856:17: warning: variable 'arg_r' set but not used [-Wunused-but-set-variable] args::Reader* arg_r = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:15858:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int json_ysh::Json::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:15893:26: warning: variable 'arg_jw' set but not used [-Wunused-but-set-variable] arg_types::json_write* arg_jw = nullptr; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int meta_oils::Invoke::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:16638:17: warning: variable 'arg_r' set but not used [-Wunused-but-set-variable] args::Reader* arg_r = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int meta_oils::Extern::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:16652:17: warning: variable 'arg_r' set but not used [-Wunused-but-set-variable] args::Reader* arg_r = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual value_asdl::value_t* method_io::EvalInFrame::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:16898:27: warning: variable 'frag' set but not used [-Wunused-but-set-variable] syntax_asdl::command_t* frag = nullptr; ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:16899:39: warning: variable 'bound' set but not used [-Wunused-but-set-variable] Dict* bound = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual value_asdl::value_t* method_io::Eval::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:16912:24: warning: variable 'unused' set but not used [-Wunused-but-set-variable] value_asdl::value_t* unused = nullptr; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:16919:7: warning: variable 'unused_status' set but not used [-Wunused-but-set-variable] int unused_status; ^~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual value_asdl::value_t* method_io::CaptureStdout::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:16976:24: warning: variable 'unused' set but not used [-Wunused-but-set-variable] value_asdl::value_t* unused = nullptr; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual value_asdl::value_t* method_io::PromptVal::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:17008:24: warning: variable 'unused' set but not used [-Wunused-but-set-variable] value_asdl::value_t* unused = nullptr; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual value_asdl::value_t* method_type::Index__::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:17718:24: warning: variable 'left_obj' set but not used [-Wunused-but-set-variable] value_asdl::value_t* left_obj = nullptr; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int misc_osh::Help::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:17793:22: warning: variable 'attrs' set but not used [-Wunused-but-set-variable] args::_Attributes* attrs = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:17797:8: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool found; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int process_osh::Jobs::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:18488:17: warning: variable 'arg_r' set but not used [-Wunused-but-set-variable] args::Reader* arg_r = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int process_osh::Ulimit::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:18889:16: warning: variable 'old_soft' set but not used [-Wunused-but-set-variable] mops::BigInt old_soft; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:18890:16: warning: variable 'old_hard' set but not used [-Wunused-but-set-variable] mops::BigInt old_hard; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int pure_osh::Shopt::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:19224:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int pure_ysh::Shvar::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:19546:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int pure_ysh::PushRegisters::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:19697:17: warning: variable 'arg_r' set but not used [-Wunused-but-set-variable] args::Reader* arg_r = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:19699:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'BigStr* read_osh::ReadAll()': _gen/bin/oils_for_unix.mycpp-souffle.cc:19946:7: warning: unused variable 'orig_local_modes' [-Wunused-variable] int orig_local_modes; ^~~~~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:19947:9: warning: unused variable 'term_attrs' [-Wunused-variable] void* term_attrs = nullptr; ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual int trap_osh::Trap::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:20525:31: warning: unused variable '_' [-Wunused-variable] syntax_asdl::command_t* _ = it.Value(); ^ _gen/bin/oils_for_unix.mycpp-souffle.cc:20530:31: warning: unused variable '_' [-Wunused-variable] syntax_asdl::command_t* _ = it.Value(); ^ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'BigStr* alloc::SnipCodeBlock(syntax_asdl::Token*, syntax_asdl::Token*, List*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:20613:8: warning: variable 'found_left' set but not used [-Wunused-but-set-variable] bool found_left; ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:20614:8: warning: variable 'found_right' set but not used [-Wunused-but-set-variable] bool found_right; ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'BigStr* alloc::Arena::SnipCodeString(syntax_asdl::Token*, syntax_asdl::Token*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:20722:8: warning: variable 'found_left' set but not used [-Wunused-but-set-variable] bool found_left; ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:20723:8: warning: variable 'found_right' set but not used [-Wunused-but-set-variable] bool found_right; ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void completion::Lookup::PrintSpecs()': _gen/bin/oils_for_unix.mycpp-souffle.cc:21264:25: warning: variable 'spec' set but not used [-Wunused-but-set-variable] completion::UserSpec* spec = nullptr; ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'virtual void completion::FileSystemAction::Matches(completion::Api*, List*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:21492:11: warning: variable 'basename' set but not used [-Wunused-but-set-variable] BigStr* basename = nullptr; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'BigStr* main_loop::Headless::EVAL(BigStr*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:23792:7: warning: variable 'unused_status' set but not used [-Wunused-but-set-variable] int unused_status; ^~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void process::FdState::Pop(List*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:24488:7: warning: variable 'unused_status' set but not used [-Wunused-but-set-variable] int unused_status; ^~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void process::JobList::DebugPrint()': _gen/bin/oils_for_unix.mycpp-souffle.cc:25371:9: warning: unused variable 'pid' [-Wunused-variable] int pid = it.Key(); ^~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'int process::JobList::NumRunning()': _gen/bin/oils_for_unix.mycpp-souffle.cc:25393:9: warning: unused variable '_' [-Wunused-variable] int _ = it.Key(); ^ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void state::MutableOpts::_SetOldOption(BigStr*, bool)': _gen/bin/oils_for_unix.mycpp-souffle.cc:25960:8: warning: variable 'success' set but not used [-Wunused-but-set-variable] bool success; ^~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void state::MutableOpts::SetOldOption(BigStr*, bool)': _gen/bin/oils_for_unix.mycpp-souffle.cc:25975:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'void state::InitInteractive(state::Mem*, BigStr*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:26249:39: warning: unused variable 'frame' [-Wunused-variable] Dict* frame = nullptr; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'runtime_asdl::Cell* state::_MakeArgvCell(List*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:26372:39: warning: unused variable 'new_frame' [-Wunused-variable] Dict* new_frame = nullptr; ^~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'Tuple2*> state::_FrameLookup(Dict*, BigStr*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:26579:40: warning: unused variable 'builtins' [-Wunused-variable] Dict* builtins = nullptr; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'value_asdl::value_t* state::Mem::GetValue(BigStr*, runtime_asdl::scope_t)': _gen/bin/oils_for_unix.mycpp-souffle.cc:27233:8: warning: variable 'ok' set but not used [-Wunused-but-set-variable] bool ok; ^~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'bool state::Mem::ClearFlag(BigStr*, int)': _gen/bin/oils_for_unix.mycpp-souffle.cc:27583:39: warning: variable 'var_frame' set but not used [-Wunused-but-set-variable] Dict* var_frame = nullptr; ^~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'void util::HelpFlag(pyutil::_ResourceLoader*, BigStr*, mylib::Writer*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:28069:8: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool found; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void j8::InstancePrinter::_PrintSparseArray(value_asdl::value::SparseArray*, int)': _gen/bin/oils_for_unix.mycpp-souffle.cc:28335:8: warning: variable 'first' set but not used [-Wunused-but-set-variable] bool first; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'syntax_asdl::Token* location::LeftTokenForWordPart(syntax_asdl::word_part_t*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:31310:31: warning: unused variable 'part' [-Wunused-variable] word_part::BracedTuple* part = static_cast(UP_part); ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'syntax_asdl::Token* location::_RightTokenForWordPart(syntax_asdl::word_part_t*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:31405:31: warning: unused variable 'part' [-Wunused-variable] word_part::BracedTuple* part = static_cast(UP_part); ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void cmd_eval::CommandEvaluator::_CheckStatus(int, runtime_asdl::CommandStatus*, syntax_asdl::command_t*, syntax_asdl::loc_t*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:33855:32: warning: unused variable 'node' [-Wunused-variable] command::ShAssignment* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:33860:28: warning: unused variable 'node' [-Wunused-variable] command::Subshell* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:33865:28: warning: unused variable 'node' [-Wunused-variable] command::Pipeline* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'int cmd_eval::CommandEvaluator::_DoSimple(syntax_asdl::command::Simple*, runtime_asdl::CommandStatus*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:34324:24: warning: unused variable 'cmd_val' [-Wunused-variable] cmd_value::Assign* cmd_val = static_cast(UP_cmd_val); ^~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void cmd_eval::CommandEvaluator::RunTrapsOnExit(syntax_asdl::IntParamBox*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:35646:8: warning: variable 'is_fatal' set but not used [-Wunused-but-set-variable] bool is_fatal; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'Tuple4*, List*, syntax_asdl::ArgList*, value_asdl::LiteralBlock*> cmd_parse::CommandParser::_ScanSimpleCommand()': _gen/bin/oils_for_unix.mycpp-souffle.cc:36448:8: warning: variable 'quoted' set but not used [-Wunused-but-set-variable] bool quoted; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'int string_ops::DecodeUtf8Char(BigStr*, int)': _gen/bin/oils_for_unix.mycpp-souffle.cc:40723:7: warning: variable '_bytes_read' set but not used [-Wunused-but-set-variable] int _bytes_read; ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'List*>* string_ops::_AllMatchPositions(BigStr*, BigStr*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:41008:7: warning: variable 'start' set but not used [-Wunused-but-set-variable] int start; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'void word_compile::RemoveLeadingSpaceDQ(List*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:42060:8: warning: variable 'line_ended' set but not used [-Wunused-but-set-variable] bool line_ended; ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'value_asdl::value_t* word_eval::AbstractWordEvaluator::_WholeArray(value_asdl::value_t*, syntax_asdl::BracedVarSub*, bool, runtime_asdl::VarSubState*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:43173:24: warning: variable 'UP_val' set but not used [-Wunused-but-set-variable] value_asdl::value_t* UP_val = nullptr; ^~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void word_eval::AbstractWordEvaluator::_EvalBracedVarSub(syntax_asdl::BracedVarSub*, List*, bool)': _gen/bin/oils_for_unix.mycpp-souffle.cc:43427:29: warning: variable 'op' set but not used [-Wunused-but-set-variable] syntax_asdl::suffix_op_t* op = nullptr; ^~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'runtime_asdl::cmd_value_t* word_eval::AbstractWordEvaluator::SimpleEvalWordSequence2(List*, bool, bool)': _gen/bin/oils_for_unix.mycpp-souffle.cc:44411:17: warning: unused variable '_' [-Wunused-variable] BigStr* _ = it.Value(); ^ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'syntax_asdl::word_part::BashRegexGroup* word_parse::WordParser::_ReadBashRegexGroup()': _gen/bin/oils_for_unix.mycpp-souffle.cc:45336:23: warning: variable 'right_token' set but not used [-Wunused-but-set-variable] syntax_asdl::Token* right_token = nullptr; ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void parse::Parser::push(int, syntax_asdl::Token*, Tuple2*>*>*, Dict*>*, int)': _gen/bin/oils_for_unix.mycpp-souffle.cc:46603:22: warning: variable 'top' set but not used [-Wunused-but-set-variable] parse::_StackItem* top = nullptr; ^~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'runtime_asdl::word_style_t ysh_ify::_GetRhsStyle(syntax_asdl::rhs_word_t*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:46936:29: warning: unused variable 'part0' [-Wunused-variable] DoubleQuoted* part0 = static_cast(UP_part0); ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void ysh_ify::YshPrinter::DoRedirect(syntax_asdl::Redir*, Dict*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:46971:7: warning: variable 'op_id' set but not used [-Wunused-but-set-variable] int op_id; ^~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:46975:11: warning: variable 'delimiter' set but not used [-Wunused-but-set-variable] BigStr* delimiter = nullptr; ^~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void ysh_ify::YshPrinter::DoShAssignment(syntax_asdl::command::ShAssignment*, bool, Dict*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:47017:8: warning: variable 'has_rhs' set but not used [-Wunused-but-set-variable] bool has_rhs; ^~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:47019:26: warning: variable 'lhs0' set but not used [-Wunused-but-set-variable] syntax_asdl::sh_lhs_t* lhs0 = nullptr; ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'void ysh_ify::YshPrinter::DoCommand(syntax_asdl::command_t*, Dict*, bool)': _gen/bin/oils_for_unix.mycpp-souffle.cc:47459:24: warning: unused variable 'node' [-Wunused-variable] command::DParen* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:47464:26: warning: unused variable 'node' [-Wunused-variable] command::DBracket* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc:47153:28: warning: variable 'UP_iterable' set but not used [-Wunused-but-set-variable] syntax_asdl::for_iter_t* UP_iterable = nullptr; ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In member function 'syntax_asdl::expr_t* expr_to_ast::Transformer::_Trailer(syntax_asdl::expr_t*, pnode::PNode*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:49872:15: error: 'void*' is not a pointer-to-object type slices->append(this->_Subscript(p_args->GetChild(i))); ^~ _gen/bin/oils_for_unix.mycpp-souffle.cc: In function 'void func_proc::EvalTypedArgsToProc(expr_eval::ExprEvaluator*, Dict*, Dict*, state::MutableOpts*, syntax_asdl::command::Simple*, runtime_asdl::ProcArgs*)': _gen/bin/oils_for_unix.mycpp-souffle.cc:51561:40: warning: unused variable 'named_args' [-Wunused-variable] Dict* named_args = nullptr; ^~~~~~~~~~ In file included from /home/uke/oil/mycpp/runtime.h:13, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp-souffle.cc:5: /home/uke/oil/mycpp/gc_list.h: In instantiation of 'class List': /home/uke/oil/mycpp/gc_alloc.h:119:40: required from 'T* Alloc(Args&& ...) [with T = List; Args = {}]' _gen/bin/oils_for_unix.mycpp-souffle.cc:49870:34: required from here /home/uke/oil/mycpp/gc_list.h:311:5: error: invalid parameter type 'void' int List::index(T value) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:311:5: error: in declaration 'int List::index(T)' /home/uke/oil/mycpp/gc_list.h:281:6: error: invalid parameter type 'void' void List::set(int i, T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:281:6: error: in declaration 'void List::set(int, T)' /home/uke/oil/mycpp/gc_list.h:358:6: error: invalid parameter type 'void' void List::remove(T x) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:358:6: error: in declaration 'void List::remove(T)' /home/uke/oil/mycpp/gc_list.h:198:6: error: invalid parameter type 'void' void List::append(T item) { ^~~~~~~ /home/uke/oil/mycpp/gc_list.h:198:6: error: in declaration 'void List::append(T)' /home/uke/oil/mycpp/gc_list.h:99:37: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(sizeof(ObjHeader) % sizeof(T) == 0, ^~~~~~~~~ /home/uke/oil/mycpp/gc_list.h:113:31: warning: invalid application of 'sizeof' to a void type [-Wpointer-arith] static_assert(kPoolBytes2 % sizeof(T) == 0, ^~~~~~~~~ In file included from /home/uke/oil/mycpp/runtime.h:8, from /home/uke/oil/_gen/core/optview.h:5, from /home/uke/oil/cpp/preamble.h:10, from _gen/bin/oils_for_unix.mycpp-souffle.cc:5: /home/uke/oil/mycpp/gc_alloc.h: In instantiation of 'T* Alloc(Args&& ...) [with T = syntax_asdl::expr__Tuple; Args = {syntax_asdl::Token*&, void*&, syntax_asdl::expr_context_e}]': _gen/bin/oils_for_unix.mycpp-souffle.cc:49875:78: required from here /home/uke/oil/mycpp/gc_alloc.h:144:10: error: invalid conversion from 'void*' to 'List*' [-fpermissive] return new (obj) T(std::forward(args)...); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/uke/oil/cpp/preamble.h:21, from _gen/bin/oils_for_unix.mycpp-souffle.cc:5: /home/uke/oil/_gen/frontend/syntax.asdl.h:3716:43: note: initializing argument 2 of 'syntax_asdl::expr__Tuple::expr__Tuple(syntax_asdl::Token*, List*, syntax_asdl::expr_context_t)' expr__Tuple(Token* left, List* elts, expr_context_t ctx) ~~~~~~~~~~~~~~~^~~~ [36/43] cxx opt+bumpleak '' _gen/ysh/grammar_tables.cc _build/obj/cxx-opt+bumpleak/_gen/ysh/grammar_tables.o [37/43] cxx opt+bumpleak '' mycpp/gc_str.cc _build/obj/cxx-opt+bumpleak/mycpp/gc_str.o ninja: build stopped: subcommand failed.