~/work/oils/oils/_tmp/native-tar-test/oils-for-unix-0.25.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 PWD = /home/runner/work/oils/oils/_tmp/native-tar-test/oils-for-unix-0.25.0 cxx = cxx variant = opt translator = mycpp skip_rebuild = true 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 ‘virtual int process_osh::Ulimit::Run(runtime_asdl::cmd_value::Argv*)’: _gen/bin/oils_for_unix.mycpp.cc:18022:16: warning: variable ‘old_soft’ set but not used [-Wunused-but-set-variable] 18022 | mops::BigInt old_soft; | ^~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:18023:16: warning: variable ‘old_hard’ set but not used [-Wunused-but-set-variable] 18023 | mops::BigInt old_hard; | ^~~~~~~~ _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:20115:31: warning: unused variable ‘_’ [-Wunused-variable] 20115 | syntax_asdl::command_t* _ = it.Value(); | ^ _gen/bin/oils_for_unix.mycpp.cc:20120:31: warning: unused variable ‘_’ [-Wunused-variable] 20120 | 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:20206:8: warning: variable ‘found_left’ set but not used [-Wunused-but-set-variable] 20206 | bool found_left; | ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:20207:8: warning: variable ‘found_right’ set but not used [-Wunused-but-set-variable] 20207 | 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:20333:8: warning: variable ‘found_left’ set but not used [-Wunused-but-set-variable] 20333 | bool found_left; | ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:20334:8: warning: variable ‘found_right’ set but not used [-Wunused-but-set-variable] 20334 | bool found_right; | ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void process::JobList::DebugPrint()’: _gen/bin/oils_for_unix.mycpp.cc:26145:9: warning: unused variable ‘pid’ [-Wunused-variable] 26145 | 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:26168:9: warning: unused variable ‘_’ [-Wunused-variable] 26168 | 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:26878:8: warning: variable ‘success’ set but not used [-Wunused-but-set-variable] 26878 | bool success; | ^~~~~~~ _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:28222:8: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] 28222 | 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:29267:8: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 29267 | bool found; | ^~~~~ _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:33239:31: warning: unused variable ‘part’ [-Wunused-variable] 33239 | 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:33337:31: warning: unused variable ‘part’ [-Wunused-variable] 33337 | 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:36343:32: warning: unused variable ‘node’ [-Wunused-variable] 36343 | command::ShAssignment* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc:36348:28: warning: unused variable ‘node’ [-Wunused-variable] 36348 | command::Subshell* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc:36353:28: warning: unused variable ‘node’ [-Wunused-variable] 36353 | 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:36857:24: warning: unused variable ‘cmd_val’ [-Wunused-variable] 36857 | 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:38237:8: warning: variable ‘is_fatal’ set but not used [-Wunused-but-set-variable] 38237 | 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:39112:8: warning: variable ‘quoted’ set but not used [-Wunused-but-set-variable] 39112 | bool quoted; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘int string_ops::DecodeUtf8Char(BigStr*, int)’: _gen/bin/oils_for_unix.mycpp.cc:43745:7: warning: variable ‘_bytes_read’ set but not used [-Wunused-but-set-variable] 43745 | 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:44048:7: warning: variable ‘start’ set but not used [-Wunused-but-set-variable] 44048 | int start; | ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘value_asdl::value_t* word_eval::DecayArray(value_asdl::value_t*)’: _gen/bin/oils_for_unix.mycpp.cc:45407:30: warning: variable ‘error_code’ set but not used [-Wunused-but-set-variable] 45407 | runtime_asdl::error_code_t error_code; | ^~~~~~~~~~ _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:50636:29: warning: unused variable ‘part0’ [-Wunused-variable] 50636 | 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:50674:7: warning: variable ‘op_id’ set but not used [-Wunused-but-set-variable] 50674 | 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:50728:8: warning: variable ‘has_rhs’ set but not used [-Wunused-but-set-variable] 50728 | 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:51223:24: warning: unused variable ‘node’ [-Wunused-variable] 51223 | command::DParen* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc:51228:26: warning: unused variable ‘node’ [-Wunused-variable] 51228 | command::DBracket* node = static_cast(UP_node); | ^~~~ 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_iolib.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 _build/obj/cxx-opt-sh/_gen/bin/oils_for_unix.o { elapsed: 38.17, max_RSS: 862940 } LINK _bin/cxx-opt-sh/oils-for-unix osh -> oils-for-unix ysh -> oils-for-unix real 0m38.591s user 0m59.966s sys 0m3.070s -rwxr-xr-x 1 runner docker 2461912 Jan 2 18:37 _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"' (C (w ) (w (DQ ($ name)))) + 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