>>> fnm: Building testing/fnm 1.37.1-r1 (using abuild 3.13.0-r5) started Sun, 22 Sep 2024 23:17:11 +0000 >>> fnm: Checking sanity of /home/buildozer/aports/testing/fnm/APKBUILD... >>> fnm: Analyzing dependencies... >>> fnm: Installing for build: build-base libstdc++ cargo cargo-auditable bash procps-ng (1/12) Installing libffi (3.4.6-r0) (2/12) Installing libxml2 (2.12.8-r0) (3/12) Installing llvm18-libs (18.1.8-r0) (4/12) Installing scudo-malloc (18.1.8-r0) (5/12) Installing rust (1.81.0-r0) (6/12) Installing cargo (1.81.0-r0) (7/12) Installing cargo-auditable (0.6.4-r0) (8/12) Installing bash (5.2.32-r0) Executing bash-5.2.32-r0.post-install (9/12) Installing libintl (0.22.5-r0) (10/12) Installing libproc2 (4.0.4-r2) (11/12) Installing procps-ng (4.0.4-r2) (12/12) Installing .makedepends-fnm (20240922.231712) Executing busybox-1.36.1-r32.trigger OK: 762 MiB in 125 packages >>> fnm: Cleaning up srcdir >>> fnm: Cleaning up pkgdir >>> fnm: Cleaning up tmpdir >>> fnm: Fetching https://distfiles.alpinelinux.org/distfiles/edge/fnm-1.37.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 100 177k 100 177k 0 0 1052k 0 --:--:-- --:--:-- --:--:-- 1056k >>> fnm: Fetching https://distfiles.alpinelinux.org/distfiles/edge/fnm-1.37.1.tar.gz >>> fnm: Checking sha512sums... fnm-1.37.1.tar.gz: OK mirror.patch: OK musl.patch: OK >>> fnm: Unpacking /var/cache/distfiles/edge/fnm-1.37.1.tar.gz... >>> fnm: mirror.patch patching file src/config.rs patching file src/downloader.rs >>> fnm: musl.patch patching file src/arch.rs Compiling libc v0.2.155 Compiling proc-macro2 v1.0.84 Compiling unicode-ident v1.0.12 Compiling once_cell v1.19.0 Compiling cfg-if v1.0.0 Compiling memchr v2.7.2 Compiling pkg-config v0.3.30 Compiling version_check v0.9.4 Compiling autocfg v1.3.0 Compiling typenum v1.17.0 Compiling bytes v1.6.0 Compiling pin-project-lite v0.2.14 Compiling futures-core v0.3.30 Compiling itoa v1.0.11 Compiling serde v1.0.203 Compiling subtle v2.5.0 Compiling log v0.4.21 Compiling rustls-pki-types v1.7.0 Compiling futures-sink v0.3.30 Compiling fnv v1.0.7 Compiling crossbeam-utils v0.8.20 Compiling httparse v1.8.0 Compiling hashbrown v0.14.5 Compiling spin v0.9.8 Compiling utf8parse v0.2.1 Compiling futures-io v0.3.30 Compiling equivalent v1.0.1 Compiling untrusted v0.9.0 Compiling semver v1.0.23 Compiling pin-utils v0.1.0 Compiling futures-task v0.3.30 Compiling thiserror v1.0.61 Compiling alloc-no-stdlib v2.0.4 Compiling try-lock v0.2.5 Compiling anstyle-query v1.0.3 Compiling winnow v0.6.9 Compiling is_terminal_polyfill v1.70.0 Compiling anstyle v1.0.7 Compiling rustls v0.22.4 Compiling colorchoice v1.0.1 Compiling rustix v0.38.34 Compiling tinyvec_macros v0.1.1 Compiling rayon-core v1.12.1 Compiling linux-raw-sys v0.4.14 Compiling smallvec v1.13.2 Compiling zstd-safe v7.1.0 Compiling tower-layer v0.3.2 Compiling bitflags v2.5.0 Compiling tinyvec v1.6.0 Compiling regex-syntax v0.8.3 Compiling unicode-width v0.1.12 Compiling percent-encoding v2.3.1 Compiling tower-service v0.3.2 Compiling anstyle-parse v0.2.4 Compiling want v0.3.1 Compiling crc32fast v1.4.2 Compiling futures-channel v0.3.30 Compiling strsim v0.11.1 Compiling tracing-core v0.1.32 Compiling crc-catalog v2.4.0 Compiling ryu v1.0.18 Compiling alloc-stdlib v0.2.2 Compiling clap_lex v0.7.0 Compiling heck v0.5.0 Compiling cpufeatures v0.2.12 Compiling portable-atomic v1.6.0 Compiling base64 v0.22.1 Compiling powerfmt v0.2.0 Compiling lazy_static v1.4.0 Compiling serde_json v1.0.117 Compiling ppv-lite86 v0.2.17 Compiling form_urlencoded v1.2.1 Compiling adler v1.0.2 Compiling unicode-bidi v0.3.15 Compiling brotli-decompressor v4.0.1 Compiling crc v3.2.1 Compiling openssl-probe v0.1.5 Compiling minimal-lexical v0.2.1 Compiling lockfree-object-pool v0.1.6 Compiling anstream v0.6.14 Compiling miniz_oxide v0.7.3 Compiling time-core v0.1.2 Compiling anyhow v1.0.86 Compiling deranged v0.3.11 Compiling bumpalo v3.16.0 Compiling simd-adler32 v0.3.7 Compiling num-conv v0.1.0 Compiling zip v2.1.2 Compiling byteorder v1.5.0 Compiling generic-array v0.14.7 Compiling either v1.12.0 Compiling webpki-roots v0.26.1 Compiling encoding_rs v0.8.34 Compiling constant_time_eq v0.3.0 Compiling mime v0.3.17 Compiling deflate64 v0.1.8 Compiling sync_wrapper v0.1.2 Compiling slab v0.4.9 Compiling num-traits v0.2.19 Compiling number_prefix v0.4.0 Compiling http v1.1.0 Compiling rustls-pemfile v2.1.2 Compiling home v0.5.9 Compiling clap_builder v4.5.7 Compiling ipnet v2.9.0 Compiling zopfli v0.8.1 Compiling fastrand v2.1.0 Compiling unicode-segmentation v1.11.0 Compiling humantime v2.1.0 Compiling bytecount v0.6.8 Compiling tracing v0.1.40 Compiling aho-corasick v1.1.3 Compiling rustc_version v0.4.0 Compiling rustls-native-certs v0.7.0 Compiling lzma-rs v0.3.0 Compiling nom v7.1.3 Compiling etcetera v0.8.0 Compiling colored v2.1.0 Compiling indoc v2.0.5 Compiling indexmap v2.2.6 Compiling futures-util v0.3.30 Compiling flate2 v1.0.30 Compiling quote v1.0.36 Compiling crossbeam-epoch v0.9.18 Compiling syn v2.0.66 Compiling crossbeam-deque v0.8.5 Compiling jobserver v0.1.31 Compiling unicode-normalization v0.1.23 Compiling getrandom v0.2.15 Compiling mio v0.8.11 Compiling num_cpus v1.16.0 Compiling socket2 v0.5.7 Compiling console v0.15.8 Compiling filetime v0.2.23 Compiling http-body v1.0.0 Compiling cc v1.0.98 Compiling http-body-util v0.1.1 Compiling rand_core v0.6.4 Compiling time v0.3.36 Compiling brotli v6.0.0 Compiling rand_chacha v0.3.1 Compiling rayon v1.10.0 Compiling tokio v1.37.0 Compiling indicatif v0.17.8 Compiling idna v0.5.0 Compiling rand v0.8.5 Compiling regex-automata v0.4.6 Compiling encoding_rs_io v0.1.7 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling inout v0.1.3 Compiling digest v0.10.7 Compiling cipher v0.4.4 Compiling hmac v0.12.1 Compiling sha1 v0.10.6 Compiling aes v0.8.4 Compiling pbkdf2 v0.12.2 Compiling xattr v1.3.1 Compiling tempfile v3.10.1 Compiling url v2.5.0 Compiling tar v0.4.40 Compiling ring v0.17.8 Compiling zstd-sys v2.0.10+zstd.1.5.6 Compiling bzip2-sys v0.1.11+1.0.8 Compiling lzma-sys v0.1.20 Compiling serde_spanned v0.6.6 Compiling toml_datetime v0.6.6 Compiling toml_edit v0.22.13 Compiling bzip2 v0.4.4 Compiling sysinfo v0.30.12 Compiling regex v1.10.4 Compiling xz2 v0.1.7 Compiling env_filter v0.1.0 Compiling env_logger v0.11.3 Compiling toml v0.8.13 Compiling serde_derive v1.0.203 Compiling zeroize_derive v1.4.2 Compiling pin-project-internal v1.1.5 Compiling thiserror-impl v1.0.61 Compiling miette-derive v5.10.0 Compiling clap_derive v4.5.5 Compiling displaydoc v0.2.4 Compiling hyper v1.3.1 Compiling async-compression v0.4.10 Compiling tokio-util v0.7.11 Compiling rustls-webpki v0.102.4 Compiling embed-resource v2.4.2 Compiling zeroize v1.8.1 Compiling fnm v1.37.1 (/home/buildozer/aports/testing/fnm/src/fnm-1.37.1) Compiling pin-project v1.1.5 Compiling tower v0.4.13 Compiling miette v5.10.0 Compiling hyper-util v0.1.5 Compiling clap v4.5.7 Compiling clap_complete v4.5.5 Compiling tokio-rustls v0.25.0 Compiling hyper-rustls v0.26.0 Compiling zstd v0.13.1 Compiling serde_urlencoded v0.7.1 Compiling chrono v0.4.38 Compiling node-semver v2.1.0 Compiling reqwest v0.12.4 warning: fields `date` and `files` are never read --> src/remote_node_index.rs:65:9 | 61 | pub struct IndexedNodeVersion { | ------------------ fields in this struct ... 65 | pub date: chrono::NaiveDate, | ^^^^ 66 | pub files: Vec, | ^^^^^ | = note: `IndexedNodeVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: `fnm` (bin "fnm") generated 1 warning Finished `release` profile [optimized] target(s) in 1m 17s Compiling libc v0.2.155 Compiling once_cell v1.19.0 Compiling proc-macro2 v1.0.84 Compiling unicode-ident v1.0.12 Compiling cfg-if v1.0.0 Compiling memchr v2.7.2 Compiling pkg-config v0.3.30 Compiling typenum v1.17.0 Compiling autocfg v1.3.0 Compiling version_check v0.9.4 Compiling pin-project-lite v0.2.14 Compiling bytes v1.6.0 Compiling futures-core v0.3.30 Compiling serde v1.0.203 Compiling log v0.4.21 Compiling subtle v2.5.0 Compiling itoa v1.0.11 Compiling futures-sink v0.3.30 Compiling rustls-pki-types v1.7.0 Compiling equivalent v1.0.1 Compiling fnv v1.0.7 Compiling hashbrown v0.14.5 Compiling utf8parse v0.2.1 Compiling crossbeam-utils v0.8.20 Compiling semver v1.0.23 Compiling anstyle-query v1.0.3 Compiling untrusted v0.9.0 Compiling is_terminal_polyfill v1.70.0 Compiling pin-utils v0.1.0 Compiling futures-io v0.3.30 Compiling colorchoice v1.0.1 Compiling spin v0.9.8 Compiling futures-task v0.3.30 Compiling anstyle v1.0.7 Compiling httparse v1.8.0 Compiling winnow v0.6.9 Compiling thiserror v1.0.61 Compiling try-lock v0.2.5 Compiling rustls v0.22.4 Compiling tinyvec_macros v0.1.1 Compiling alloc-no-stdlib v2.0.4 Compiling rustix v0.38.34 Compiling regex-syntax v0.8.3 Compiling unicode-width v0.1.12 Compiling tower-layer v0.3.2 Compiling smallvec v1.13.2 Compiling percent-encoding v2.3.1 Compiling tinyvec v1.6.0 Compiling futures-channel v0.3.30 Compiling tower-service v0.3.2 Compiling linux-raw-sys v0.4.14 Compiling zstd-safe v7.1.0 Compiling bitflags v2.5.0 Compiling rayon-core v1.12.1 Compiling crc32fast v1.4.2 Compiling adler v1.0.2 Compiling anstyle-parse v0.2.4 Compiling clap_lex v0.7.0 Compiling tracing-core v0.1.32 Compiling want v0.3.1 Compiling alloc-stdlib v0.2.2 Compiling ppv-lite86 v0.2.17 Compiling base64 v0.22.1 Compiling lazy_static v1.4.0 Compiling serde_json v1.0.117 Compiling unicode-bidi v0.3.15 Compiling strsim v0.11.1 Compiling crc-catalog v2.4.0 Compiling powerfmt v0.2.0 Compiling portable-atomic v1.6.0 Compiling form_urlencoded v1.2.1 Compiling heck v0.5.0 Compiling brotli-decompressor v4.0.1 Compiling ryu v1.0.18 Compiling cpufeatures v0.2.12 Compiling crc v3.2.1 Compiling miniz_oxide v0.7.3 Compiling byteorder v1.5.0 Compiling either v1.12.0 Compiling minimal-lexical v0.2.1 Compiling anstream v0.6.14 Compiling lockfree-object-pool v0.1.6 Compiling time-core v0.1.2 Compiling humantime v2.1.0 Compiling anyhow v1.0.86 Compiling openssl-probe v0.1.5 Compiling num-conv v0.1.0 Compiling deranged v0.3.11 Compiling zip v2.1.2 Compiling bumpalo v3.16.0 Compiling simd-adler32 v0.3.7 Compiling webpki-roots v0.26.1 Compiling generic-array v0.14.7 Compiling encoding_rs v0.8.34 Compiling home v0.5.9 Compiling constant_time_eq v0.3.0 Compiling fastrand v2.1.0 Compiling mime v0.3.17 Compiling rustls-pemfile v2.1.2 Compiling slab v0.4.9 Compiling num-traits v0.2.19 Compiling deflate64 v0.1.8 Compiling bytecount v0.6.8 Compiling ipnet v2.9.0 Compiling unicode-segmentation v1.11.0 Compiling diff v0.1.13 Compiling lzma-rs v0.3.0 Compiling http v1.1.0 Compiling clap_builder v4.5.7 Compiling zopfli v0.8.1 Compiling tracing v0.1.40 Compiling rustc_version v0.4.0 Compiling yansi v0.5.1 Compiling aho-corasick v1.1.3 Compiling rustls-native-certs v0.7.0 Compiling nom v7.1.3 Compiling number_prefix v0.4.0 Compiling sync_wrapper v0.1.2 Compiling etcetera v0.8.0 Compiling pretty_assertions v1.4.0 Compiling colored v2.1.0 Compiling indoc v2.0.5 Compiling flate2 v1.0.30 Compiling indexmap v2.2.6 Compiling futures-util v0.3.30 Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.36 Compiling syn v2.0.66 Compiling crossbeam-deque v0.8.5 Compiling unicode-normalization v0.1.23 Compiling jobserver v0.1.31 Compiling getrandom v0.2.15 Compiling mio v0.8.11 Compiling socket2 v0.5.7 Compiling num_cpus v1.16.0 Compiling filetime v0.2.23 Compiling shared_child v1.0.0 Compiling os_pipe v1.1.5 Compiling console v0.15.8 Compiling time v0.3.36 Compiling brotli v6.0.0 Compiling http-body v1.0.0 Compiling duct v0.13.7 Compiling rand_core v0.6.4 Compiling http-body-util v0.1.1 Compiling cc v1.0.98 Compiling rand_chacha v0.3.1 Compiling rayon v1.10.0 Compiling idna v0.5.0 Compiling tokio v1.37.0 Compiling indicatif v0.17.8 Compiling rand v0.8.5 Compiling regex-automata v0.4.6 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling inout v0.1.3 Compiling digest v0.10.7 Compiling cipher v0.4.4 Compiling hmac v0.12.1 Compiling sha1 v0.10.6 Compiling aes v0.8.4 Compiling encoding_rs_io v0.1.7 Compiling pbkdf2 v0.12.2 Compiling url v2.5.0 Compiling xattr v1.3.1 Compiling tempfile v3.10.1 Compiling ring v0.17.8 Compiling zstd-sys v2.0.10+zstd.1.5.6 Compiling bzip2-sys v0.1.11+1.0.8 Compiling lzma-sys v0.1.20 Compiling tar v0.4.40 Compiling bzip2 v0.4.4 Compiling toml_datetime v0.6.6 Compiling serde_spanned v0.6.6 Compiling regex v1.10.4 Compiling sysinfo v0.30.12 Compiling toml_edit v0.22.13 Compiling env_filter v0.1.0 Compiling env_logger v0.11.3 Compiling xz2 v0.1.7 Compiling hyper v1.3.1 Compiling async-compression v0.4.10 Compiling tokio-util v0.7.11 Compiling rustls-webpki v0.102.4 Compiling toml v0.8.13 Compiling embed-resource v2.4.2 Compiling serde_derive v1.0.203 Compiling zeroize_derive v1.4.2 Compiling pin-project-internal v1.1.5 Compiling thiserror-impl v1.0.61 Compiling clap_derive v4.5.5 Compiling miette-derive v5.10.0 Compiling displaydoc v0.2.4 Compiling test-log-macros v0.2.16 Compiling fnm v1.37.1 (/home/buildozer/aports/testing/fnm/src/fnm-1.37.1) Compiling test-log v0.2.16 Compiling zeroize v1.8.1 Compiling pin-project v1.1.5 Compiling tower v0.4.13 Compiling miette v5.10.0 Compiling hyper-util v0.1.5 Compiling clap v4.5.7 Compiling clap_complete v4.5.5 Compiling tokio-rustls v0.25.0 Compiling hyper-rustls v0.26.0 Compiling zstd v0.13.1 Compiling serde_urlencoded v0.7.1 Compiling node-semver v2.1.0 Compiling chrono v0.4.38 Compiling reqwest v0.12.4 warning: fields `date` and `files` are never read --> src/remote_node_index.rs:65:9 | 61 | pub struct IndexedNodeVersion { | ------------------ fields in this struct ... 65 | pub date: chrono::NaiveDate, | ^^^^ 66 | pub files: Vec, | ^^^^^ | = note: `IndexedNodeVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: `fnm` (bin "fnm" test) generated 1 warning Finished `test` profile [unoptimized + debuginfo] target(s) in 29.27s Running unittests src/main.rs (target/debug/deps/fnm-4b931b4d5a78b4ec) running 27 tests Installing Node v12.0.0 (x64-musl) test log_level::tests::test_is_writable ... ok test remote_node_index::lts_status::tests::test_false_deserialization ... ok test remote_node_index::lts_status::tests::test_value_deserialization ... ok test directory_portal::tests::test_portal ... ok test user_version::tests::test_parsing_major_minor ... ok test user_version::tests::test_parsing_only_major ... ok test user_version::tests::test_parsing_only_major_with_v ... ok test commands::env::tests::test_smoke ... ok test user_version::tests::test_major_minor_to_version ... ok test user_version::tests::test_major_to_version ... ok test user_version_reader::tests::test_a_version_number ... ok test user_version_reader::tests::test_direct_to_version ... ok test user_version_reader::tests::test_non_existing_path ... ok test user_version_reader::tests::test_from_str_directory ... ok test user_version_reader::tests::test_from_str_file ... ok test user_version::tests::test_semver_to_version ... ok test user_version_reader::tests::test_directory_pathbuf_to_version ... ok test user_version_reader::tests::test_file_pathbuf_to_version ... ok test progress::tests::test_reads_data_and_shows_progress ... ok test shell::infer::unix::tests::test_get_process_info ... ok _fnm() { local i cur prev opts cmd COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" cmd="" opts="" for i in ${COMP_WORDS[@]} do case "${cmd},${i}" in ",$1") cmd="fnm" ;; fnm,alias) cmd="fnm__alias" ;; fnm,completions) cmd="fnm__completions" ;; fnm,current) cmd="fnm__current" ;; fnm,default) cmd="fnm__default" ;; fnm,env) cmd="fnm__env" ;; fnm,exec) cmd="fnm__exec" ;; fnm,help) cmd="fnm__help" ;; fnm,install) cmd="fnm__install" ;; fnm,list) cmd="fnm__list" ;; fnm,list-remote) cmd="fnm__list__remote" ;; fnm,ls) cmd="fnm__list" ;; fnm,ls-remote) cmd="fnm__list__remote" ;; fnm,unalias) cmd="fnm__unalias" ;; fnm,uninstall) cmd="fnm__uninstall" ;; fnm,use) cmd="fnm__use" ;; fnm__help,alias) cmd="fnm__help__alias" ;; fnm__help,completions) cmd="fnm__help__completions" ;; fnm__help,current) cmd="fnm__help__current" ;; fnm__help,default) cmd="fnm__help__default" ;; fnm__help,env) cmd="fnm__help__env" ;; fnm__help,exec) cmd="fnm__help__exec" ;; fnm__help,help) cmd="fnm__help__help" ;; fnm__help,install) cmd="fnm__help__install" ;; fnm__help,list) cmd="fnm__help__list" ;; fnm__help,list-remote) cmd="fnm__help__list__remote" ;; fnm__help,unalias) cmd="fnm__help__unalias" ;; fnm__help,uninstall) cmd="fnm__help__uninstall" ;; fnm__help,use) cmd="fnm__help__use" ;; *) ;; esac done case "${cmd}" in fnm) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; alias) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; completions) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; current) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; default) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; env) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; exec) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help) opts="list-remote list install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__alias) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__completions) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__current) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__default) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__env) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__exec) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__help) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__install) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__list) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__list__remote) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__unalias) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__uninstall) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; fnm__help__use) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; install) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; list) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; list) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; list__remote) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; list__remote) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; unalias) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; uninstall) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; use) opts="-h -V --node-dist-mirror --fnm-dir --multishell-path --log-level --arch --version-file-strategy --corepack-enabled --resolve-engines --help --version list-remote ls-remote list ls install use env completions alias unalias default current exec uninstall help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --node-dist-mirror) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --fnm-dir) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --multishell-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --log-level) COMPREPLY=($(compgen -W "quiet error info" -- "${cur}")) return 0 ;; --arch) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --version-file-strategy) COMPREPLY=($(compgen -W "local recursive" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; esac } if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then complete -F _fnm -o nosort -o bashdefault -o default fnm else complete -F _fnm -o bashdefault -o default fnm fi test commands::completions::tests::test_smoke ... ok test remote_node_index::tests::test_list ... ok Installing Node v22.9.0 (x64-musl) test downloader::tests::test_installing_node_12 ... ok test downloader::tests::test_installing_npm ... ok test commands::install::tests::test_set_default_on_new_installation ... ok test archive::zip::tests::test_zip_extraction ... ok test commands::install::tests::test_install_latest ... ok test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.09s >>> fnm: Entering fakeroot... >>> fnm-bash-completion*: Running split function bashcomp... '/home/buildozer/aports/testing/fnm/pkg/fnm/usr/share/bash-completion/completions' -> '/home/buildozer/aports/testing/fnm/pkg/fnm-bash-completion/usr/share/bash-completion/completions' >>> fnm-bash-completion*: Preparing subpackage fnm-bash-completion... >>> fnm-bash-completion*: Running postcheck for fnm-bash-completion >>> fnm-fish-completion*: Running split function fishcomp... '/home/buildozer/aports/testing/fnm/pkg/fnm/usr/share/fish/vendor_completions.d' -> '/home/buildozer/aports/testing/fnm/pkg/fnm-fish-completion/usr/share/fish/vendor_completions.d' >>> fnm-fish-completion*: Preparing subpackage fnm-fish-completion... >>> fnm-fish-completion*: Running postcheck for fnm-fish-completion >>> fnm-zsh-completion*: Running split function zshcomp... '/home/buildozer/aports/testing/fnm/pkg/fnm/usr/share/zsh/site-functions' -> '/home/buildozer/aports/testing/fnm/pkg/fnm-zsh-completion/usr/share/zsh/site-functions' >>> fnm-zsh-completion*: Preparing subpackage fnm-zsh-completion... >>> fnm-zsh-completion*: Running postcheck for fnm-zsh-completion >>> fnm*: Running postcheck for fnm >>> fnm*: Preparing package fnm... >>> fnm*: Stripping binaries >>> fnm*: Script found. /bin/sh added as a dependency for fnm-1.37.1-r1.apk >>> fnm*: Adding .post-install >>> fnm-bash-completion*: Scanning shared objects >>> fnm-fish-completion*: Scanning shared objects >>> fnm-zsh-completion*: Scanning shared objects >>> fnm*: Scanning shared objects >>> fnm-bash-completion*: Tracing dependencies... >>> fnm-bash-completion*: Package size: 52.0 KB >>> fnm-bash-completion*: Compressing data... >>> fnm-bash-completion*: Create checksum... >>> fnm-bash-completion*: Create fnm-bash-completion-1.37.1-r1.apk >>> fnm-fish-completion*: Tracing dependencies... >>> fnm-fish-completion*: Package size: 60.0 KB >>> fnm-fish-completion*: Compressing data... >>> fnm-fish-completion*: Create checksum... >>> fnm-fish-completion*: Create fnm-fish-completion-1.37.1-r1.apk >>> fnm-zsh-completion*: Tracing dependencies... >>> fnm-zsh-completion*: Package size: 52.0 KB >>> fnm-zsh-completion*: Compressing data... >>> fnm-zsh-completion*: Create checksum... >>> fnm-zsh-completion*: Create fnm-zsh-completion-1.37.1-r1.apk >>> fnm*: Tracing dependencies... libstdc++ /bin/sh so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 >>> fnm*: Package size: 3.5 MB >>> fnm*: Compressing data... >>> fnm*: Create checksum... >>> fnm*: Create fnm-1.37.1-r1.apk >>> fnm: Build complete at Sun, 22 Sep 2024 23:19:08 +0000 elapsed time 0h 1m 57s >>> fnm: Cleaning up srcdir >>> fnm: Cleaning up pkgdir >>> fnm: Uninstalling dependencies... (1/12) Purging .makedepends-fnm (20240922.231712) (2/12) Purging cargo-auditable (0.6.4-r0) (3/12) Purging bash (5.2.32-r0) Executing bash-5.2.32-r0.pre-deinstall (4/12) Purging procps-ng (4.0.4-r2) (5/12) Purging cargo (1.81.0-r0) (6/12) Purging rust (1.81.0-r0) (7/12) Purging libintl (0.22.5-r0) (8/12) Purging libproc2 (4.0.4-r2) (9/12) Purging llvm18-libs (18.1.8-r0) (10/12) Purging scudo-malloc (18.1.8-r0) (11/12) Purging libffi (3.4.6-r0) (12/12) Purging libxml2 (2.12.8-r0) Executing busybox-1.36.1-r32.trigger OK: 410 MiB in 113 packages >>> fnm: Updating the testing/x86_64 repository index... >>> fnm: Signing the index...