>>> ion-shell: Building community/ion-shell 1.0.5_git20210109-r0 (using abuild 3.9.0_rc2-r1) started Thu, 21 Oct 2021 19:56:00 +0000 >>> ion-shell: Checking sanity of /home/buildozer/aports/community/ion-shell/APKBUILD... >>> ion-shell: Analyzing dependencies... >>> ion-shell: Installing for build: build-base cargo (1/11) Installing rust-stdlib (1.55.0-r2) (2/11) Installing libffi (3.4.2-r1) (3/11) Installing libxml2 (2.9.12-r1) (4/11) Installing llvm12-libs (12.0.1-r0) (5/11) Installing http-parser (2.9.4-r0) (6/11) Installing pcre (8.45-r1) (7/11) Installing libssh2 (1.10.0-r2) (8/11) Installing libgit2 (1.1.1-r2) (9/11) Installing rust (1.55.0-r2) (10/11) Installing cargo (1.55.0-r2) (11/11) Installing .makedepends-ion-shell (20211021.195604) Executing busybox-1.34.1-r1.trigger OK: 1076 MiB in 106 packages >>> ion-shell: Cleaning up srcdir >>> ion-shell: Cleaning up pkgdir >>> ion-shell: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/ion-shell-c2bf1a3fc562d577a3f39eb203abe8a024dd3478.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 curl: (22) The requested URL returned error: 404 >>> ion-shell: Fetching ion-shell-c2bf1a3fc562d577a3f39eb203abe8a024dd3478.tar.gz::https://gitlab.redox-os.org/redox-os/ion/-/archive/c2bf1a3fc562d577a3f39eb203abe8a024dd3478.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 15662 0 15662 0 0 19973 0 --:--:-- --:--:-- --:--:-- 19977 100 539k 0 539k 0 0 382k 0 --:--:-- 0:00:01 --:--:-- 383k >>> ion-shell: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/ion-shell-c2bf1a3fc562d577a3f39eb203abe8a024dd3478.tar.gz >>> ion-shell: Checking sha512sums... ion-shell-c2bf1a3fc562d577a3f39eb203abe8a024dd3478.tar.gz: OK >>> ion-shell: Unpacking /var/cache/distfiles/v3.15/ion-shell-c2bf1a3fc562d577a3f39eb203abe8a024dd3478.tar.gz... Updating git repository `https://gitlab.redox-os.org/redox-os/liner` Updating git repository `https://gitlab.redox-os.org/redox-os/termion` Updating git repository `https://gitlab.redox-os.org/redox-os/calc` Updating git repository `https://github.com/AdminXVII/nix` Updating git repository `https://gitlab.redox-os.org/redox-os/small` Updating git repository `https://github.com/alkis/decimal.git` Downloading crates ... Downloaded either v1.6.0 Downloaded utf8parse v0.1.1 Downloaded bytecount v0.6.0 Downloaded thiserror-impl v1.0.23 Downloaded regex v1.3.9 Downloaded derive_utils v0.10.0 Downloaded auto_enums_core v0.7.5 Downloaded auto_enums v0.7.5 Downloaded num-complex v0.3.0 Downloaded num-bigint v0.3.0 Downloaded num-integer v0.1.43 Downloaded thiserror v1.0.23 Downloaded auto_enums_derive v0.7.5 Downloaded lexical v5.2.0 Downloaded itertools v0.8.2 Downloaded arrayvec v0.5.1 Downloaded aho-corasick v0.7.13 Downloaded users v0.10.0 Downloaded num v0.3.0 Downloaded num-traits v0.2.12 Downloaded uuid v0.7.4 Downloaded num-iter v0.1.41 Downloaded mktemp v0.4.0 Downloaded strip-ansi-escapes v0.1.0 Downloaded cc v1.0.59 Downloaded serde v1.0.115 Downloaded num-rational v0.3.0 Downloaded permutate v0.3.2 Downloaded lexical-core v0.7.4 Downloaded vte v0.3.3 Downloaded syn v1.0.59 Downloaded regex-syntax v0.6.18 Downloaded object-pool v0.5.3 Compiling libc v0.2.77 Compiling autocfg v1.0.1 Compiling cfg-if v0.1.10 Compiling proc-macro2 v1.0.24 Compiling unicode-xid v0.2.1 Compiling syn v1.0.59 Compiling rand_core v0.4.2 Compiling autocfg v0.1.7 Compiling bitflags v1.2.1 Compiling getrandom v0.1.15 Compiling ryu v1.0.5 Compiling either v1.6.0 Compiling cc v1.0.59 Compiling serde v1.0.115 Compiling strsim v0.9.3 Compiling memchr v2.3.3 Compiling unicode-width v0.1.8 Compiling utf8parse v0.1.1 Compiling fnv v1.0.7 Compiling ident_case v1.0.1 Compiling lexical-core v0.7.4 Compiling log v0.4.11 Compiling arrayvec v0.5.1 Compiling auto_enums_derive v0.7.5 Compiling smallvec v1.4.2 Compiling ppv-lite86 v0.2.9 Compiling scopeguard v1.1.0 Compiling numtoa v0.1.0 Compiling static_assertions v1.1.0 Compiling bytecount v0.6.0 Compiling lazy_static v1.4.0 Compiling nix v0.16.1 (https://github.com/AdminXVII/nix?branch=add-redox-support-bis#64b3ea0f) Compiling ansi_term v0.11.0 Compiling vec_map v0.8.2 Compiling strsim v0.8.0 Compiling void v1.0.2 Compiling regex-syntax v0.6.18 Compiling ion-shell v1.0.0-alpha (/home/buildozer/aports/community/ion-shell/src/ion-c2bf1a3fc562d577a3f39eb203abe8a024dd3478) Compiling xdg v2.2.0 Compiling scopes v0.1.0 (/home/buildozer/aports/community/ion-shell/src/ion-c2bf1a3fc562d577a3f39eb203abe8a024dd3478/members/scopes-rs) Compiling permutate v0.3.2 Compiling unicode-segmentation v1.6.0 Compiling ion-ranges v0.1.0 (/home/buildozer/aports/community/ion-shell/src/ion-c2bf1a3fc562d577a3f39eb203abe8a024dd3478/members/ranges) Compiling glob v0.3.0 Compiling lock_api v0.3.4 Compiling vte v0.3.3 Compiling textwrap v0.11.0 Compiling itertools v0.8.2 Compiling itertools v0.9.0 Compiling thread_local v1.0.1 Compiling rand_core v0.3.1 Compiling rand_jitter v0.1.4 Compiling rand_hc v0.1.0 Compiling rand_isaac v0.1.1 Compiling rand_xorshift v0.1.1 Compiling strip-ansi-escapes v0.1.0 Compiling rand_pcg v0.1.2 Compiling rand_chacha v0.1.1 Compiling rand v0.6.5 Compiling aho-corasick v0.7.13 Compiling num-traits v0.2.12 Compiling num-integer v0.1.43 Compiling num-bigint v0.3.0 Compiling num-iter v0.1.41 Compiling num-rational v0.3.0 Compiling quote v1.0.7 Compiling decimal v2.0.4 (https://github.com/alkis/decimal.git#972c8547) Compiling regex v1.3.9 error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:22 | 62 | let bytes = bits / Limb::BITS; | ^ no implementation for `usize / u32` | = help: the trait `Div` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:55 | 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: no implementation for `usize & u32` --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:53 | 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); | ^ no implementation for `usize & u32` | = help: the trait `BitAnd` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:175:40 | 175 | let (q, r) = shift.ceil_divmod(Limb::BITS); | ^^^^^^^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 175 | let (q, r) = shift.ceil_divmod(Limb::BITS.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1043:42 | 1043 | let mut count = index.saturating_mul(Limb::BITS); | ^^^^^^^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1043 | let mut count = index.saturating_mul(Limb::BITS.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:28 | 1058 | Limb::BITS.checked_mul(x.len()) | ^^^^^^^ expected `u32`, found `usize` | help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit | 1058 | Limb::BITS.checked_mul(x.len().try_into().unwrap()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:22 | 1059 | .map(|v| v - nlz) | ^^^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:20 | 1059 | .map(|v| v - nlz) | ^ no implementation for `u32 - usize` | = help: the trait `Sub` is not implemented for `u32` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1060:20 | 1060 | .unwrap_or(usize::max_value()) | ^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` | help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit | 1060 | .unwrap_or(usize::max_value().try_into().unwrap()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:5 | 1054 | pub fn bit_length(x: &[Limb]) -> usize { | ----- expected `usize` because of return type ... 1058 | / Limb::BITS.checked_mul(x.len()) 1059 | | .map(|v| v - nlz) 1060 | | .unwrap_or(usize::max_value()) | |______________________________________^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1058 | Limb::BITS.checked_mul(x.len()) 1059 | .map(|v| v - nlz) 1060 | .unwrap_or(usize::max_value()).try_into().unwrap() | error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1085:23 | 1085 | debug_assert!(n < bits && n != 0); | ^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1085 | debug_assert!(n < bits.try_into().unwrap() && n != 0); | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:25 | 1092 | let lshift = bits - n; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:23 | 1092 | let lshift = bits - n; | ^ no implementation for `u32 - usize` | = help: the trait `Sub` is not implemented for `u32` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:19 | 1134 | let rem = n % bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot mod `usize` by `u32` --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:17 | 1134 | let rem = n % bits; | ^ no implementation for `usize % u32` | = help: the trait `Rem` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:19 | 1135 | let div = n / bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:17 | 1135 | let div = n / bits; | ^ no implementation for `usize / u32` | = help: the trait `Div` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1191:23 | 1191 | debug_assert!(n < bits); | ^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1191 | debug_assert!(n < bits.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:25 | 1201 | let rshift = bits - n; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:23 | 1201 | let rshift = bits - n; | ^ no implementation for `u32 - usize` | = help: the trait `Sub` is not implemented for `u32` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:19 | 1253 | let rem = n % bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot mod `usize` by `u32` --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:17 | 1253 | let rem = n % bits; | ^ no implementation for `usize % u32` | = help: the trait `Rem` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:19 | 1254 | let div = n / bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:17 | 1254 | let div = n / bits; | ^ no implementation for `usize / u32` | = help: the trait `Div` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:27 | 2065 | let rs = Limb::BITS - s; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /home/buildozer/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:25 | 2065 | let rs = Limb::BITS - s; | ^ no implementation for `u32 - usize` | = help: the trait `Sub` is not implemented for `u32` Some errors have detailed explanations: E0277, E0308. For more information about an error, try `rustc --explain E0277`. error: could not compile `lexical-core` due to 27 previous errors warning: build failed, waiting for other jobs to finish... error: build failed >>> ERROR: ion-shell: build failed >>> ion-shell: Uninstalling dependencies... (1/11) Purging .makedepends-ion-shell (20211021.195604) (2/11) Purging cargo (1.55.0-r2) (3/11) Purging rust (1.55.0-r2) (4/11) Purging rust-stdlib (1.55.0-r2) (5/11) Purging llvm12-libs (12.0.1-r0) (6/11) Purging libffi (3.4.2-r1) (7/11) Purging libxml2 (2.9.12-r1) (8/11) Purging libgit2 (1.1.1-r2) (9/11) Purging http-parser (2.9.4-r0) (10/11) Purging pcre (8.45-r1) (11/11) Purging libssh2 (1.10.0-r2) Executing busybox-1.34.1-r1.trigger OK: 344 MiB in 95 packages