>>> duckscript: Building community/duckscript 0.11.1-r0 (using abuild 3.14.1-r3) started Sat, 16 Nov 2024 16:13:02 +0000
>>> duckscript: Validating /home/buildozer/aports/community/duckscript/APKBUILD...
>>> duckscript: Analyzing dependencies...
>>> duckscript: Installing for build: build-base bzip2-dev cargo cargo-auditable openssl-dev zlib-dev
(1/13) Installing libbz2 (1.0.8-r6)
(2/13) Installing bzip2-dev (1.0.8-r6)
(3/13) Installing libffi (3.4.6-r0)
(4/13) Installing xz-libs (5.6.3-r0)
(5/13) Installing libxml2 (2.13.4-r3)
(6/13) Installing llvm19-libs (19.1.2-r0)
(7/13) Installing scudo-malloc (19.1.2-r0)
(8/13) Installing rust (1.82.0-r1)
(9/13) Installing cargo (1.82.0-r1)
(10/13) Installing cargo-auditable (0.6.5-r0)
(11/13) Installing openssl-dev (3.3.2-r3)
(12/13) Installing zlib-dev (1.3.1-r2)
(13/13) Installing .makedepends-duckscript (20241116.161306)
Executing busybox-1.37.0-r7.trigger
OK: 677 MiB in 113 packages
>>> duckscript: Cleaning up srcdir
>>> duckscript: Cleaning up pkgdir
>>> duckscript: Cleaning up tmpdir
>>> duckscript: Fetching https://distfiles.alpinelinux.org/distfiles/edge/duckscript-0.11.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
>>> duckscript: Fetching https://github.com/sagiegurari/duckscript/archive/0.11.1/duckscript-0.11.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 223k 100 223k 0 0 388k 0 --:--:-- --:--:-- --:--:-- 388k
>>> duckscript: Fetching https://distfiles.alpinelinux.org/distfiles/edge/duckscript-0.11.1.tar.gz
>>> duckscript: Checking sha512sums...
duckscript-0.11.1.tar.gz: OK
use-zlib.patch: OK
>>> duckscript: Unpacking /var/cache/distfiles/edge/duckscript-0.11.1.tar.gz...
>>> duckscript: use-zlib.patch
patching file duckscript_sdk/Cargo.toml
patching file Cargo.lock
Updating crates.io index
Downloading crates ...
Downloaded uname v0.1.1
Downloaded java-properties v2.0.0
Downloaded evalexpr v11.3.1
Downloaded attohttpc v0.28.0
Downloaded openssl v0.10.67
Downloaded suppaftp v6.0.3
Compiling proc-macro2 v1.0.87
Compiling unicode-ident v1.0.13
Compiling shlex v1.3.0
Compiling pkg-config v0.3.31
Compiling libc v0.2.159
Compiling cfg-if v1.0.0
Compiling vcpkg v0.2.15
Compiling memchr v2.7.4
Compiling regex-syntax v0.8.5
Compiling version_check v0.9.5
Compiling typenum v1.17.0
Compiling byteorder v1.5.0
Compiling once_cell v1.20.2
Compiling bitflags v2.6.0
Compiling crossbeam-utils v0.8.20
Compiling autocfg v1.4.0
Compiling tinyvec_macros v0.1.1
Compiling log v0.4.22
Compiling openssl v0.10.67
Compiling foreign-types-shared v0.1.1
Compiling thiserror v1.0.64
Compiling native-tls v0.2.12
Compiling itoa v1.0.11
Compiling unicode-bidi v0.3.17
Compiling rustix v0.38.37
Compiling powerfmt v0.2.0
Compiling percent-encoding v2.3.1
Compiling serde v1.0.210
Compiling openssl-probe v0.1.5
Compiling fnv v1.0.7
Compiling parking v2.2.1
Compiling linux-raw-sys v0.4.14
Compiling bytes v1.7.2
Compiling fastrand v2.1.1
Compiling same-file v1.0.6
Compiling time-core v0.1.2
Compiling semver v1.0.23
Compiling futures-io v0.3.31
Compiling equivalent v1.0.1
Compiling hashbrown v0.15.0
Compiling iana-time-zone v0.1.61
Compiling lazy_static v1.5.0
Compiling num-conv v0.1.0
Compiling zip v2.2.0
Compiling serde_json v1.0.128
Compiling pin-project-lite v0.2.14
Compiling futures-core v0.3.31
Compiling ryu v1.0.18
Compiling home v0.5.9
Compiling either v1.13.0
Compiling heck v0.5.0
Compiling glob v0.3.1
Compiling whoami v1.5.2
Compiling base64 v0.22.1
Compiling fs_extra v1.3.0
Compiling evalexpr v11.3.1
Compiling tinyvec v1.8.0
Compiling foreign-types v0.3.2
Compiling crc32fast v1.4.2
Compiling encoding_rs v0.8.34
Compiling colored v2.1.0
Compiling walkdir v2.5.0
Compiling form_urlencoded v1.2.1
Compiling cc v1.1.30
Compiling deranged v0.3.11
Compiling futures-lite v2.3.0
Compiling generic-array v0.14.7
Compiling num-traits v0.2.19
Compiling aho-corasick v1.1.3
Compiling bstr v1.10.0
Compiling http v1.1.0
Compiling crossbeam-epoch v0.9.18
Compiling quote v1.0.37
Compiling indexmap v2.6.0
Compiling crossbeam-deque v0.8.5
Compiling syn v2.0.79
Compiling unicode-normalization v0.1.24
Compiling getrandom v0.2.15
Compiling num_cpus v1.16.0
Compiling uname v0.1.1
Compiling rand_core v0.6.4
Compiling time v0.3.36
Compiling openssl-sys v0.9.104
Compiling libz-sys v1.1.20
Compiling bzip2-sys v0.1.11+1.0.8
Compiling chrono v0.4.38
Compiling bzip2 v0.4.4
Compiling flate2 v1.0.34
Compiling idna v0.5.0
Compiling block-buffer v0.10.4
Compiling crypto-common v0.1.6
Compiling digest v0.10.7
Compiling regex-automata v0.4.8
Compiling sha2 v0.10.8
Compiling url v2.5.2
Compiling which v6.0.3
Compiling zerocopy-derive v0.7.35
Compiling openssl-macros v0.1.1
Compiling thiserror-impl v1.0.64
Compiling displaydoc v0.2.5
Compiling regex v1.11.0
Compiling globset v0.4.15
Compiling zerocopy v0.7.35
Compiling ignore v0.4.23
Compiling java-properties v2.0.0
Compiling lazy-regex-proc_macros v3.3.0
Compiling ppv-lite86 v0.2.20
Compiling rand_chacha v0.3.1
Compiling lazy-regex v3.3.0
Compiling suppaftp v6.0.3
Compiling rand v0.8.5
Compiling fsio v0.4.0
Compiling duckscript v0.10.0 (/home/buildozer/aports/community/duckscript/src/duckscript-0.11.1/duckscript)
Compiling attohttpc v0.28.0
Compiling duckscriptsdk v0.11.1 (/home/buildozer/aports/community/duckscript/src/duckscript-0.11.1/duckscript_sdk)
Compiling duckscript_cli v0.11.1 (/home/buildozer/aports/community/duckscript/src/duckscript-0.11.1/duckscript_cli)
Finished `release` profile [optimized] target(s) in 5m 38s
Compiling proc-macro2 v1.0.87
Compiling unicode-ident v1.0.13
Compiling libc v0.2.159
Compiling shlex v1.3.0
Compiling pkg-config v0.3.31
Compiling cfg-if v1.0.0
Compiling vcpkg v0.2.15
Compiling memchr v2.7.4
Compiling regex-syntax v0.8.5
Compiling byteorder v1.5.0
Compiling version_check v0.9.5
Compiling typenum v1.17.0
Compiling bitflags v2.6.0
Compiling log v0.4.22
Compiling once_cell v1.20.2
Compiling tinyvec_macros v0.1.1
Compiling autocfg v1.4.0
Compiling crossbeam-utils v0.8.20
Compiling thiserror v1.0.64
Compiling foreign-types-shared v0.1.1
Compiling openssl v0.10.67
Compiling unicode-bidi v0.3.17
Compiling rustix v0.38.37
Compiling percent-encoding v2.3.1
Compiling itoa v1.0.11
Compiling serde v1.0.210
Compiling powerfmt v0.2.0
Compiling native-tls v0.2.12
Compiling lazy_static v1.5.0
Compiling openssl-probe v0.1.5
Compiling zip v2.2.0
Compiling linux-raw-sys v0.4.14
Compiling time-core v0.1.2
Compiling bytes v1.7.2
Compiling iana-time-zone v0.1.61
Compiling semver v1.0.23
Compiling equivalent v1.0.1
Compiling same-file v1.0.6
Compiling fnv v1.0.7
Compiling futures-core v0.3.31
Compiling hashbrown v0.15.0
Compiling num-conv v0.1.0
Compiling futures-io v0.3.31
Compiling parking v2.2.1
Compiling serde_json v1.0.128
Compiling fastrand v2.1.1
Compiling pin-project-lite v0.2.14
Compiling ryu v1.0.18
Compiling either v1.13.0
Compiling home v0.5.9
Compiling glob v0.3.1
Compiling evalexpr v11.3.1
Compiling base64 v0.22.1
Compiling whoami v1.5.2
Compiling heck v0.5.0
Compiling fs_extra v1.3.0
Compiling crc32fast v1.4.2
Compiling encoding_rs v0.8.34
Compiling tinyvec v1.8.0
Compiling foreign-types v0.3.2
Compiling colored v2.1.0
Compiling cc v1.1.30
Compiling form_urlencoded v1.2.1
Compiling walkdir v2.5.0
Compiling deranged v0.3.11
Compiling futures-lite v2.3.0
Compiling generic-array v0.14.7
Compiling num-traits v0.2.19
Compiling aho-corasick v1.1.3
Compiling bstr v1.10.0
Compiling http v1.1.0
Compiling quote v1.0.37
Compiling crossbeam-epoch v0.9.18
Compiling indexmap v2.6.0
Compiling syn v2.0.79
Compiling crossbeam-deque v0.8.5
Compiling getrandom v0.2.15
Compiling num_cpus v1.16.0
Compiling uname v0.1.1
Compiling unicode-normalization v0.1.24
Compiling rand_core v0.6.4
Compiling openssl-sys v0.9.104
Compiling libz-sys v1.1.20
Compiling bzip2-sys v0.1.11+1.0.8
Compiling time v0.3.36
Compiling bzip2 v0.4.4
Compiling flate2 v1.0.34
Compiling chrono v0.4.38
Compiling idna v0.5.0
Compiling block-buffer v0.10.4
Compiling crypto-common v0.1.6
Compiling digest v0.10.7
Compiling url v2.5.2
Compiling regex-automata v0.4.8
Compiling sha2 v0.10.8
Compiling which v6.0.3
Compiling zerocopy-derive v0.7.35
Compiling thiserror-impl v1.0.64
Compiling openssl-macros v0.1.1
Compiling displaydoc v0.2.5
Compiling regex v1.11.0
Compiling globset v0.4.15
Compiling ignore v0.4.23
Compiling zerocopy v0.7.35
Compiling java-properties v2.0.0
Compiling lazy-regex-proc_macros v3.3.0
Compiling ppv-lite86 v0.2.20
Compiling rand_chacha v0.3.1
Compiling lazy-regex v3.3.0
Compiling rand v0.8.5
Compiling suppaftp v6.0.3
Compiling fsio v0.4.0
Compiling duckscript v0.10.0 (/home/buildozer/aports/community/duckscript/src/duckscript-0.11.1/duckscript)
Compiling attohttpc v0.28.0
Compiling duckscriptsdk v0.11.1 (/home/buildozer/aports/community/duckscript/src/duckscript-0.11.1/duckscript_sdk)
Compiling duckscript_cli v0.11.1 (/home/buildozer/aports/community/duckscript/src/duckscript-0.11.1/duckscript_cli)
Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 24s
Running unittests src/lib.rs (target/debug/deps/duckscript-2e729060e3db593a)
running 183 tests
test expansion::expansion_test::expand_by_wrapper_control_chars ... ok
test expansion::expansion_test::expand_by_wrapper_dollar_sign ... ok
test expansion::expansion_test::expand_by_wrapper_control_chars_multi ... ok
test expansion::expansion_test::expand_by_wrapper_dollar_sign_with_escape ... ok
test expansion::expansion_test::expand_by_wrapper_found ... ok
test expansion::expansion_test::expand_by_wrapper_found_fully ... ok
test expansion::expansion_test::expand_by_wrapper_multi_with_escape ... ok
test expansion::expansion_test::expand_by_wrapper_no_suffix ... ok
test expansion::expansion_test::expand_by_wrapper_no_suffix_single ... ok
test expansion::expansion_test::expand_by_wrapper_only_control_chars ... ok
test expansion::expansion_test::expand_by_wrapper_only_control_chars2 ... ok
test expansion::expansion_test::expand_by_wrapper_partial_found ... ok
test expansion::expansion_test::expand_by_wrapper_percentage_sign ... ok
test expansion::expansion_test::expand_by_wrapper_percentage_sign_with_escape ... ok
test expansion::expansion_test::expand_by_wrapper_split_complex_multi ... ok
test expansion::expansion_test::expand_by_wrapper_split_multi ... ok
test expansion::expansion_test::expand_by_wrapper_with_escape ... ok
test lib_test::version_test ... ok
test parser::parser_test::find_label_empty ... ok
test parser::parser_test::find_label_label_between_spaces ... ok
test parser::parser_test::find_label_label_with_comment_afterwards ... ok
test parser::parser_test::find_label_label_with_control_error ... ok
test parser::parser_test::find_label_label_with_quote_error ... ok
test parser::parser_test::find_label_none_label_between_spaces ... ok
test parser::parser_test::find_label_only_spaces ... ok
test parser::parser_test::find_label_post_value_index ... ok
test parser::parser_test::find_output_and_command_empty ... ok
test parser::parser_test::find_output_and_command_only_spaces ... ok
test parser::parser_test::find_output_and_command_output_command_only ... ok
test parser::parser_test::find_output_and_command_output_command_with_spaces ... ok
test parser::parser_test::find_output_and_command_post_value_index ... ok
test parser::parser_test::find_output_and_command_post_value_index_with_equals ... ok
test parser::parser_test::find_output_and_command_single_value_between_spaces ... ok
test parser::parser_test::find_output_and_command_single_value_only ... ok
test parser::parser_test::find_output_and_command_single_value_with_comment_afterwards ... ok
test parser::parser_test::find_output_and_command_single_value_with_control_error ... ok
test parser::parser_test::find_output_and_command_single_value_with_equals2_between_spaces ... ok
test parser::parser_test::find_output_and_command_single_value_with_equals_between_spaces ... ok
test parser::parser_test::find_output_and_command_single_value_with_equals_only ... ok
test parser::parser_test::find_output_and_command_single_value_with_equals_with_comment_afterwards ... ok
test parser::parser_test::find_output_and_command_single_value_with_equals_with_control_error ... ok
test parser::parser_test::find_output_and_command_single_value_with_equals_with_quote_error ... ok
test parser::parser_test::find_output_and_command_single_value_with_quote_error ... ok
test parser::parser_test::parse_arguments_empty ... ok
test parser::parser_test::parse_arguments_multiple_values ... ok
test parser::parser_test::parse_arguments_only_spaces ... ok
test parser::parser_test::parse_arguments_only_value ... ok
test parser::parser_test::parse_arguments_value_in_middle_of_spaces ... ok
test parser::parser_test::parse_arguments_value_with_equals ... ok
test parser::parser_test::parse_command_line_all_complex ... ok
test parser::parser_test::parse_command_line_all_no_spaces ... ok
test
test parser::parser_test::parse_command_line_all_spaces ... ok
test parser::parser_test::parse_command_line_all_with_spaces ... ok
test parser::parser_test::parse_command_line_comment ... ok
test parser::parser_test::parse_command_line_empty ... ok
test parser::parser_test::parse_command_line_only_command ... ok
test parser::parser_test::parse_command_line_only_label ... ok
test parser::parser_test::parse_command_line_only_output_variable ... ok
test parser::parser_test::parse_file_not_found ... ok
test parser::parser_test::parse_file_simple ... ok
test parser::parser_test::parse_next_argument_empty ... ok
test parser::parser_test::parse_lines_all ... ok
test parser::parser_test::parse_file_single_extend ... ok
test parser::parser_test::parse_next_argument_empty_with_quots ... ok
test parser::parser_test::parse_next_argument_spaces_only ... ok
test parser::parser_test::parse_next_argument_value_after_spaces ... ok
test parser::parser_test::parse_next_argument_value_in_middle_of_spaces ... ok
test parser::parser_test::parse_next_argument_value_in_middle_of_spaces_start_in_middle_of_value ... ok
test parser::parser_test::parse_next_argument_value_only ... ok
test parser::parser_test::parse_next_argument_value_with_comment_afterwards ... ok
test parser::parser_test::parse_next_argument_value_with_comment_afterwards_wrapped_with_quotes ... ok
test parser::parser_test::parse_next_argument_value_with_comment_in_middle ... ok
test parser::parser_test::parse_next_argument_value_with_control ... ok
test parser::parser_test::parse_next_argument_value_with_control_end_error ... ok
test parser::parser_test::parse_next_argument_value_with_control_error ... ok
test parser::parser_test::parse_next_argument_value_with_partial_variable_control_error ... ok
test parser::parser_test::parse_next_argument_value_with_quote_end_error ... ok
test parser::parser_test::parse_next_argument_value_with_quots ... ok
test parser::parser_test::parse_next_argument_value_with_space_in_middle ... ok
test parser::parser_test::parse_next_argument_value_with_variable_control ... ok
test parser::parser_test::parse_pre_process_line_all_spaces ... ok
test parser::parser_test::parse_pre_process_line_empty ... ok
test parser::parser_test::parse_pre_process_line_just_command ... ok
test parser::parser_test::parse_pre_process_line_just_command_with_arguments ... ok
test parser::parser_test::parse_pre_process_line_just_command_with_spaces ... ok
test preprocessor::mod_test::run_no_command ... ok
test preprocessor::mod_test::run_not_preprocessor_instruction ... ok
test preprocessor::mod_test::run_not_supported_command ... ok
test preprocessor::mod_test::run_print_multi_arguments ... ok
test preprocessor::mod_test::run_print_no_arguments ... ok
test runner::runner_test::bind_command_arguments_mixed ... ok
test runner::runner_test::create_runtime_with_labels ... ok
test
test runner::runner_test::run_all_types_instructions ... ok
test
test
test runner::runner_test::run_empty_instructions ... ok
test runner::runner_test::run_instruction_control_characters ... ok
test runner::runner_test::run_instruction_empty_instruction ... ok
test runner::runner_test::run_instruction_pre_processor_instruction ... ok
test runner::runner_test::run_instruction_script_instruction_continue_result_no_output ... ok
test runner::runner_test::run_instruction_script_instruction_continue_result_with_output ... ok
test runner::runner_test::run_instruction_script_instruction_error_result ... ok
test runner::runner_test::run_instruction_script_instruction_exit_result_no_output ... ok
test runner::runner_test::run_instruction_script_instruction_exit_result_with_output ... ok
test runner::runner_test::run_instruction_script_instruction_goto_label_result_no_output ... ok
test runner::runner_test::run_instruction_script_instruction_goto_label_result_with_output ... ok
test runner::runner_test::run_instruction_script_instruction_goto_line_result_no_output ... ok
test runner::runner_test::run_instruction_script_instruction_goto_line_result_with_output ... ok
test runner::runner_test::run_instruction_script_instruction_no_command ... ok
test runner::runner_test::run_instruction_script_instruction_unknown_command ... ok
test runner::runner_test::run_instructions_continue_result_no_output ... ok
test runner::runner_test::run_instructions_continue_result_with_output ... ok
test runner::runner_test::run_instructions_crash_result ... ok
test runner::runner_test::run_instructions_crash_result_repl_mode ... ok
test runner::runner_test::run_instructions_error_result ... ok
test runner::runner_test::run_instructions_error_result_with_on_error ... ok
test runner::runner_test::run_instructions_exit_result_no_output ... ok
test runner::runner_test::run_instructions_exit_result_with_0_output ... ok
test runner::runner_test::run_instructions_exit_result_with_error_code_output ... ok
test runner::runner_test::run_instructions_exit_result_with_string_output ... ok
test runner::runner_test::run_instructions_goto_label_result_no_output ... ok
test runner::runner_test::run_instructions_goto_label_result_with_output ... ok
test runner::runner_test::run_instructions_goto_line_result_no_output ... ok
test runner::runner_test::run_instructions_goto_line_result_with_output ... ok
test runner::runner_test::run_instructions_start_after_bad_command ... ok
test runner::runner_test::run_instructions_start_bigger_then_script ... ok
test runner::runner_test::run_instructions_unknown_command ... ok
test runner::runner_test::run_no_command_script_instructions ... ok
test runner::runner_test::run_no_instructions ... ok
test runner::runner_test::run_on_error_instruction_continue_response ... ok
test runner::runner_test::run_on_error_instruction_crash_response ... ok
test runner::runner_test::run_on_error_instruction_error_response ... ok
test runner::runner_test::run_on_error_instruction_exit_response ... ok
test runner::runner_test::run_on_error_instruction_no_command ... ok
test runner::runner_test::run_on_error_instruction_unknown_command ... ok
test runner::runner_test::run_pre_processor_instructions ... ok
test runner::runner_test::run_script_file_valid ... ok
test runner::runner_test::run_script_parse_error ... ok
test runner::runner_test::run_script_runtime_error ... ok
test runner::runner_test::run_script_valid ... ok
test types::command::command_test::command_default_aliases ... ok
test types::command::command_test::command_default_help ... ok
test types::command::command_test::command_default_run ... ok
test types::command::command_test::command_default_run_with_context ... ok
test types::command::command_test::commands_new ... ok
test types::command::command_test::commands_remove ... ok
test types::command::command_test::commands_remove_via_alias ... ok
test types::command::command_test::commands_remove_via_name ... ok
test types::command::command_test::commands_set_get_all_command_names_empty ... ok
test types::command::command_test::commands_set_alias_valid ... ok
test types::command::command_test::commands_set_get_all_command_names_exists ... ok
test types::command::command_test::commands_set_alias_exists - should panic ... ok
test types::command::command_test::commands_set_get_exists ... ok
test types::command::command_test::commands_set_get_not_found ... ok
test types::command::command_test::commands_set_get_return_exists ... ok
test types::command::command_test::commands_set_name_exists - should panic ... ok
test types::env::env_test::env_default ... ok
test types::env::env_test::env_new_none ... ok
test types::env::env_test::env_new_with_values ... ok
test types::error::error_test::display_control_without_valid_value ... ok
test types::error::error_test::display_empty_label ... ok
test types::error::error_test::display_error_reading_file ... ok
test types::error::error_test::display_initialization ... ok
test types::error::error_test::display_invalid_control_location ... ok
test types::error::error_test::display_invalid_equals_location ... ok
test types::error::error_test::display_invalid_quotes_location ... ok
test types::error::error_test::display_missing_end_quotes ... ok
test types::error::error_test::display_missing_output_variable_name ... ok
test types::error::error_test::display_pre_process_no_command_found ... ok
test types::error::error_test::display_runtime_with_meta_info ... ok
test types::error::error_test::display_runtime_without_meta_info ... ok
test types::error::error_test::display_unknown_pre_processor_command ... ok
test types::instruction::instruction_test::instruction_empty_is_actionable ... ok
test types::instruction::instruction_test::instruction_meta_info_new ... ok
test types::instruction::instruction_test::instruction_pre_process_no_command_is_actionable ... ok
test types::instruction::instruction_test::instruction_pre_process_with_command_is_actionable ... ok
test types::instruction::instruction_test::instruction_script_no_command_is_actionable ... ok
test types::instruction::instruction_test::instruction_script_with_command_is_actionable ... ok
test types::instruction::instruction_test::pre_proces_instruction_is_actionable ... ok
test types::instruction::instruction_test::pre_proces_instruction_new ... ok
test types::instruction::instruction_test::script_instruction_is_actionable ... ok
test types::instruction::instruction_test::script_instruction_new ... ok
test types::runtime::runtime_test::context_new ... ok
test types::runtime::runtime_test::runtime_new_no_env ... ok
test types::runtime::runtime_test::runtime_new_with_env ... ok
test result: ok. 183 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
Running unittests src/main.rs (target/debug/deps/duck-0a2f83543407e454)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/duckscriptsdk-2bf85bb9368d67c6)
running 834 tests
test lib_test::test_scripts ... ignored
test lib_test::version_test ... ok
test sdk::internal::sdkdocs::mod_test::common_functions ... ok
test sdk::std::collections::array::mod_test::common_functions ... ok
test sdk::std::collections::array_clear::mod_test::common_functions ... ok
test sdk::internal::sdkdocs::mod_test::run_no_file_provided ... ok
test sdk::std::collections::array::mod_test::run_no_args ... ok
test sdk::std::collections::array::mod_test::run_with_args ... ok
test sdk::std::collections::array_get::mod_test::common_functions ... ok
test sdk::std::collections::array_clear::mod_test::run_not_found ... ok
test sdk::std::collections::array_clear::mod_test::run_no_args ... ok
test sdk::internal::sdkdocs::mod_test::run_valid ... ok
test sdk::std::collections::array_concat::mod_test::common_functions ... ok
test sdk::std::collections::array_get::mod_test::run_no_args ... ok
test sdk::std::collections::array_get::mod_test::run_not_found ... ok
test sdk::std::collections::array_is_empty::mod_test::common_functions ... ok
test sdk::std::collections::array_get::mod_test::run_only_handle ... ok
test sdk::std::collections::array_get::mod_test::run_found ... ok
test sdk::std::collections::array_length::mod_test::common_functions ... ok
test sdk::std::collections::array_clear::mod_test::run_found ... ok
test sdk::std::collections::array_contains::mod_test::common_functions ... ok
test sdk::std::collections::array_get::mod_test::run_found_out_of_bounds ... ok
test sdk::std::collections::array_length::mod_test::run_no_args ... ok
test sdk::std::collections::array_pop::mod_test::common_functions ... ok
test sdk::std::collections::array_join::mod_test::common_functions ... ok
test sdk::std::collections::array_length::mod_test::run_found ... ok
test sdk::std::collections::array_length::mod_test::run_not_found ... ok
test sdk::std::collections::array_is_empty::mod_test::run_empty ... ok
test sdk::std::collections::array_pop::mod_test::run_no_args ... ok
test sdk::std::collections::array_is_empty::mod_test::run_not_empty ... ok
test sdk::std::collections::array_pop::mod_test::run_not_found ... ok
test sdk::std::collections::array_pop::mod_test::run_found ... ok
test sdk::std::collections::array_push::mod_test::common_functions ... ok
test sdk::std::collections::array_push::mod_test::run_found ... ok
test sdk::std::collections::array_push::mod_test::run_no_args ... ok
test sdk::std::collections::array_remove::mod_test::common_functions ... ok
test sdk::std::collections::array_push::mod_test::run_only_array_not_found ... ok
test sdk::std::collections::array_push::mod_test::run_not_found ... ok
test sdk::std::collections::array_push::mod_test::run_found_no_input ... ok
test sdk::std::collections::array_set::mod_test::common_functions ... ok
test sdk::std::collections::array_remove::mod_test::run_found ... ok
test sdk::std::collections::array_remove::mod_test::run_not_found ... ok
test sdk::std::collections::array_remove::mod_test::run_no_args ... ok
test sdk::std::collections::array_remove::mod_test::run_only_handle ... ok
test sdk::std::collections::array_remove::mod_test::run_found_out_of_bounds ... ok
test sdk::std::collections::array_set::mod_test::run_found ... ok
test sdk::std::collections::array_set::mod_test::run_no_args ... ok
test sdk::std::collections::array_set::mod_test::run_not_found ... ok
test sdk::std::collections::is_array::mod_test::common_functions ... ok
test sdk::std::collections::array_set::mod_test::run_only_handle ... ok
test sdk::std::collections::array_set::mod_test::run_only_handle_and_index ... ok
test sdk::std::collections::array_set::mod_test::run_found_out_of_bounds ... ok
test sdk::std::collections::is_array::mod_test::run_no_args ... ok
test sdk::std::collections::is_array::mod_test::run_found ... ok
test sdk::std::collections::is_array::mod_test::run_not_array ... ok
test sdk::std::collections::is_map::mod_test::common_functions ... ok
test sdk::std::collections::is_array::mod_test::run_not_found ... ok
test sdk::std::collections::is_map::mod_test::run_no_args ... ok
test sdk::std::collections::is_set::mod_test::common_functions ... ok
test sdk::std::collections::is_map::mod_test::run_found ... ok
test sdk::std::collections::is_map::mod_test::run_not_found ... ok
test sdk::std::collections::is_map::mod_test::run_not_array ... ok
test sdk::std::collections::is_set::mod_test::run_no_args ... ok
test sdk::std::collections::is_set::mod_test::run_found ... ok
test sdk::std::collections::is_set::mod_test::run_not_found ... ok
test sdk::std::collections::map::mod_test::common_functions ... ok
test sdk::std::collections::is_set::mod_test::run_not_set ... ok
test sdk::std::collections::map_clear::mod_test::common_functions ... ok
test sdk::std::collections::map::mod_test::run_no_args ... ok
test sdk::std::collections::map_clear::mod_test::run_no_args ... ok
test sdk::std::collections::map_clear::mod_test::run_not_found ... ok
test sdk::std::collections::map_contains_key::mod_test::common_functions ... ok
test sdk::std::collections::map_clear::mod_test::run_found ... ok
test sdk::std::collections::map_get::mod_test::common_functions ... ok
test sdk::std::collections::map_contains_value::mod_test::common_functions ... ok
test sdk::std::collections::map_get::mod_test::run_missing_key ... ok
test sdk::std::collections::map_get::mod_test::run_found ... ok
test sdk::std::collections::map_get::mod_test::run_no_args ... ok
test sdk::std::collections::map_get::mod_test::run_not_found ... ok
test sdk::std::collections::map_is_empty::mod_test::common_functions ... ok
test sdk::std::collections::map_keys::mod_test::common_functions ... ok
test sdk::std::collections::map_keys::mod_test::run_no_args ... ok
test sdk::std::collections::map_keys::mod_test::run_not_found ... ok
test sdk::std::collections::map_load_properties::mod_test::common_functions ... ok
test sdk::std::collections::map_load_properties::mod_test::run_missing_text ... ok
test lib_test::load_valid ... ok
test sdk::std::collections::map_load_properties::mod_test::run_no_args ... ok
test sdk::std::collections::map_keys::mod_test::run_valid ... ok
test sdk::std::collections::map_put::mod_test::common_functions ... ok
test sdk::std::collections::map_put::mod_test::run_missing_key ... ok
test sdk::std::collections::map_put::mod_test::run_found ... ok
test sdk::std::collections::map_put::mod_test::run_missing_value ... ok
test sdk::std::collections::map_put::mod_test::run_no_args ... ok
test sdk::std::collections::map_put::mod_test::run_not_found ... ok
test sdk::std::collections::map_remove::mod_test::common_functions ... ok
test sdk::std::collections::map_remove::mod_test::run_found ... ok
test sdk::std::collections::map_remove::mod_test::run_missing_key ... ok
test sdk::std::collections::map_remove::mod_test::run_no_args ... ok
test sdk::std::collections::map_remove::mod_test::run_not_found ... ok
test sdk::std::collections::map_size::mod_test::common_functions ... ok
test sdk::std::collections::map_remove::mod_test::run_twice ... ok
test sdk::std::collections::map_size::mod_test::run_no_args ... ok
test sdk::std::collections::map_size::mod_test::run_found ... ok
test sdk::std::collections::map_to_properties::mod_test::common_functions ... ok
test sdk::std::collections::map_size::mod_test::run_not_found ... ok
test sdk::std::collections::map_to_properties::mod_test::run_no_args ... ok
test sdk::std::collections::map_to_properties::mod_test::run_not_found ... ok
test sdk::std::collections::map_to_properties::mod_test::run_valid ... ok
test sdk::std::collections::range::mod_test::common_functions ... ok
test sdk::std::collections::map_to_properties::mod_test::run_with_prefix ... ok
test sdk::std::collections::range::mod_test::run_decrease ... ok
test sdk::std::collections::range::mod_test::run_negative ... ok
test sdk::std::collections::range::mod_test::run_no_args ... ok
test sdk::std::collections::range::mod_test::run_non_numeric_end ... ok
1 2 3 4
test sdk::std::collections::range::mod_test::run_non_numeric_start ... ok
test sdk::std::collections::range::mod_test::run_single_arg ... ok
test sdk::std::collections::range::mod_test::run_positive ... ok
test sdk::std::collections::read_properties::mod_test::common_functions ... ok
test sdk::std::collections::range::mod_test::runsame_value ... ok
test sdk::std::collections::read_properties::mod_test::run_no_args ... ok
test sdk::std::collections::set::mod_test::common_functions ... ok
test sdk::std::collections::set::mod_test::run_no_args ... ok
test sdk::std::collections::set_clear::mod_test::common_functions ... ok
test sdk::std::collections::set::mod_test::run_with_args ... ok
test sdk::std::collections::set_contains::mod_test::common_functions ... ok
test sdk::std::collections::set_clear::mod_test::run_not_found ... ok
test sdk::std::collections::set_clear::mod_test::run_no_args ... ok
test sdk::std::collections::set_clear::mod_test::run_found ... ok
test sdk::std::collections::set_contains::mod_test::run_missing_key ... ok
test sdk::std::collections::set_contains::mod_test::run_found ... ok
test sdk::std::collections::set_contains::mod_test::run_no_args ... ok
test sdk::std::collections::set_contains::mod_test::run_not_found ... ok
test sdk::std::collections::set_contains::mod_test::run_value_not_found ... ok
test sdk::std::collections::read_properties::mod_test::run_valid ... ok
test sdk::std::collections::read_properties::mod_test::run_with_prefix ... ok
test sdk::std::collections::map_load_properties::mod_test::run_not_found ... ok
test sdk::std::collections::map_load_properties::mod_test::run_valid ... ok
test sdk::std::collections::set_is_empty::mod_test::common_functions ... ok
/home/buildozer/aports/community/duckscript/src/duckscript-0.11.1/duckscript_sdk
test sdk::std::collections::set_put::mod_test::common_functions ... ok
test sdk::std::collections::map_load_properties::mod_test::run_with_prefix ... ok
test sdk::std::collections::set_from_array::mod_test::common_functions ... ok
test sdk::std::collections::set_put::mod_test::run_found ... ok
test sdk::std::collections::set_put::mod_test::run_no_args ... ok
test sdk::std::collections::set_put::mod_test::run_found_duplicate ... ok
test sdk::std::collections::set_put::mod_test::run_not_found ... ok
test sdk::std::collections::set_put::mod_test::run_found_no_input ... ok
test sdk::std::collections::set_put::mod_test::run_only_set_not_found ... ok
test sdk::std::collections::set_remove::mod_test::common_functions ... ok
test sdk::std::collections::set_remove::mod_test::run_found ... ok
test sdk::std::collections::set_remove::mod_test::run_missing_key ... ok
test sdk::std::collections::set_remove::mod_test::run_no_args ... ok
test sdk::std::collections::set_remove::mod_test::run_not_found ... ok
test sdk::std::collections::set_size::mod_test::common_functions ... ok
test sdk::std::collections::set_remove::mod_test::run_twice ... ok
test sdk::std::collections::set_size::mod_test::run_no_args ... ok
test sdk::std::collections::set_to_array::mod_test::common_functions ... ok
test sdk::std::collections::set_size::mod_test::run_not_found ... ok
test sdk::std::collections::set_size::mod_test::run_found ... ok
test sdk::std::collections::set_to_array::mod_test::run_no_args ... ok
test sdk::std::collections::set_to_array::mod_test::run_found ... ok
test sdk::std::collections::set_to_array::mod_test::run_not_found ... ok
test sdk::std::collections::write_properties::mod_test::common_functions ... ok
test sdk::std::collections::write_properties::mod_test::run_no_args ... ok
test sdk::std::collections::write_properties::mod_test::run_valid ... ok
test sdk::std::collections::write_properties::mod_test::run_with_prefix ... ok
test sdk::std::debug::duckscript_sdk_version::mod_test::common_functions ... ok
test sdk::std::debug::duckscript_sdk_version::mod_test::run_no_args ... ok
test sdk::std::debug::duckscript_version::mod_test::common_functions ... ok
test sdk::std::debug::duckscript_version::mod_test::run_no_args ... ok
test sdk::std::debug::dump_instructions::mod_test::common_functions ... ok
test sdk::std::debug::dump_instructions::mod_test::run_no_args ... ok
test sdk::std::debug::dump_state::mod_test::common_functions ... ok
test sdk::std::debug::dump_variables::mod_test::common_functions ... ok
test sdk::std::debug::dump_state::mod_test::run_no_args ... ok
test sdk::std::debug::dump_variables::mod_test::run_no_args ... ok
test sdk::std::echo::mod_test::common_functions ... ok
test sdk::std::echo::mod_test::run_multiple_args ... ok
test sdk::std::echo::mod_test::run_no_args ... ok
test sdk::std::env::cpu_count::mod_test::common_functions ... ok
test sdk::std::env::env_to_map::mod_test::common_functions ... ok
test sdk::std::env::cpu_count::mod_test::run_valid ... ok
test sdk::std::env::get_env::mod_test::common_functions ... ok
test sdk::std::env::get_env::mod_test::run_env_exists ... ok
test sdk::std::env::get_env::mod_test::run_env_not_exists ... ok
test sdk::std::env::get_env::mod_test::run_no_arguments ... ok
test sdk::std::env::get_home_dir::mod_test::common_functions ... ok
test sdk::std::env::env_to_map::mod_test::run_valid ... ok
test sdk::std::env::get_user_name::mod_test::common_functions ... ok
test sdk::std::env::get_home_dir::mod_test::run_valid ... ok
test sdk::std::env::get_user_name::mod_test::run_valid ... ok
test sdk::std::env::is_windows::mod_test::common_functions ... ok
test sdk::std::env::os_family::mod_test::common_functions ... ok
test sdk::std::env::os_family::mod_test::run_valid ... ok
test sdk::std::env::os_name::mod_test::common_functions ... ok
test sdk::std::env::os_name::mod_test::run_valid ... ok
test sdk::std::env::os_release::mod_test::common_functions ... ok
test sdk::std::env::os_release::mod_test::run_valid ... ok
test sdk::std::env::os_version::mod_test::common_functions ... ok
test sdk::std::env::os_version::mod_test::run_valid ... ok
test sdk::std::env::print_current_directory::mod_test::common_functions ... ok
test sdk::std::env::print_current_directory::mod_test::run_valid ... ok
test sdk::std::env::set_current_directory::mod_test::run_no_arguments ... ignored
test sdk::std::env::print_env::mod_test::common_functions ... ok
test sdk::std::env::set_current_directory::mod_test::common_functions ... ok
test sdk::std::env::set_current_directory::mod_test::run_specific_directory ... ignored
test sdk::std::env::set_current_directory::mod_test::run_to_directory_does_not_exist ... ignored
test sdk::std::env::set_env::mod_test::common_functions ... ok
test sdk::std::env::set_env::mod_test::run_empty_var_name ... ok
test sdk::std::env::set_env::mod_test::run_no_arguments ... ok
test sdk::std::env::set_env::mod_test::run_set ... ok
test sdk::std::env::set_env::mod_test::run_single_argument ... ok
test sdk::std::env::unset::mod_test::common_functions ... ok
test sdk::std::env::uname::mod_test::common_functions ... ok
test sdk::std::env::unset::mod_test::run_no_arguments ... ok
test sdk::std::env::which::mod_test::common_functions ... ok
test sdk::std::env::unset::mod_test::run_unset ... ok
test sdk::std::env::which::mod_test::run_found ... ok
test sdk::std::env::which::mod_test::run_no_arguments ... ok
test sdk::std::eval::mod_test::common_functions ... ok
test sdk::std::env::which::mod_test::run_not_found ... ok
test sdk::std::eval::mod_test::run_command_as_variable_with_output ... ok
test sdk::std::eval::mod_test::run_command_with_no_output ... ok
test sdk::std::eval::mod_test::run_command_with_output ... ok
test sdk::std::eval::mod_test::run_command_with_spaces_in_arg ... ok
test sdk::std::eval::mod_test::run_label_only ... ok
test sdk::std::eval::mod_test::run_no_args ... ok
test sdk::std::flowcontrol::end::mod_test::common_functions ... ok
test sdk::std::flowcontrol::end::mod_test::run_no_args ... ok
test sdk::std::flowcontrol::forin::mod_test::common_functions ... ok
test sdk::std::flowcontrol::forin::mod_test::run_forin_no_args ... ok
test sdk::std::flowcontrol::forin::mod_test::run_forin_no_end ... ok
test sdk::std::flowcontrol::forin::mod_test::run_forin_no_in ... ok
test sdk::std::flowcontrol::forin::mod_test::run_forin_too_many_args ... ok
test sdk::std::flowcontrol::function::mod_test::common_functions ... ok
test sdk::std::flowcontrol::forin::mod_test::run_forin_valid ... ok
test sdk::std::flowcontrol::function::mod_test::run_function_only_end_function ... ok
test sdk::std::flowcontrol::function::mod_test::run_function_only_return ... ok
test sdk::std::flowcontrol::function::mod_test::run_function_inside_function ... ok
test sdk::std::flowcontrol::forin::mod_test::run_forin_nested ... ok
test sdk::std::flowcontrol::goto::mod_test::common_functions ... ok
test sdk::std::flowcontrol::function::mod_test::run_function_call_multiple_functions_and_return_output ... ok
test sdk::std::flowcontrol::function::mod_test::run_function_reached_end ... ok
test sdk::std::flowcontrol::function::mod_test::run_function_return_output ... ok
test sdk::std::flowcontrol::function::mod_test::run_no_function_end ... ok
test sdk::std::flowcontrol::goto::mod_test::run_label_not_found ... ok
test sdk::std::flowcontrol::function::mod_test::run_function_return_none ... ok
test sdk::std::flowcontrol::goto::mod_test::run_mutliple_arguments ... ok
test sdk::std::flowcontrol::function::mod_test::run_function_call_multiple_functions_pass_arguments_and_return_output ... ok
test sdk::std::flowcontrol::function::mod_test::run_function_return_outside_function ... ok
test sdk::std::flowcontrol::goto::mod_test::run_no_args ... ok
test sdk::std::flowcontrol::goto::mod_test::run_no_arguments ... ok
test sdk::std::flowcontrol::goto::mod_test::run_not_label_format ... ok
test sdk::std::flowcontrol::ifelse::mod_test::common_functions ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_else_if_else_no_end ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_0 ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_else_no_end ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_else_if_no_condition ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_elseif_false ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_no_condition ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_false ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_no_end ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_elseif_true ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_false_upper_case ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_no ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_no_upper_case ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_none ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_if_true ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_sub_else_if_no_end ... ok
test sdk::std::flowcontrol::while_mod::mod_test::common_functions ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_sub_if_no_end ... ok
test sdk::std::flowcontrol::ifelse::mod_test::run_sub_else_no_end ... ok
test sdk::std::flowcontrol::while_mod::mod_test::run_sub_while_no_end ... ok
test sdk::std::flowcontrol::while_mod::mod_test::run_while_no_condition ... ok
test sdk::std::flowcontrol::while_mod::mod_test::run_while_no_end ... ok
test sdk::std::fs::append::mod_test::common_functions ... ok
test sdk::std::flowcontrol::while_mod::mod_test::run_while_false ... ok
Makefile.toml
README.md
test sdk::std::fs::append::mod_test::run_no_file_provided ... oktarget
src
Cargo.toml
704 Makefile.toml
132 README.md
4096
target
4096 src
1544 Cargo.toml
test sdk::std::flowcontrol::ifelse::mod_test::run_nested_if ... ok
test sdk::std::flowcontrol::while_mod::mod_test::run_while_true ... ok
Cargo.toml
test sdk::std::fs::append::mod_test::run_no_text_provided ... ok
1544 Cargo.toml
test sdk::std::fs::basename::mod_test::common_functions ... ok
test sdk::std::flowcontrol::while_mod::mod_test::run_nested_while ... ok704 Makefile.toml
132 README.md
4096 target
4096 src
1544 Cargo.toml
Makefile.toml
README.md
target
src
Cargo.toml
test sdk::std::fs::basename::mod_test::run_no_path_provided ... ok
test sdk::std::fs::basename::mod_test::run_provided ... ok
test sdk::std::fs::canonical::mod_test::common_functions ... ok
test sdk::std::fs::append::mod_test::run_not_exists ... ok
test sdk::std::fs::canonical::mod_test::run_no_path_provided ... ok
test sdk::std::fs::cp::mod_test::common_functions ... ok
test sdk::std::fs::canonical::mod_test::run_path_provided ... ok
test sdk::std::fs::cp::mod_test::run_no_path_provided ... ok
test sdk::std::fs::cp::mod_test::run_path_not_exists ... ok
test sdk::std::fs::cp::mod_test::run_single_input ... ok
test sdk::std::fs::dirname::mod_test::common_functions ... ok
test sdk::std::fs::cp::mod_test::run_copy_file ... ok
test sdk::std::fs::dirname::mod_test::run_file_without_directory_provided ... ok
test sdk::std::fs::cp_glob::mod_test::common_functions ... ok
test sdk::std::fs::dirname::mod_test::run_no_path_provided ... ok
[package]
name = "duckscriptsdk"
version = "0.11.1"
authors = ["Sagie Gur-Ari "]
description = "The duckscript SDK."
license = "Apache-2.0"
edition = "2021"
documentation = "https://sagiegurari.github.io/duckscript/api/duckscript/index.html"
homepage = "http://github.com/sagiegurari/duckscript"
repository = "https://github.com/sagiegurari/duckscript.git"
readme = "README.md"
keywords = ["script", "script-engine", "language"]
categories = ["command-line-utilities", "development-tools"]
include = [
"/benches/*",
"/docs/*",
"/examples/*",
"/src/*",
"/tests/*",
"/Cargo.toml",
"/LICENSE",
"/README.md",
]
[dependencies]
attohttpc = { version = "^0.28", default-features = false, features = [
"compress-zlib",
] }
base64 = "^0.22"
cfg-if = "^1"
colored = "^2"
duckscript = { version = "^0.10.0", path = "../duckscript" }
evalexpr = "^11"
fs_extra = "^1"
fsio = { version = "^0.4", features = ["temp-path"] }
glob = "^0.3"
heck = "^0.5"
home = "^0.5"
ignore = "^0.4"
java-properties = "^2"
num_cpus = "^1"
rand = "^0.8"
semver = "^1"
serde_json = "^1"
sha2 = "^0.10"
suppaftp = "^6.0"
walkdir = "^2"
which = { version = "^6", default-features = false }
whoami = "^1"
zip = { version = "^2", default-features = false, features = [
"bzip2",
"deflate-zlib",
"time",
] }
[target.'cfg(not(windows))'.dependencies]
uname = "^0.1"
[features]
tls-rustls = ["attohttpc/rustls"]
tls-native = ["attohttpc/tls"]
tls = ["tls-rustls"] # alias for backward compatibility
default = ["tls-rustls"]
[package]
name = "duckscriptsdk"
version = "0.11.1"
authors = ["Sagie Gur-Ari "]
description = "The duckscript SDK."
license = "Apache-2.0"
edition = "2021"
documentation = "https://sagiegurari.github.io/duckscript/api/duckscript/index.html"
homepage = "http://github.com/sagiegurari/duckscript"
repository = "https://github.com/sagiegurari/duckscript.git"
readme = "README.md"
keywords = ["script", "script-engine", "language"]
categories = ["command-line-utilities", "development-tools"]
include = [
"/benches/*",
"/docs/*",
"/examples/*",
"/src/*",
"/tests/*",
"/Cargo.toml",
"/LICENSE",
"/README.md",
]
[dependencies]
attohttpc = { version = "^0.28", default-features = false, features = [
"compress-zlib",
] }
base64 = "^0.22"
cfg-if = "^1"
colored = "^2"
duckscript = { version = "^0.10.0", path = "../duckscript" }
evalexpr = "^11"
fs_extra = "^1"
fsio = { version = "^0.4", features = ["temp-path"] }
glob = "^0.3"
heck = "^0.5"
home = "^0.5"
ignore = "^0.4"
java-properties = "^2"
num_cpus = "^1"
rand = "^0.8"
semver = "^1"
serde_json = "^1"
sha2 = "^0.10"
suppaftp = "^6.0"
walkdir = "^2"
which = { version = "^6", default-features = false }
whoami = "^1"
zip = { version = "^2", default-features = false, features = [
"bzip2",
"deflate-zlib",
"time",
] }
[target.'cfg(not(windows))'.dependencies]
uname = "^0.1"
[features]
tls-rustls = ["attohttpc/rustls"]
tls-native = ["attohttpc/tls"]
tls = ["tls-rustls"] # alias for backward compatibility
default = ["tls-rustls"]
test sdk::std::fs::dirname::mod_test::run_provided ... ok
test sdk::std::fs::exists::mod_test::common_functions ... ok
test sdk::std::fs::exists::mod_test::run_directory ... ok
[package]
name = "duckscriptsdk"
version = "0.11.1"
authors = ["Sagie Gur-Ari "]
description = "The duckscript SDK."
license = "Apache-2.0"
edition = "2021"
documentation = "https://sagiegurari.github.io/duckscript/api/duckscript/index.html"
homepage = "http://github.com/sagiegurari/duckscript"
repository = "https://github.com/sagiegurari/duckscript.git"
readme = "README.md"
keywords = ["script", "script-engine", "language"]
categories = ["command-line-utilities", "development-tools"]
include = [
"/benches/*",
"/docs/*",
"/examples/*",
"/src/*",
"/tests/*",
"/Cargo.toml",
"/LICENSE",
"/README.md",
]
[dependencies]
attohttpc = { version = "^0.28", default-features = false, features = [
"compress-zlib",
] }
base64 = "^0.22"
cfg-if = "^1"
colored = "^2"
duckscript = { version = "^0.10.0", path = "../duckscript" }
evalexpr = "^11"
fs_extra = "^1"
fsio = { version = "^0.4", features = ["temp-path"] }
glob = "^0.3"
heck = "^0.5"
home = "^0.5"
ignore = "^0.4"
java-properties = "^2"
num_cpus = "^1"
rand = "^0.8"
semver = "^1"
serde_json = "^1"
sha2 = "^0.10"
suppaftp = "^6.0"
walkdir = "^2"
which = { version = "^6", default-features = false }
whoami = "^1"
zip = { version = "^2", default-features = false, features = [
"bzip2",
"deflate-zlib",
"time",
] }
[target.'cfg(not(windows))'.dependencies]
uname = "^0.1"
[features]
tls-rustls = ["attohttpc/rustls"]
tls-native = ["attohttpc/tls"]
tls = ["tls-rustls"] # alias for backward compatibility
default = ["tls-rustls"]
test sdk::std::fs::exists::mod_test::run_file ... ok
test sdk::std::fs::exists::mod_test::run_no_path_provided ... ok
test sdk::std::fs::exists::mod_test::run_not_found ... ok
test sdk::std::fs::get_file_size::mod_test::common_functions ... ok
test sdk::std::fs::get_file_size::mod_test::run_directory ... ok
test sdk::std::fs::get_file_size::mod_test::run_file ... ok
test sdk::std::fs::get_file_size::mod_test::run_no_path_provided ... ok
test sdk::std::fs::get_file_size::mod_test::run_not_found ... ok
test sdk::std::fs::get_last_modified_time::mod_test::common_functions ... ok
test sdk::std::fs::get_last_modified_time::mod_test::run_directory ... ok
test sdk::std::fs::get_last_modified_time::mod_test::run_file ... ok
test sdk::std::fs::get_last_modified_time::mod_test::run_no_path_provided ... ok
test sdk::std::fs::get_last_modified_time::mod_test::run_not_found ... ok
test sdk::std::fs::gitignore_path_array::mod_test::common_functions ... ok
test sdk::std::fs::glob_array::mod_test::common_functions ... ok
test sdk::std::fs::gitignore_path_array::mod_test::run_no_pattern_provided ... ok
test sdk::std::fs::glob_array::mod_test::run_no_pattern_provided ... ok
test sdk::std::fs::is_directory::mod_test::common_functions ... ok
test sdk::std::fs::is_directory::mod_test::run_directory ... ok
test sdk::std::fs::is_directory::mod_test::run_no_path_provided ... ok
test sdk::std::fs::is_directory::mod_test::run_not_directory ... ok
test sdk::std::fs::is_directory::mod_test::run_not_found ... ok
test sdk::std::fs::is_file::mod_test::common_functions ... ok
test sdk::std::fs::glob_array::mod_test::run_results_found ... ok
test sdk::std::fs::is_file::mod_test::run_file ... ok
test sdk::std::fs::is_file::mod_test::run_no_path_provided ... ok
test sdk::std::fs::glob_array::mod_test::run_results_partial_found ... ok
test sdk::std::fs::is_file::mod_test::run_not_file ... ok
test sdk::std::fs::is_file::mod_test::run_not_found ... ok
test sdk::std::fs::is_path_newer::mod_test::common_functions ... ok
test sdk::std::fs::is_path_newer::mod_test::run_no_path_provided ... ok
test sdk::std::fs::is_path_newer::mod_test::run_not_found ... ok
test sdk::std::fs::is_readonly::mod_test::common_functions ... ok
test sdk::std::fs::is_readonly::mod_test::run_no_path_provided ... ok
test sdk::std::fs::is_readonly::mod_test::run_not_readonly ... ok
test sdk::std::fs::list::mod_test::common_functions ... ok
test sdk::std::fs::join_path::mod_test::common_functions ... ok
test sdk::std::fs::list::mod_test::run_current_directory ... ok
test sdk::std::fs::list::mod_test::run_current_directory_does_not_exist ... ok
test sdk::std::fs::list::mod_test::run_current_directory_and_flags ... ok
test sdk::std::fs::list::mod_test::run_file ... ok
test sdk::std::fs::list::mod_test::run_file_with_flags ... ok
test sdk::std::fs::mkdir::mod_test::common_functions ... ok
test sdk::std::fs::list::mod_test::run_flag_only ... ok
test sdk::std::fs::list::mod_test::run_no_args ... ok
test sdk::std::fs::mkdir::mod_test::run_directory_already_exists ... ok
test sdk::std::fs::mkdir::mod_test::run_no_directory_path_provided ... ok
test sdk::std::fs::mv::mod_test::common_functions ... ok
test sdk::std::fs::mkdir::mod_test::run_directory_provided ... ok
test sdk::std::fs::mkdir::mod_test::run_directory_exists_as_file ... ok
test sdk::std::fs::mv::mod_test::run_directory_to_directory_rename ... ok
test sdk::std::fs::mv::mod_test::run_input_path_not_exists ... ok
test sdk::std::fs::mv::mod_test::run_file_to_directory ... ok
test sdk::std::fs::mv::mod_test::run_no_path_provided ... ok
test sdk::std::fs::mv::mod_test::run_file_to_file ... ok
test sdk::std::fs::mv::mod_test::run_single_path_provided ... ok
test sdk::std::fs::print::mod_test::common_functions ... ok
test sdk::std::fs::mv::mod_test::run_directory_to_directory_move ... ok
test sdk::std::fs::print::mod_test::run_multiple_files ... ok
test sdk::std::fs::print::mod_test::run_no_file_provided ... ok
test sdk::std::fs::read_bytes::mod_test::common_functions ... ok
test sdk::std::fs::read_bytes::mod_test::run_file_not_exists ... ok
test sdk::std::fs::read_bytes::mod_test::run_no_file_provided ... ok
test sdk::std::fs::print::mod_test::run_single_file ... ok
test sdk::std::fs::read_text::mod_test::common_functions ... ok
test sdk::std::fs::read_bytes::mod_test::run_valid ... ok
test sdk::std::fs::read_text::mod_test::run_file_not_exists ... ok
test sdk::std::fs::read_text::mod_test::run_no_file_provided ... ok
test sdk::std::fs::rm::mod_test::common_functions ... ok
test sdk::std::fs::read_text::mod_test::run_valid ... ok
test sdk::std::fs::rm::mod_test::run_no_path_provided ... ok
test sdk::std::fs::rm::mod_test::run_no_path_provided_only_flags ... ok
test sdk::std::fs::rm::mod_test::run_path_is_file ... ok
test sdk::std::fs::rm::mod_test::run_path_is_file_and_with_flag ... ok
test sdk::std::fs::rm::mod_test::run_multiple_paths ... ok
test sdk::std::fs::rm::mod_test::run_path_not_empty_not_recursive ... ok
test sdk::std::fs::rm::mod_test::run_path_not_exists ... ok
test sdk::std::fs::rmdir::mod_test::common_functions ... ok
test sdk::std::fs::rm::mod_test::run_path_recursive ... ok
No documentation found for command: test_set
test sdk::std::fs::rmdir::mod_test::run_no_path_provided ... ok
test sdk::std::fs::rmdir::mod_test::run_path_is_file ... ```sh
release [-r|--recursive] handle
```
Releases an internal handle stored in the runtime memory.
Certain commands (such as **array**) will create a handle and the variable will only hold a reference to that handle.
In order to release those handles once they are no longer needed, the release command should be used.
By providing the recursive flag, it will also go over the data values (array items, map values, set keys, ...) and release each one of them as well
if they are handles to other arrays/maps/sets/...
### Parameters
* Optional recursive (-r/--recursive) flag (default false)
* The handle name.
### Return Value
* true - If a handle was found and removed
* false - If no handle was found
### Examples
```sh
release ${array_handle}
```
ok
Command: badcommand not found.
test sdk::std::fs::rmdir::mod_test::run_path_not_empty ... ok
```sh
var = man command
```
Prints and returns the help documentation of the provided command.
### Parameters
The command name.
### Return Value
The help documentation or if not found, none.
### Examples
```sh
man set
```
test sdk::std::fs::rmdir::mod_test::run_path_not_exists ... ok
```sh
var = man command
```
Prints and returns the help documentation of the provided command.
### Parameters
The command name.
### Return Value
The help documentation or if not found, none.
### Examples
```sh
man set
```
test sdk::std::fs::set_mode::mod_test::common_functions ... ok
test sdk::std::fs::rmdir::mod_test::run_valid ... ok
test sdk::std::fs::set_mode::mod_test::run_no_path_no_mode_provided ... ok
test sdk::std::fs::set_mode::mod_test::run_no_path_provided ... ok
test sdk::std::fs::set_mode::mod_test::run_single_file_unix ... ok
test sdk::std::fs::temp_dir::mod_test::common_functions ... ok
test sdk::std::fs::set_mode_glob::mod_test::common_functions ... ok
test sdk::std::fs::temp_dir::mod_test::run_simple ... ok
test sdk::std::fs::temp_file::mod_test::common_functions ... ok
test sdk::std::fs::touch::mod_test::common_functions ... ok
test sdk::std::fs::temp_file::mod_test::run_extension_provided ... ok
test sdk::std::fs::temp_file::mod_test::run_no_extension_provided ... ok
test sdk::std::fs::touch::mod_test::run_no_path_provided ... ok
test sdk::std::fs::touch::mod_test::run_path_to_existing_directory ... ok
test sdk::std::fs::write_bytes::mod_test::common_functions ... ok
test sdk::std::fs::touch::mod_test::run_provided ... ok
test sdk::std::fs::write_bytes::mod_test::run_no_file_provided ... ok
test sdk::std::fs::write_bytes::mod_test::run_no_text_provided ... ok
test sdk::std::fs::write_text::mod_test::common_functions ... ok
test sdk::std::fs::write_text::mod_test::run_no_file_provided ... ok
test sdk::std::fs::write_text::mod_test::run_no_text_provided ... ok
test sdk::std::hash::digest::mod_test::common_functions ... ok
test sdk::std::fs::write_bytes::mod_test::run_valid ... ok
test sdk::std::hash::digest::mod_test::run_algo_not_supported ... ok
test sdk::std::fs::write_text::mod_test::run_valid ... ok
test sdk::std::hash::digest::mod_test::run_no_algo_provided ... ok
test sdk::std::hash::digest::mod_test::run_no_args_provided ... ok
test sdk::std::hash::digest::mod_test::run_no_content_provided ... ok
test sdk::std::hash::digest::mod_test::run_no_file_provided ... ok
test sdk::std::hash::sha256sum::mod_test::common_functions ... ok
test sdk::std::hash::digest::mod_test::run_sha256_file ... ok
test sdk::std::is_command_defined::mod_test::common_functions ... ok
test sdk::std::hash::digest::mod_test::run_sha512_file ... ok
test sdk::std::hash::sha512sum::mod_test::common_functions ... ok
test sdk::std::hash::digest::mod_test::run_sha256_string ... ok
test sdk::std::is_command_defined::mod_test::run_defined ... ok
test sdk::std::hash::digest::mod_test::run_sha512_string ... ok
test sdk::std::is_command_defined::mod_test::run_no_args ... ok
test sdk::std::is_command_defined::mod_test::run_not_defined ... ok
test sdk::std::is_command_defined::mod_test::run_with_empty_string ... ok
test sdk::std::json::encode::mod_test::common_functions ... ok
test sdk::std::json::parse::mod_test::common_functions ... ok
test sdk::std::json::parse::mod_test::run_all_types_as_vars ... ok
test sdk::std::lib::alias::set::mod_test::common_functions ... ok
test sdk::std::json::parse::mod_test::run_no_args ... ok
test sdk::std::lib::alias::set::mod_test::run_no_args ... ok
test sdk::std::lib::alias::set::mod_test::run_only_name ... ok
test sdk::std::lib::alias::set::mod_test::run_valid_no_default_args ... ok
test sdk::std::lib::alias::set::mod_test::run_valid_with_default_args ... ok
test sdk::std::lib::alias::unset::mod_test::common_functions ... ok
test sdk::std::lib::alias::unset::mod_test::run_after_unalias ... ok
test sdk::std::lib::alias::unset::mod_test::run_no_args ... ok
test sdk::std::lib::alias::unset::mod_test::run_valid_no_alias_defined ... ok
test sdk::std::lib::alias::unset::mod_test::run_valid_alias_defined ... ok
test sdk::std::lib::command::remove::mod_test::common_functions ... ok
test sdk::std::lib::command::remove::mod_test::run_no_args ... ok
test sdk::std::man::mod_test::common_functions ... ok
test sdk::std::lib::command::remove::mod_test::run_valid ... ok
test sdk::std::man::mod_test::run_command_found_no_docs ... ok
test sdk::std::man::mod_test::run_command_not_found ... ok
test sdk::std::man::mod_test::run_command_found_with_docs ... ok
test sdk::std::man::mod_test::run_no_args ... ok
test sdk::std::man::mod_test::run_self_command_found ... ok
test sdk::std::math::calc::mod_test::common_functions ... ok
test sdk::std::math::calc::mod_test::run_no_args ... ok
test sdk::std::math::greater_than::mod_test::common_functions ... ok
test sdk::std::math::calc::mod_test::run_operation ... ok
test sdk::std::math::greater_than::mod_test::run_equal ... ok
test sdk::std::math::greater_than::mod_test::run_greater ... ok
test sdk::std::math::greater_than::mod_test::run_less ... ok
test sdk::std::math::greater_than::mod_test::run_no_args ... ok
test sdk::std::math::greater_than::mod_test::run_not_numbers ... ok
test sdk::std::math::hex_decode::mod_test::common_functions ... ok
test sdk::std::math::greater_than::mod_test::run_single_arg ... ok
test sdk::std::math::hex_decode::mod_test::run_no_args ... ok
test sdk::std::math::hex_encode::mod_test::common_functions ... ok
test sdk::std::math::hex_decode::mod_test::run_valid ... ok
test sdk::std::math::hex_encode::mod_test::run_no_args ... ok
test sdk::std::math::hex_encode::mod_test::run_valid ... ok
test sdk::std::math::less_than::mod_test::common_functions ... ok
test sdk::std::math::less_than::mod_test::run_equal ... ok
1 2 3 4test sdk::std::math::less_than::mod_test::run_greater ... ok
test sdk::std::math::less_than::mod_test::run_less ... ok
test sdk::std::math::less_than::mod_test::run_no_args ... ok
1 2 3 4
test sdk::std::math::less_than::mod_test::run_not_numbers ... ok
test sdk::std::math::less_than::mod_test::run_single_arg ... ok
test sdk::std::net::ftp::get::mod_test::common_functions ... ok
test sdk::std::net::ftp::get::mod_test::run_no_args ... ok
test sdk::std::net::ftp::get_in_memory::mod_test::common_functions ... ok
test sdk::std::net::ftp::get_in_memory::mod_test::run_no_args ... ok
test sdk::std::net::ftp::list::mod_test::common_functions ... ok
test sdk::std::net::ftp::list::mod_test::run_no_args ... ok
test sdk::std::net::ftp::nlst::mod_test::common_functions ... ok
test sdk::std::net::ftp::nlst::mod_test::run_no_args ... ok
test
test sdk::std::net::ftp::put::mod_test::common_functions ... ok
test sdk::std::net::ftp::put::mod_test::run_no_args ... ok
test sdk::std::net::ftp::put_in_memory::mod_test::common_functions ... ok
test
test sdk::std::net::ftp::put_in_memory::mod_test::run_no_args ... ok
test sdk::std::net::hostname::mod_test::common_functions ... ok
test sdk::std::net::hostname::mod_test::run_valid ... ok
test sdk::std::net::http_client::mod_test::common_functions ... ok
test sdk::std::net::http_client::mod_test::run_invalid_url ... ok
test sdk::std::net::http_client::mod_test::run_no_args ... ok
test sdk::std::noop::mod_test::common_functions ... ok
test sdk::std::noop::mod_test::run_multiple_args ... ok
test sdk::std::noop::mod_test::run_no_args ... ok
test sdk::std::not::mod_test::common_functions ... ok
test sdk::std::net::wget::mod_test::common_functions ... ok
test
test sdk::std::not::mod_test::run_command_error ... ok
test sdk::std::not::mod_test::run_command_no_value ... ok
testtest sdk::std::not::mod_test::run_command_value_false ... ok
test sdk::std::not::mod_test::run_no_args ... ok
test sdk::std::not::mod_test::run_command_value_true ... ok
test sdk::std::not::mod_test::run_single_value_false ... ok
test sdk::std::on_error::exit_on_error::mod_test::common_functions ... ok
test sdk::std::not::mod_test::run_single_value_true ... ok
test sdk::std::on_error::exit_on_error::mod_test::run_false ... ok
test sdk::std::on_error::exit_on_error::mod_test::run_false_and_check ... ok
test sdk::std::on_error::exit_on_error::mod_test::run_no_args ... ok
test sdk::std::on_error::exit_on_error::mod_test::run_true ... ok
test sdk::std::on_error::get_last_error::mod_test::common_functions ... ok
test sdk::std::on_error::exit_on_error::mod_test::run_true_and_check ... ok
test sdk::std::on_error::get_last_error::mod_test::run_no_args ... ok
test sdk::std::on_error::get_last_error_line::mod_test::common_functions ... ok
test sdk::std::on_error::get_last_error_line::mod_test::run_no_args ... ok
test sdk::std::on_error::get_last_error_source::mod_test::common_functions ... ok
test sdk::std::on_error::on_error::mod_test::common_functions ... ok
test sdk::std::on_error::get_last_error_source::mod_test::run_no_args ... ok
test sdk::std::on_error::on_error::mod_test::run_invalid_args ... ok
test sdk::std::on_error::on_error::mod_test::run_valid ... ok
test sdk::std::on_error::on_error::mod_test::run_valid_and_crash ... ok
test sdk::std::on_error::set_error::mod_test::common_functions ... ok
test sdk::std::on_error::set_error::mod_test::run_invalid_args ... ok
test sdk::std::on_error::trigger_error::mod_test::common_functions ... ok
test sdk::std::on_error::set_error::mod_test::run_valid ... ok
test sdk::std::on_error::trigger_error::mod_test::run_no_args ... ok
test sdk::std::print::mod_test::common_functions ... ok
test sdk::std::on_error::trigger_error::mod_test::run_with_message ... ok
test sdk::std::print::mod_test::run_multiple_args ... ok
test sdk::std::println::mod_test::common_functions ... ok
test sdk::std::print::mod_test::run_no_args ... ok
test sdk::std::println::mod_test::run_multiple_args ... ok
test sdk::std::println::mod_test::run_no_args ... ok
test sdk::std::process::exec::mod_test::common_functions ... ok
test sdk::std::process::exec::mod_test::run_error_code_with_output ... ok
test sdk::std::process::exec::mod_test::run_no_args ... ok
test sdk::std::process::exec::mod_test::run_get_exit_code_error ... ok
test sdk::std::process::exec::mod_test::run_get_exit_code_valid ... ok
test sdk::std::process::exec::mod_test::run_no_output ... ok
test sdk::std::process::exec::mod_test::run_no_output_with_fail_on_error_invalid ... ok
test sdk::std::process::exit::mod_test::common_functions ... ok
test sdk::std::process::exec::mod_test::run_no_output_with_fail_on_error_valid ... ok
test sdk::std::process::exit::mod_test::run_0 ... ok
test sdk::std::process::exit::mod_test::run_no_args ... ok
test sdk::std::process::exit::mod_test::run_number ... ok
test sdk::std::process::exec::mod_test::run_with_input ... ok
test sdk::std::process::exec::mod_test::run_with_output ... ok
test sdk::std::process::exit::mod_test::run_text ... ok
test sdk::std::process::process_id::mod_test::common_functions ... ok
test sdk::std::process::process_id::mod_test::run_valid ... ok
test sdk::std::process::spawn::mod_test::common_functions ... ok
test sdk::std::process::spawn::mod_test::run_no_args ... ok
test sdk::std::process::spawn::mod_test::run_valid ... ok
test sdk::std::process::watchdog::mod_test::common_functions ... ok
test sdk::std::process::spawn::mod_test::run_valid_silent ... ok
test sdk::std::process::spawn::mod_test::run_valid_with_input ... ok
test sdk::std::process::watchdog::mod_test::run_error_code_with_output ... ok
test sdk::std::process::watchdog::mod_test::run_no_args ... ok
test sdk::std::process::watchdog::mod_test::run_no_command ... ok
test sdk::std::random::range::mod_test::common_functions ... ok
test sdk::std::process::watchdog::mod_test::run_with_input ... ok
test sdk::std::random::range::mod_test::run_min_bigger_than_max ... ok
test sdk::std::random::range::mod_test::run_no_args ... ok
test sdk::std::process::watchdog::mod_test::run_without_retries ... ok
test sdk::std::random::range::mod_test::run_single_arg ... ok
test sdk::std::random::text::mod_test::common_functions ... ok
test sdk::std::random::range::mod_test::run_valid ... ok
test sdk::std::random::text::mod_test::run_invalid_size ... ok
test sdk::std::random::text::mod_test::run_no_args ... ok
test sdk::std::read::mod_test::common_functions ... ok
test sdk::std::random::text::mod_test::run_valid_size ... ok
test sdk::std::process::watchdog::mod_test::run_with_retries ... ok
test sdk::std::release::mod_test::common_functions ... ok
test sdk::std::release::mod_test::run_exist ... ok
test sdk::std::release::mod_test::run_no_args ... ok
test sdk::std::release::mod_test::run_not_exist ... ok
test sdk::std::scope::clear::mod_test::common_functions ... ok
test sdk::std::release::mod_test::run_release_twice ... ok
test sdk::std::scope::clear::mod_test::run_found ... ok
test sdk::std::scope::clear::mod_test::run_no_args ... ok
test sdk::std::scope::clear::mod_test::run_not_found ... ok
test sdk::std::scope::pop_stack::mod_test::common_functions ... ok
test sdk::std::scope::push_stack::mod_test::common_functions ... ok
test sdk::std::scope::pop_stack::mod_test::run_no_args ... ok
test sdk::std::scope::pop_stack::mod_test::run_keep_variables ... ok
test sdk::std::scope::push_stack::mod_test::run_keep_variables ... ok
test sdk::std::semver::is_equal::mod_test::common_functions ... ok
test sdk::std::scope::push_stack::mod_test::run_no_args ... ok
test sdk::std::semver::is_equal::mod_test::run_invalid_args ... ok
test sdk::std::semver::is_equal::mod_test::run_no_args ... ok
test sdk::std::semver::is_newer::mod_test::common_functions ... ok
test sdk::std::semver::is_equal::mod_test::run_single_arg ... ok
test sdk::std::semver::is_newer::mod_test::run_invalid_args ... ok
test sdk::std::semver::is_newer::mod_test::run_no_args ... ok
test sdk::std::semver::is_newer::mod_test::run_single_arg ... ok
test sdk::std::semver::parse::mod_test::common_functions ... ok
test sdk::std::semver::parse::mod_test::run_invalid ... ok
test sdk::std::semver::parse::mod_test::run_major ... ok
test sdk::std::semver::parse::mod_test::run_minor ... ok
test sdk::std::semver::parse::mod_test::run_no_args ... ok
test sdk::std::semver::parse::mod_test::run_patch ... ok
test sdk::std::string::base64_decode::mod_test::common_functions ... ok
test sdk::std::string::base64::mod_test::common_functions ... ok
test sdk::std::string::base64_decode::mod_test::run_no_args ... ok
test sdk::std::string::base64_encode::mod_test::common_functions ... ok
test sdk::std::string::base64_decode::mod_test::run_valid ... ok
test sdk::std::string::base64_encode::mod_test::run_no_args ... ok
test sdk::std::string::bytes_to_string::mod_test::common_functions ... ok
test sdk::std::string::base64_encode::mod_test::run_valid ... ok
test sdk::std::string::bytes_to_string::mod_test::run_handle_not_found ... ok
test sdk::std::string::camelcase::mod_test::common_functions ... ok
test sdk::std::string::bytes_to_string::mod_test::run_no_args ... ok
test sdk::std::string::bytes_to_string::mod_test::run_valid ... ok
test sdk::std::string::camelcase::mod_test::run_no_args ... ok
test sdk::std::string::camelcase::mod_test::run_single_argument ... ok
test sdk::std::string::contains::mod_test::common_functions ... ok
test sdk::std::string::concat::mod_test::common_functions ... ok
test sdk::std::string::contains::mod_test::run_no_args ... ok
test sdk::std::string::contains::mod_test::run_single_argument ... ok
test sdk::std::string::contains::mod_test::run_two_arguments_contains ... ok
test sdk::std::string::contains::mod_test::run_two_arguments_equal ... ok
test sdk::std::string::contains::mod_test::run_two_arguments_not_contains ... ok
test sdk::std::string::ends_with::mod_test::common_functions ... ok
test sdk::std::string::ends_with::mod_test::run_no_args ... ok
test sdk::std::string::ends_with::mod_test::run_single_argument ... ok
test sdk::std::string::ends_with::mod_test::run_two_arguments_ends_with ... ok
test sdk::std::string::ends_with::mod_test::run_two_arguments_equal ... ok
test sdk::std::string::ends_with::mod_test::run_two_arguments_not_ends_with ... ok
test sdk::std::string::equals::mod_test::common_functions ... ok
test sdk::std::string::equals::mod_test::run_no_args ... ok
test sdk::std::string::equals::mod_test::run_single_argument ... ok
test sdk::std::string::equals::mod_test::run_two_arguments_equal ... ok
test sdk::std::string::indexof::mod_test::common_functions ... ok
test sdk::std::string::equals::mod_test::run_two_arguments_not_equal ... ok
test sdk::std::string::indexof::mod_test::run_found ... ok
test sdk::std::string::indexof::mod_test::run_found_multiple ... ok
test sdk::std::string::indexof::mod_test::run_no_args ... ok
test sdk::std::string::indexof::mod_test::run_not_found ... ok
test sdk::std::string::indexof::mod_test::run_single_arg ... ok
test sdk::std::string::is_empty::mod_test::common_functions ... ok
test sdk::std::string::is_empty::mod_test::run_no_args ... ok
test sdk::std::string::is_empty::mod_test::run_with_empty_string ... ok
test sdk::std::string::is_empty::mod_test::run_with_text ... ok
test sdk::std::string::kebabcase::mod_test::common_functions ... ok
test sdk::std::string::kebabcase::mod_test::run_no_args ... ok
test sdk::std::string::last_indexof::mod_test::common_functions ... ok
test sdk::std::string::kebabcase::mod_test::run_single_argument ... ok
test sdk::std::string::last_indexof::mod_test::run_found ... ok
test sdk::std::string::last_indexof::mod_test::run_found_multiple ... ok
test sdk::std::string::last_indexof::mod_test::run_no_args ... ok
test sdk::std::string::last_indexof::mod_test::run_not_found ... ok
test sdk::std::string::length::mod_test::common_functions ... ok
test sdk::std::string::last_indexof::mod_test::run_single_arg ... ok
test sdk::std::string::length::mod_test::run_empty_text ... ok
test sdk::std::string::length::mod_test::run_no_args ... ok
test sdk::std::string::length::mod_test::run_text ... ok
test sdk::std::string::lowercase::mod_test::common_functions ... ok
test sdk::std::string::lowercase::mod_test::run_no_args ... ok
test sdk::std::string::lowercase::mod_test::run_single_argument ... ok
test sdk::std::string::replace::mod_test::common_functions ... ok
test sdk::std::string::replace::mod_test::run_found ... ok
test sdk::std::string::replace::mod_test::run_no_args ... ok
test sdk::std::string::replace::mod_test::run_not_found ... ok
test sdk::std::string::replace::mod_test::run_single_argument ... ok
test sdk::std::string::snakecase::mod_test::common_functions ... ok
test sdk::std::string::replace::mod_test::run_two_arguments ... ok
test sdk::std::string::snakecase::mod_test::run_no_args ... ok
test sdk::std::string::split::mod_test::common_functions ... ok
test sdk::std::string::snakecase::mod_test::run_single_argument ... ok
test sdk::std::string::split::mod_test::run_no_args ... ok
test sdk::std::string::split::mod_test::run_single_arg ... ok
test sdk::std::string::starts_with::mod_test::common_functions ... ok
test sdk::std::string::split::mod_test::run_split ... ok
test sdk::std::string::starts_with::mod_test::run_no_args ... ok
test sdk::std::string::starts_with::mod_test::run_single_argument ... ok
test sdk::std::string::starts_with::mod_test::run_two_arguments_equal ... ok
test sdk::std::string::starts_with::mod_test::run_two_arguments_not_starts_with ... ok
test sdk::std::string::starts_with::mod_test::run_two_arguments_starts_with ... ok
test sdk::std::string::string_to_bytes::mod_test::common_functions ... ok
test sdk::std::string::string_to_bytes::mod_test::run_no_args ... ok
test sdk::std::string::substring::mod_test::common_functions ... ok
test sdk::std::string::substring::mod_test::run_empty_text ... ok
test sdk::std::string::string_to_bytes::mod_test::run_valid ... ok
test sdk::std::string::substring::mod_test::run_no_args ... ok
test sdk::std::string::substring::mod_test::run_only_text ... ok
test sdk::std::string::substring::mod_test::run_text_only_end ... ok
test sdk::std::string::substring::mod_test::run_text_only_end_bigger_than_text ... ok
test sdk::std::string::substring::mod_test::run_text_only_start ... ok
test sdk::std::string::substring::mod_test::run_text_only_start_bigger_than_text ... ok
test sdk::std::string::substring::mod_test::run_text_start_and_end ... ok
test sdk::std::string::substring::mod_test::run_text_start_and_end_both_bigger_than_text ... ok
test sdk::std::string::substring::mod_test::run_text_start_and_end_end_bigger_than_text ... ok
test sdk::std::string::substring::mod_test::run_text_start_and_end_same ... ok
test sdk::std::string::trim::mod_test::common_functions ... ok
test sdk::std::string::substring::mod_test::run_text_start_bigger_than_end ... ok
test sdk::std::string::trim::mod_test::run_no_args ... ok
test sdk::std::string::trim_end::mod_test::common_functions ... ok
test sdk::std::string::trim::mod_test::run_with_spaces ... ok
test sdk::std::string::trim_end::mod_test::run_no_args ... ok
test sdk::std::string::trim_end::mod_test::run_with_spaces ... ok
test sdk::std::string::trim_start::mod_test::common_functions ... ok
test sdk::std::string::trim_start::mod_test::run_no_args ... ok
test sdk::std::string::uppercase::mod_test::common_functions ... ok
test sdk::std::string::trim_start::mod_test::run_with_spaces ... ok
test sdk::std::string::uppercase::mod_test::run_no_args ... ok
test sdk::std::string::uppercase::mod_test::run_single_argument ... ok
test sdk::std::test::assert::mod_test::common_functions ... ok
test sdk::std::test::assert::mod_test::run_no_args ... ok
test sdk::std::test::assert::mod_test::run_single_false_argument ... ok
test sdk::std::test::assert::mod_test::run_single_false_condition_and_message ... ok
test sdk::std::test::assert_eq::mod_test::common_functions ... ok
test sdk::std::test::assert::mod_test::run_single_true_argument ... ok
test sdk::std::test::assert_eq::mod_test::run_no_args ... ok
test sdk::std::test::assert_eq::mod_test::run_single_argument ... ok
test sdk::std::test::assert_eq::mod_test::run_two_arguments_equal ... ok
test sdk::std::test::assert_eq::mod_test::run_two_arguments_equal_with_error_message ... ok
test sdk::std::test::assert_eq::mod_test::run_two_arguments_not_equal ... ok
test sdk::std::test::assert_eq::mod_test::run_two_arguments_not_equal_error_message ... ok
test sdk::std::test::assert_error::mod_test::common_functions ... ok
test sdk::std::test::assert_error::mod_test::run_no_args ... ok
test sdk::std::test::assert_error::mod_test::run_with_message ... ok
test sdk::std::test::assert_fail::mod_test::common_functions ... ok
test sdk::std::test::assert_fail::mod_test::run_no_args ... ok
test sdk::std::test::assert_fail::mod_test::run_with_message ... ok
test sdk::std::test::assert_false::mod_test::common_functions ... ok
test sdk::std::test::assert_false::mod_test::run_no_args ... ok
test sdk::std::test::assert_false::mod_test::run_single_false_argument ... ok
test sdk::std::test::assert_false::mod_test::run_single_true_argument ... ok
test sdk::std::test::assert_false::mod_test::run_single_true_condition_and_message ... ok
test sdk::std::test::test_directory::mod_test::common_functions ... ok
test sdk::std::test::test_file::mod_test::common_functions ... ok
test sdk::std::thread::sleep::mod_test::common_functions ... ok
test sdk::std::thread::sleep::mod_test::run_0 ... ok
test sdk::std::thread::sleep::mod_test::run_negative_value ... ok
test sdk::std::thread::sleep::mod_test::run_no_args ... ok
test sdk::std::time::current_time::mod_test::common_functions ... ok
test sdk::std::time::current_time::mod_test::run_no_args ... ok
test sdk::std::var::get_all_var_names::mod_test::common_functions ... ok
test sdk::std::var::get_by_name::mod_test::common_functions ... ok
test sdk::std::var::get_by_name::mod_test::run_no_arguments ... ok
test sdk::std::var::is_defined::mod_test::common_functions ... ok
test sdk::std::var::get_by_name::mod_test::run_variable_found ... ok
test sdk::std::var::get_by_name::mod_test::run_variable_not_found ... ok
test sdk::std::var::is_defined::mod_test::run_defined ... ok
test sdk::std::var::is_defined::mod_test::run_not_defined ... ok
test sdk::std::var::is_defined::mod_test::run_no_args ... ok
test sdk::std::thread::sleep::mod_test::run_positive_value ... ok
test sdk::std::var::set::mod_test::common_functions ... ok
test sdk::std::var::is_defined::mod_test::run_with_empty_string ... ok
test sdk::std::var::set::mod_test::run_end_missing_or ... ok
test sdk::std::var::set::mod_test::run_multiple_arguments ... ok
test sdk::std::var::set::mod_test::run_end_with_or ... ok
test sdk::std::var::set::mod_test::run_multiple_arguments_all_falsy ... ok
test sdk::std::var::set::mod_test::run_no_arguments ... ok
test sdk::std::var::set::mod_test::run_multiple_arguments_first_falsy ... ok
test sdk::std::var::set::mod_test::run_single_argument ... ok
test sdk::std::var::set_by_name::mod_test::common_functions ... ok
test sdk::std::var::set_by_name::mod_test::run_name_and_value ... ok
test sdk::std::var::set_by_name::mod_test::run_no_arguments ... ok
test sdk::std::var::set_by_name::mod_test::run_only_name ... ok
test sdk::std::var::unset::mod_test::common_functions ... ok
test sdk::std::var::unset_all_vars::mod_test::common_functions ... ok
test utils::condition::condition_test::eval_condition_command_error ... ok
test utils::condition::condition_test::eval_condition_command_false ... ok
test utils::condition::condition_test::eval_condition_command_true ... ok
test utils::condition::condition_test::eval_condition_empty ... ok
test utils::condition::condition_test::eval_condition_for_slice_complex_no_parts ... ok
test utils::condition::condition_test::eval_condition_for_slice_empty ... ok
test utils::condition::condition_test::eval_condition_for_slice_complex_with_parts ... ok
test utils::condition::condition_test::eval_condition_for_slice_false ... ok
test utils::condition::condition_test::eval_condition_for_slice_false_and_true ... ok
test utils::condition::condition_test::eval_condition_for_slice_false_or_true ... ok
test utils::condition::condition_test::eval_condition_for_slice_parse_errors ... ok
test utils::condition::condition_test::eval_condition_for_slice_true ... ok
test utils::condition::condition_test::eval_condition_for_slice_true_and_false ... ok
test utils::condition::condition_test::eval_condition_for_slice_true_or_false ... ok
test utils::condition::condition_test::eval_condition_value_false ... ok
test utils::condition::condition_test::eval_condition_value_true ... ok
test utils::condition::condition_test::is_true_0 ... ok
test utils::condition::condition_test::is_true_empty ... ok
test utils::condition::condition_test::is_true_false ... ok
test utils::condition::condition_test::is_true_false_uppercase ... ok
test utils::condition::condition_test::is_true_no ... ok
test utils::condition::condition_test::is_true_no_uppercase ... ok
test utils::condition::condition_test::is_true_none ... ok
test utils::condition::condition_test::is_true_valid ... ok
test utils::eval::eval_test::eval_with_eq_empty_args ... ok
test utils::eval::eval_test::eval_with_eq_true_and_false_args ... ok
test utils::eval::eval_test::eval_with_eq_true_args ... ok
test utils::eval::eval_test::eval_with_error_command_no_output ... ok
test utils::eval::eval_test::eval_with_error_command_with_output ... ok
test utils::eval::eval_test::eval_with_error_command_with_output_with_spaces ... ok
test utils::eval::eval_test::eval_with_error_empty_arguments ... ok
test utils::eval::eval_test::eval_with_error_command_with_output_with_spaces_and_all_line_types ... ok
test utils::eval::eval_test::eval_with_error_label_only ... ok
test utils::eval::eval_test::eval_with_error_parse_error ... ok
test utils::exec::exec_test::exec_error ... ok
test utils::flags::flags_test::is_unix_flag_exists_empty ... ok
test utils::flags::flags_test::is_unix_flag_exists_found ... ok
test utils::exec::exec_test::exec_valid ... ok
test utils::flags::flags_test::is_unix_flag_exists_found_different_case ... ok
test utils::exec::exec_test::exec_with_input ... ok
test utils::flags::flags_test::is_unix_flag_exists_not_flags ... ok
test utils::flags::flags_test::is_unix_flag_exists_not_found ... ok
test utils::flags::flags_test::is_unix_flags_argument_double_flag_prefix ... ok
test utils::flags::flags_test::is_unix_flags_argument_empty ... ok
test utils::flags::flags_test::is_unix_flags_argument_no_flag_prefix ... ok
test utils::flags::flags_test::is_unix_flags_argument_valid ... ok
test utils::instruction_query::instruction_query_test::find_commands_middle_not_found ... ok
test utils::instruction_query::instruction_query_test::find_commands_missing_end ... ok
test utils::instruction_query::instruction_query_test::find_commands_nested_not_allowed ... ok
test utils::instruction_query::instruction_query_test::find_commands_nested_valid ... ok
test utils::instruction_query::instruction_query_test::find_commands_simple_valid ... ok
test utils::io::io_test::create_empty_file_exists ... ok
test utils::io::io_test::create_empty_file_not_exists ... ok
test utils::io::io_test::get_dir_size ... ok
test utils::io::io_test::get_file_size_exists ... ok
test utils::io::io_test::get_file_size_not_exists ... ok
test utils::io::io_test::read_text_file_found ... ok
test utils::io::io_test::read_text_file_not_found ... ok
test utils::io::io_test::write_text_file_valid ... ok
test utils::io::io_test::write_to_text_file_exists ... ok
test utils::pckg::pckg_test::concat_both_provided ... ok
test utils::pckg::pckg_test::concat_current_provided ... ok
test utils::io::io_test::write_to_text_file_not_exists ... ok
test utils::pckg::pckg_test::concat_parent_provided ... ok
test utils::state::state_test::ensure_list_diff_type ... ok
test utils::state::state_test::ensure_list_empty ... ok
test utils::state::state_test::ensure_list_same_type ... ok
test utils::state::state_test::ensure_sub_state_diff_type ... ok
test utils::state::state_test::ensure_sub_state_empty ... ok
test utils::state::state_test::ensure_sub_state_same_type ... ok
test utils::state::state_test::get_core_sub_state_for_command_valid ... ok
test utils::state::state_test::get_core_sub_state_for_runtime_valid ... ok
test utils::state::state_test::get_list_valid ... ok
test utils::state::state_test::get_sub_state_valid ... ok
test sdk::std::net::ftp::nlst::mod_test::run_valid ... ok
test sdk::std::net::ftp::list::mod_test::run_valid ... ok
test sdk::std::net::http_client::mod_test::run_get_to_file ... ok
test sdk::std::net::http_client::mod_test::run_get ... ok
test sdk::std::net::http_client::mod_test::run_post ... ok
test result: ok. 830 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 1.35s
Doc-tests duckscript
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests duckscriptsdk
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
>>> duckscript: Entering fakeroot...
>>> duckscript*: Running postcheck for duckscript
>>> duckscript*: Preparing package duckscript...
>>> duckscript*: Stripping binaries
>>> duckscript*: Scanning shared objects
>>> duckscript*: Tracing dependencies...
so:libbz2.so.1
so:libc.musl-riscv64.so.1
so:libcrypto.so.3
so:libgcc_s.so.1
so:libssl.so.3
so:libz.so.1
>>> duckscript*: Package size: 3.0 MB
>>> duckscript*: Compressing data...
>>> duckscript*: Create checksum...
>>> duckscript*: Create duckscript-0.11.1-r0.apk
>>> duckscript: Build complete at Sat, 16 Nov 2024 16:21:29 +0000 elapsed time 0h 8m 27s
>>> duckscript: Cleaning up srcdir
>>> duckscript: Cleaning up pkgdir
>>> duckscript: Uninstalling dependencies...
(1/13) Purging .makedepends-duckscript (20241116.161306)
(2/13) Purging bzip2-dev (1.0.8-r6)
(3/13) Purging libbz2 (1.0.8-r6)
(4/13) Purging cargo-auditable (0.6.5-r0)
(5/13) Purging openssl-dev (3.3.2-r3)
(6/13) Purging zlib-dev (1.3.1-r2)
(7/13) Purging cargo (1.82.0-r1)
(8/13) Purging rust (1.82.0-r1)
(9/13) Purging llvm19-libs (19.1.2-r0)
(10/13) Purging scudo-malloc (19.1.2-r0)
(11/13) Purging libffi (3.4.6-r0)
(12/13) Purging libxml2 (2.13.4-r3)
(13/13) Purging xz-libs (5.6.3-r0)
Executing busybox-1.37.0-r7.trigger
OK: 337 MiB in 100 packages
>>> duckscript: Updating the community/riscv64 repository index...
>>> duckscript: Signing the index...