~/work/oils/oils/_tmp/native-tar-test/oils-for-unix-0.23.0 ~/work/oils/oils/_tmp/native-tar-test ./configure: Wrote _build/detected-cpp-config.h ./configure: Wrote _build/detected-config.sh ./configure: Wrote _build/detected-config.h _build/oils.sh: Building oils-for-unix: _bin/cxx-opt-sh/oils-for-unix _build/oils.sh: PWD = /home/runner/work/oils/oils/_tmp/native-tar-test/oils-for-unix-0.23.0 CXX _gen/bin/oils_for_unix.mycpp.cc CXX _gen/bin/text_files.cc CXX _gen/core/runtime.asdl.cc _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void format::_PrettyPrinter::PrintNode(hnode_asdl::hnode_t*, format::ColorOutput*, int)’: _gen/bin/oils_for_unix.mycpp.cc:12477:24: warning: unused variable ‘node’ [-Wunused-variable] 12477 | hnode::External* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘bool format::_TrySingleLine(hnode_asdl::hnode_t*, format::ColorOutput*, int)’: _gen/bin/oils_for_unix.mycpp.cc:12565:24: warning: unused variable ‘node’ [-Wunused-variable] 12565 | hnode::External* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual int dirs_osh::Cd::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:13660:7: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 13660 | int unused; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual int error_ysh::Try::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:14022:7: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 14022 | int unused; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘Dict* func_hay::EvalHay::_Call(syntax_asdl::command_t*)’: _gen/bin/oils_for_unix.mycpp.cc:14528:7: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 14528 | int unused; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual value_asdl::value_t* func_reflect::GetFrame::Call(typed_args::Reader*)’: _gen/bin/oils_for_unix.mycpp.cc:15392:16: warning: variable ‘index’ set but not used [-Wunused-but-set-variable] 15392 | mops::BigInt index; | ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual int hay_ysh::Hay::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:15733:7: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 15733 | int unused; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual int io_ysh::RunBlock::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:16404:7: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 16404 | int unused; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual value_asdl::value_t* method_io::Eval::Call(typed_args::Reader*)’: _gen/bin/oils_for_unix.mycpp.cc:17634:7: warning: variable ‘unused_status’ set but not used [-Wunused-but-set-variable] 17634 | int unused_status; | ^~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual int misc_osh::Help::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:18598:8: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 18598 | bool found; | ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual int process_osh::Ulimit::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:19798:16: warning: variable ‘old_soft’ set but not used [-Wunused-but-set-variable] 19798 | mops::BigInt old_soft; | ^~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:19799:16: warning: variable ‘old_hard’ set but not used [-Wunused-but-set-variable] 19799 | mops::BigInt old_hard; | ^~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual int pure_osh::Shopt::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:20182:7: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 20182 | int unused; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual int pure_ysh::Shvar::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:20548:7: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 20548 | int unused; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual int pure_ysh::PushRegisters::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:20731:7: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 20731 | int unused; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘BigStr* read_osh::ReadAll()’: _gen/bin/oils_for_unix.mycpp.cc:20992:7: warning: unused variable ‘orig_local_modes’ [-Wunused-variable] 20992 | int orig_local_modes; | ^~~~~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘virtual int trap_osh::Trap::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:21624:31: warning: unused variable ‘_’ [-Wunused-variable] 21624 | syntax_asdl::command_t* _ = it.Value(); | ^ _gen/bin/oils_for_unix.mycpp.cc:21629:31: warning: unused variable ‘_’ [-Wunused-variable] 21629 | syntax_asdl::command_t* _ = it.Value(); | ^ _gen/bin/oils_for_unix.mycpp.cc: In function ‘BigStr* alloc::SnipCodeBlock(syntax_asdl::Token*, syntax_asdl::Token*, List*)’: _gen/bin/oils_for_unix.mycpp.cc:21713:8: warning: variable ‘found_left’ set but not used [-Wunused-but-set-variable] 21713 | bool found_left; | ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:21714:8: warning: variable ‘found_right’ set but not used [-Wunused-but-set-variable] 21714 | bool found_right; | ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘BigStr* alloc::Arena::SnipCodeString(syntax_asdl::Token*, syntax_asdl::Token*)’: _gen/bin/oils_for_unix.mycpp.cc:21840:8: warning: variable ‘found_left’ set but not used [-Wunused-but-set-variable] 21840 | bool found_left; | ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:21841:8: warning: variable ‘found_right’ set but not used [-Wunused-but-set-variable] 21841 | bool found_right; | ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘BigStr* main_loop::Headless::EVAL(BigStr*)’: _gen/bin/oils_for_unix.mycpp.cc:25286:7: warning: variable ‘unused_status’ set but not used [-Wunused-but-set-variable] 25286 | int unused_status; | ^~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void process::FdState::Pop(List*)’: _gen/bin/oils_for_unix.mycpp.cc:26027:7: warning: variable ‘unused_status’ set but not used [-Wunused-but-set-variable] 26027 | int unused_status; | ^~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void process::JobList::DebugPrint()’: _gen/bin/oils_for_unix.mycpp.cc:26976:9: warning: unused variable ‘pid’ [-Wunused-variable] 26976 | int pid = it.Key(); | ^~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘int process::JobList::NumRunning()’: _gen/bin/oils_for_unix.mycpp.cc:26999:9: warning: unused variable ‘_’ [-Wunused-variable] 26999 | int _ = it.Key(); | ^ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void state::MutableOpts::_SetOldOption(BigStr*, bool)’: _gen/bin/oils_for_unix.mycpp.cc:27628:8: warning: variable ‘success’ set but not used [-Wunused-but-set-variable] 27628 | bool success; | ^~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void state::MutableOpts::SetOldOption(BigStr*, bool)’: _gen/bin/oils_for_unix.mycpp.cc:27645:7: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 27645 | int unused; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘value_asdl::value_t* state::Mem::GetValue(BigStr*, runtime_asdl::scope_t)’: _gen/bin/oils_for_unix.mycpp.cc:29075:8: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] 29075 | bool ok; | ^~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘void util::HelpFlag(pyutil::_ResourceLoader*, BigStr*, mylib::Writer*)’: _gen/bin/oils_for_unix.mycpp.cc:30094:8: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 30094 | bool found; | ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void j8::InstancePrinter::_PrintSparseArray(value_asdl::value::SparseArray*, int)’: _gen/bin/oils_for_unix.mycpp.cc:30412:8: warning: variable ‘first’ set but not used [-Wunused-but-set-variable] 30412 | bool first; | ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘syntax_asdl::Token* location::LeftTokenForWordPart(syntax_asdl::word_part_t*)’: _gen/bin/oils_for_unix.mycpp.cc:33847:31: warning: unused variable ‘part’ [-Wunused-variable] 33847 | word_part::BracedTuple* part = static_cast(UP_part); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘syntax_asdl::Token* location::_RightTokenForWordPart(syntax_asdl::word_part_t*)’: _gen/bin/oils_for_unix.mycpp.cc:33945:31: warning: unused variable ‘part’ [-Wunused-variable] 33945 | word_part::BracedTuple* part = static_cast(UP_part); | ^~~~ _gen/bin/oils_for_unix.mycpp.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.cc:36738:32: warning: unused variable ‘node’ [-Wunused-variable] 36738 | command::ShAssignment* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc:36743:28: warning: unused variable ‘node’ [-Wunused-variable] 36743 | command::Subshell* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc:36748:28: warning: unused variable ‘node’ [-Wunused-variable] 36748 | command::Pipeline* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘int cmd_eval::CommandEvaluator::_DoSimple(syntax_asdl::command::Simple*, runtime_asdl::CommandStatus*)’: _gen/bin/oils_for_unix.mycpp.cc:37238:24: warning: unused variable ‘cmd_val’ [-Wunused-variable] 37238 | cmd_value::Assign* cmd_val = static_cast(UP_cmd_val); | ^~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void cmd_eval::CommandEvaluator::RunTrapsOnExit(syntax_asdl::IntParamBox*)’: _gen/bin/oils_for_unix.mycpp.cc:38600:8: warning: variable ‘is_fatal’ set but not used [-Wunused-but-set-variable] 38600 | bool is_fatal; | ^~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘Tuple4*, List*, syntax_asdl::ArgList*, value_asdl::LiteralBlock*> cmd_parse::CommandParser::_ScanSimpleCommand()’: _gen/bin/oils_for_unix.mycpp.cc:39476:8: warning: variable ‘quoted’ set but not used [-Wunused-but-set-variable] 39476 | bool quoted; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘int string_ops::DecodeUtf8Char(BigStr*, int)’: _gen/bin/oils_for_unix.mycpp.cc:44041:7: warning: variable ‘_bytes_read’ set but not used [-Wunused-but-set-variable] 44041 | int _bytes_read; | ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘List*>* string_ops::_AllMatchPositions(BigStr*, BigStr*)’: _gen/bin/oils_for_unix.mycpp.cc:44344:7: warning: variable ‘start’ set but not used [-Wunused-but-set-variable] 44344 | int start; | ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘void word_compile::RemoveLeadingSpaceDQ(List*)’: _gen/bin/oils_for_unix.mycpp.cc:45550:8: warning: variable ‘line_ended’ set but not used [-Wunused-but-set-variable] 45550 | bool line_ended; | ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘runtime_asdl::word_style_t ysh_ify::_GetRhsStyle(syntax_asdl::rhs_word_t*)’: _gen/bin/oils_for_unix.mycpp.cc:50819:29: warning: unused variable ‘part0’ [-Wunused-variable] 50819 | DoubleQuoted* part0 = static_cast(UP_part0); | ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void ysh_ify::YshPrinter::DoRedirect(syntax_asdl::Redir*, Dict*)’: _gen/bin/oils_for_unix.mycpp.cc:50857:7: warning: variable ‘op_id’ set but not used [-Wunused-but-set-variable] 50857 | int op_id; | ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void ysh_ify::YshPrinter::DoShAssignment(syntax_asdl::command::ShAssignment*, bool, Dict*)’: _gen/bin/oils_for_unix.mycpp.cc:50911:8: warning: variable ‘has_rhs’ set but not used [-Wunused-but-set-variable] 50911 | bool has_rhs; | ^~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void ysh_ify::YshPrinter::DoCommand(syntax_asdl::command_t*, Dict*, bool)’: _gen/bin/oils_for_unix.mycpp.cc:51406:24: warning: unused variable ‘node’ [-Wunused-variable] 51406 | command::DParen* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc:51411:26: warning: unused variable ‘node’ [-Wunused-variable] 51411 | command::DBracket* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘syntax_asdl::command::Mutation* expr_to_ast::Transformer::MakeMutation(pnode::PNode*)’: _gen/bin/oils_for_unix.mycpp.cc:54740:7: warning: variable ‘typ’ set but not used [-Wunused-but-set-variable] 54740 | int typ; | ^~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘syntax_asdl::proc_sig_t* expr_to_ast::Transformer::Proc(pnode::PNode*)’: _gen/bin/oils_for_unix.mycpp.cc:55127:7: warning: variable ‘typ’ set but not used [-Wunused-but-set-variable] 55127 | int typ; | ^~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘void shell::SourceStartupFile(process::FdState*, BigStr*, BigStr*, parse_lib::ParseContext*, cmd_eval::CommandEvaluator*, ui::ErrorFormatter*)’: _gen/bin/oils_for_unix.mycpp.cc:58130:7: warning: variable ‘unused’ set but not used [-Wunused-but-set-variable] 58130 | int unused; | ^~~~~~ CXX _gen/core/value.asdl.cc CXX _gen/cpp/build_stamp.cc CXX _gen/data_lang/nil8.asdl.cc CXX _gen/display/pretty.asdl.cc CXX _gen/frontend/arg_types.cc CXX _gen/frontend/consts.cc CXX _gen/frontend/help_meta.cc CXX _gen/frontend/id_kind.asdl.cc CXX _gen/frontend/signal.cc CXX _gen/frontend/syntax.asdl.cc CXX _gen/osh/arith_parse.cc CXX _gen/ysh/grammar_tables.cc CXX cpp/core.cc CXX cpp/data_lang.cc CXX cpp/fanos.cc CXX cpp/fanos_shared.c CXX cpp/frontend_flag_spec.cc CXX cpp/frontend_match.cc CXX cpp/frontend_pyreadline.cc CXX cpp/libc.cc CXX cpp/osh.cc CXX cpp/osh_tdop.cc CXX cpp/pgen2.cc CXX cpp/pylib.cc CXX cpp/stdlib.cc CXX mycpp/bump_leak_heap.cc CXX mycpp/gc_builtins.cc CXX mycpp/gc_mops.cc CXX mycpp/gc_mylib.cc CXX mycpp/gc_str.cc CXX mycpp/hash.cc CXX mycpp/mark_sweep_heap.cc WAIT LINK _bin/cxx-opt-sh/oils-for-unix osh -> oils-for-unix ysh -> oils-for-unix real 0m37.847s user 0m58.212s sys 0m2.843s -rwxr-xr-x 1 runner docker 2456568 Oct 22 04:47 _bin/cxx-opt-sh/oils-for-unix.stripped You can now run _bin/cxx-opt-sh/oils-for-unix.stripped. Example: + _bin/cxx-opt-sh/oils-for-unix.stripped osh -n -c 'echo "hello $name"' (command.Simple blame_tok: (Token id: Id.Lit_Chars length: 4 col: 0 line: (SourceLine line_num:1 content:"echo \"hello $name\"" src:(source.CFlag)) ) more_env: [] words: [ (CompoundWord parts:[...0x10f6]) (CompoundWord parts: [ (DoubleQuoted left: (Token id:Id.Left_DoubleQuote length:1 col:5 line:...0x10fe) parts: [ (Token id:Id.Lit_Chars length:6 col:6 line:...0x10fe) (SimpleVarSub tok: (Token id:Id.VSub_DollarName length:5 col:12 line:...0x10fe) ) ] right: (Token id:Id.Right_DoubleQuote length:1 col:17 line:...0x10fe) ) ] ) ] is_last_cmd: F ) + install -d /usr/local/bin + install _bin/cxx-opt-sh/oils-for-unix.stripped /usr/local/bin/oils-for-unix Installed /usr/local/bin/oils-for-unix Created 'osh' symlink Created 'ysh' symlink + install -d /usr/local/share/man/man1 + install -m 644 doc/osh.1 /usr/local/share/man/man1 Installed man page ~/work/oils/oils/_tmp/native-tar-test